opengles emulator: do not publish support for setUpdateRect
our framebuffer implementation in gralloc does not support setUpdateRect but we erronously publish as we do. Reset the setUpdateRect so that flinger will not try to use it. Change-Id: I2e4f2ef7e5701aed69caa194426945bafd5ac4c9
This commit is contained in:
@@ -682,7 +682,7 @@ static int gralloc_device_open(const hw_module_t* module,
|
|||||||
dev->device.common.close = fb_close;
|
dev->device.common.close = fb_close;
|
||||||
dev->device.setSwapInterval = fb_setSwapInterval;
|
dev->device.setSwapInterval = fb_setSwapInterval;
|
||||||
dev->device.post = fb_post;
|
dev->device.post = fb_post;
|
||||||
dev->device.setUpdateRect = fb_setUpdateRect;
|
dev->device.setUpdateRect = 0; //fb_setUpdateRect;
|
||||||
dev->device.compositionComplete = fb_compositionComplete; //XXX: this is a dummy
|
dev->device.compositionComplete = fb_compositionComplete; //XXX: this is a dummy
|
||||||
|
|
||||||
const_cast<uint32_t&>(dev->device.flags) = 0;
|
const_cast<uint32_t&>(dev->device.flags) = 0;
|
||||||
|
|||||||
Reference in New Issue
Block a user