summaryrefslogtreecommitdiffstats
path: root/libs/surfaceflinger
diff options
context:
space:
mode:
authorMathias Agopian <mathias@google.com>2009-11-13 18:54:14 -0800
committerMathias Agopian <mathias@google.com>2009-11-13 18:54:14 -0800
commit830df4b16971527b07a829cf80a0c9e07a89b89a (patch)
tree895d0c7a9734a5da6da54e8882e5c3462192c229 /libs/surfaceflinger
parent91e40e7838d183cb2a9e750edf0a6572f21da21d (diff)
downloadframeworks_base-830df4b16971527b07a829cf80a0c9e07a89b89a.zip
frameworks_base-830df4b16971527b07a829cf80a0c9e07a89b89a.tar.gz
frameworks_base-830df4b16971527b07a829cf80a0c9e07a89b89a.tar.bz2
addresses several bugs: 2206097, 2166583, 2261119, 2216759
2206097: Broken suggestions while composing message 2166583: Color artifacts with MDP dithering 2261119: Passion transition animations are rough 2216759: Screen flicker when dropdown list in background window shows or hides This is part of enabling GPU composition instead of using the MDP. This change is dependent on another change in the vendor project. Specifically this change disables the use of EGLImageKHR for s/w buffers for cache coherency reasons. memcpy is used instead.
Diffstat (limited to 'libs/surfaceflinger')
-rw-r--r--libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
index 1abfd68..79c003f 100644
--- a/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
+++ b/libs/surfaceflinger/DisplayHardware/DisplayHardware.cpp
@@ -246,10 +246,12 @@ void DisplayHardware::init(uint32_t dpy)
LOGI("version : %s", glGetString(GL_VERSION));
LOGI("extensions: %s", gl_extensions);
- if (strstr(gl_renderer, "PowerVR SGX 530")) {
+ if (strstr(gl_renderer, "PowerVR SGX 530") ||
+ strstr(gl_renderer, "Adreno")) {
LOGD("Assuming uncached graphics buffers.");
mFlags &= ~CACHED_BUFFERS;
}
+
if (strstr(gl_extensions, "GL_ARB_texture_non_power_of_two")) {
mFlags |= NPOT_EXTENSION;
}