summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger
diff options
context:
space:
mode:
authorErik Gilling <konkers@android.com>2009-12-03 14:08:19 -0800
committerErik Gilling <konkers@android.com>2009-12-03 14:09:31 -0800
commit00d0b54af1a6405366a659b34f0022dedf054ddf (patch)
treecd53e14a0a9770aa035ad0ffec6792908f3c7936 /libs/surfaceflinger
parent0a42b811aea490a9a605b75f0320101f6eafd283 (diff)
downloadframeworks_base-00d0b54af1a6405366a659b34f0022dedf054ddf.zip
frameworks_base-00d0b54af1a6405366a659b34f0022dedf054ddf.tar.gz
frameworks_base-00d0b54af1a6405366a659b34f0022dedf054ddf.tar.bz2
surfaceflinger: remove un-cached buffer hack for SGX
Signed-off-by: Erik Gilling <konkers@android.com>
Diffstat (limited to 'libs/surfaceflinger')
-rw-r--r--libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp3
1 files changed, 1 insertions, 2 deletions
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;
}