summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2020-10-22 00:39:39 -0700
committer Peiyong Lin <lpy@google.com> 2020-10-23 19:35:48 +0000
commit637f4acff11b675ff0a42bafe70ce0ac046da6c0 (patch)
treea9a9a9820d01c98671557e63deacd42a7a649f6f /libs/gui/BufferQueueThreadState.cpp
parent292587587633c4557a09713bba151b8cec07a281 (diff)
[RenderEngine] Do not cache protected EGLImage between runs.
Normally on a device the amount of protected memory is limited, however, currently RenderEngine caches all generated EGLImage until layer is destroyed, and hence eventually we run out of memory when trying to create a protected EGLImage. This patch makes sure we unbind the buffer and destroy the EGLImage once it's finished. Bug: b/171098727 Test: DRM contents with big buffers playback work Change-Id: Id24000d5e89220c849bf3cdc4917a6fa6b59e471
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions