diff options
| author | 2012-05-16 23:44:34 -0700 | |
|---|---|---|
| committer | 2012-05-17 11:25:21 -0700 | |
| commit | 90ed8508ed89b4fdb5c21d621b29369d31dcb958 (patch) | |
| tree | f76f8b27b48b3bdd21c7fc68b130b8db32c7719b /libs/gui/ConsumerBase.cpp | |
| parent | e804aa4819a764e1f3929f4c578e9a44593a1467 (diff) | |
Recreate EGLImage for previously used slots
SurfaceTexture would only create an EGLImage for a buffer slot when
BufferQueue returns a GraphicBuffer, i.e. either the slot was acquired
for the first time ever, or the buffer for the slot was reallocated.
But the EGLImage may also need to be re-created for a
previously-acquired buffer if the slot's EGLImage was destroyed during
detachFromContext(); in this case BufferQueue won't return a
GraphicBuffer since SurfaceTexture already has a reference to the
correct buffer.
Bug: 6461693
Change-Id: Ib95d0d757192efe336c5fda0866f857481a6617d
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions