summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-10-06 17:59:43 -0700
committerMathias Agopian <mathias@google.com>2009-10-06 17:59:43 -0700
commitc131c5671965b69b0dee3e4afa3b3dd5e3c0c405 (patch)
treedc600befbe6c77a53b7be2337f6e7d85b4cf1a47 /libs/surfaceflinger
parent9d6a685ba939f413a8d3e1e97627593aa1cdf6cb (diff)
downloadframeworks_base-c131c5671965b69b0dee3e4afa3b3dd5e3c0c405.zip
frameworks_base-c131c5671965b69b0dee3e4afa3b3dd5e3c0c405.tar.gz
frameworks_base-c131c5671965b69b0dee3e4afa3b3dd5e3c0c405.tar.bz2
temporarily disable the use of glTexImage2D for sw buffers on sholes.
we're going to first cut a build without this change. Approved by Dr. Hiroshi.
Diffstat (limited to 'libs/surfaceflinger')
-rw-r--r--libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
index f84933e..392a3ed 100644
--- a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
+++ b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
@@ -246,10 +246,10 @@ void DisplayHardware::init(uint32_t dpy)
LOGI("version : %s", glGetString(GL_VERSION));
LOGI("extensions: %s", gl_extensions);
- if (strstr(gl_renderer, "PowerVR SGX 530")) {
- LOGD("Assuming uncached graphics buffers.");
- mFlags &= ~CACHED_BUFFERS;
- }
+ //if (strstr(gl_renderer, "PowerVR SGX 530")) {
+ // LOGD("Assuming uncached graphics buffers.");
+ // mFlags &= ~CACHED_BUFFERS;
+ //}
if (strstr(gl_extensions, "GL_ARB_texture_non_power_of_two")) {
mFlags |= NPOT_EXTENSION;
}