From 22bb339abb6c25f139d24801d4329e62f24aa2e2 Mon Sep 17 00:00:00 2001 From: Guy Zadickario Date: Mon, 15 Aug 2011 14:57:20 +0300 Subject: [PATCH] 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 --- tools/emulator/opengl/system/gralloc/gralloc.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/emulator/opengl/system/gralloc/gralloc.cpp b/tools/emulator/opengl/system/gralloc/gralloc.cpp index 8362596f4..93fe6ac86 100644 --- a/tools/emulator/opengl/system/gralloc/gralloc.cpp +++ b/tools/emulator/opengl/system/gralloc/gralloc.cpp @@ -682,7 +682,7 @@ static int gralloc_device_open(const hw_module_t* module, dev->device.common.close = fb_close; dev->device.setSwapInterval = fb_setSwapInterval; 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 const_cast(dev->device.flags) = 0;