diff options
author | Jack Palevich <jackpal@google.com> | 2010-07-13 19:09:37 -0700 |
---|---|---|
committer | Jack Palevich <jackpal@google.com> | 2010-07-13 19:09:37 -0700 |
commit | 1b4ecc63c4eceb7c125d4e749fd5f747d99d6ec6 (patch) | |
tree | 19f69c9eabca7460fb55801da2b106c6d8036f7d /CleanSpec.mk | |
parent | 70c6c9a1e2240e82d8eb442b34efa9629ef2bba4 (diff) | |
download | frameworks_base-1b4ecc63c4eceb7c125d4e749fd5f747d99d6ec6.zip frameworks_base-1b4ecc63c4eceb7c125d4e749fd5f747d99d6ec6.tar.gz frameworks_base-1b4ecc63c4eceb7c125d4e749fd5f747d99d6ec6.tar.bz2 |
Fix deadlock when switching between two GLSurfaceViews
Some devices only support a single active EGL context.
On those devices, when a second activity that uses a GLSurfaceView
is started in the same process, the second activity can potentially
hang in GLSurfaceView.onWindowResize waiting for its GLSurfaceView
render thread to draw a frame. The second activity's render thread
is waiting to acquire an EGL context, but the first activity's render
thread doesn't know it should release the EGL context.
The fix is to detect the potential hang, and ask the first activity's
render thread to release the EGL context.
Change-Id: Ibb342c68772297744c973bcf5010581cd132db67
Diffstat (limited to 'CleanSpec.mk')
0 files changed, 0 insertions, 0 deletions