From 1bd48776eb41e1e9810a1a1915028cc4c9ce4882 Mon Sep 17 00:00:00 2001 From: Erik Gilling Date: Thu, 3 Dec 2009 14:08:19 -0800 Subject: [PATCH] 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(-) diff --git a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp index 79c003f6d..d9d9bfee7 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; }