From 00d0b54af1a6405366a659b34f0022dedf054ddf Mon Sep 17 00:00:00 2001 From: Erik Gilling Date: Thu, 3 Dec 2009 14:08:19 -0800 Subject: surfaceflinger: remove un-cached buffer hack for SGX Signed-off-by: Erik Gilling --- libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libs/surfaceflinger') diff --git a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp index 79c003f..d9d9bfe 100644 --- a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp +++ b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp @@ -246,8 +246,7 @@ void DisplayHardware::init(uint32_t dpy) LOGI("version : %s", glGetString(GL_VERSION)); LOGI("extensions: %s", gl_extensions); - if (strstr(gl_renderer, "PowerVR SGX 530") || - strstr(gl_renderer, "Adreno")) { + if (strstr(gl_renderer, "Adreno")) { LOGD("Assuming uncached graphics buffers."); mFlags &= ~CACHED_BUFFERS; } -- cgit v1.1