diff options
author | Jack Palevich <jackpal@google.com> | 2012-04-16 12:25:36 -0700 |
---|---|---|
committer | Jack Palevich <jackpal@google.com> | 2012-04-16 12:25:36 -0700 |
commit | cee059dc764a57860da6b1574952089680b5ddc6 (patch) | |
tree | 3ab06ffe788422219fbe225af7c70c66a3692d63 /obex | |
parent | 6e0ac89f3896369363698801e75671b3478e8d4f (diff) | |
download | frameworks_base-cee059dc764a57860da6b1574952089680b5ddc6.zip frameworks_base-cee059dc764a57860da6b1574952089680b5ddc6.tar.gz frameworks_base-cee059dc764a57860da6b1574952089680b5ddc6.tar.bz2 |
Improve GLSurfaceView Pausing.
When pausing we want to do three separate things, in order:
+ release the EGL surface
+ optionally release the EGL context
+ optionally terminate Egl
Previously we would only do these things if we had an EGL surface. But
it is possible that we don't have an EGL Surface, but still have an EGL
context. And in that situation we still want to release the EGL context.
Now we check the preconditions for the three cases separately.
Bug: 6338235
Change-Id: I804683b3d5c136cc98ea3f5051067eea18152ddf
Diffstat (limited to 'obex')
0 files changed, 0 insertions, 0 deletions