diff options
author | Mathias Agopian <mathias@google.com> | 2009-10-06 22:23:23 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2009-10-06 22:23:23 -0700 |
commit | 460b60c9b064ef02e9eaf56ecf2f266fd7c4089c (patch) | |
tree | be7f73c6d0b1d0f22cfb171bff02c153ad5a14cd /libs/surfaceflinger | |
parent | 773fd13130948397cac5178e16d17975a06a738b (diff) | |
download | frameworks_base-460b60c9b064ef02e9eaf56ecf2f266fd7c4089c.zip frameworks_base-460b60c9b064ef02e9eaf56ecf2f266fd7c4089c.tar.gz frameworks_base-460b60c9b064ef02e9eaf56ecf2f266fd7c4089c.tar.bz2 |
Revert "temporarily disable the use of glTexImage2D for sw buffers on sholes."
This reverts commit c131c5671965b69b0dee3e4afa3b3dd5e3c0c405.
Approved by Hiroshi
Diffstat (limited to 'libs/surfaceflinger')
-rw-r--r-- | libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp index 392a3ed..f84933e 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; } |