am e52d5ffb: am 2504fba7: am 460b60c9: Revert "temporarily disable the use of glTexImage2D for sw buffers on sholes."

Merge commit 'e52d5ffb43f6cd6c2e37c4e636e39162464cfcf5'

* commit 'e52d5ffb43f6cd6c2e37c4e636e39162464cfcf5':
  Revert "temporarily disable the use of glTexImage2D for sw buffers on sholes."
This commit is contained in:
Mathias Agopian
2009-10-12 12:28:02 -07:00
committed by Android Git Automerger

View File

@@ -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;
}