summaryrefslogtreecommitdiff
path: root/opengl/tests/gl_basic/gl_basic.cpp
diff options
context:
space:
mode:
authorAndy McFadden <fadden@android.com>2012-10-02 19:04:45 -0700
committerThe Android Automerger <android-build@android.com>2012-10-04 14:42:03 -0700
commiteb1caaea6970d2cf870d26cadb40871f6b9784ab (patch)
tree50e484067f099f8803beb531655ed4479cdcaba1 /opengl/tests/gl_basic/gl_basic.cpp
parent5031729a37b510959244e076bb1c4b06e1095f74 (diff)
Fix crashes after HDMI disconnect
The display was being removed from SurfaceFlinger's list before we had a chance to reset HWComposer's layer list, so we were passing stale data into the hardware composer (which has its own per-display data). This resulted in "invalid gralloc handle" complaints. We now clear the layer list immediately after removing the display. The display was being removed while its EGLSurface was still "current", resulting in "cancelBuffer: BufferQueue has been abandoned" complaints. We now call makeCurrent on the primary display before removing the external display. Bug 7274254 Change-Id: Ia59e3a61d7ec46488b96bf93ec5e4ed3488b70e4
Diffstat (limited to 'opengl/tests/gl_basic/gl_basic.cpp')
0 files changed, 0 insertions, 0 deletions