summaryrefslogtreecommitdiffstats
path: root/opengl/java/javax
diff options
context:
space:
mode:
authorJack Palevich <jackpal@google.com>2010-03-06 10:39:27 -0800
committerJack Palevich <jackpal@google.com>2010-03-06 10:39:27 -0800
commit4a2221ec4a929976be570ad096252c8dea326e19 (patch)
treef26fca340770c2784f7f08c59316c7ee951af791 /opengl/java/javax
parent931bf89d327ecf07301231fd86b17deac535feaa (diff)
downloadframeworks_base-4a2221ec4a929976be570ad096252c8dea326e19.zip
frameworks_base-4a2221ec4a929976be570ad096252c8dea326e19.tar.gz
frameworks_base-4a2221ec4a929976be570ad096252c8dea326e19.tar.bz2
Fix inverted release-EGLContext-on-pause logic.
This works around a bug in the "Q3Dimension MSM7500" driver. That driver only supports a single active EGLContext, so we must release and restore the EGLContext when pausing and unpausing. Unfortunately the test for deciding whether to release the context was inverted. We were releasing the context on every device besides the MSM7500 devices, which was a performance drain, and we were not releasing the context on the MSM7500, which meant the underlying driver bug was not worked around. Now we release the EGL context when pausing only on the devices that have the bug.
Diffstat (limited to 'opengl/java/javax')
0 files changed, 0 insertions, 0 deletions