summaryrefslogtreecommitdiff
path: root/libs/gui/QueueBufferInputOutput.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2020-11-25 09:53:56 -0800
committer Alec Mouri <alecmouri@google.com> 2020-11-25 11:08:56 -0800
commit2725c097013499571b0df68952c49ccd5eba651a (patch)
tree034b0daf0f0dd716ed09599573b143b655361007 /libs/gui/QueueBufferInputOutput.cpp
parent82ba2ecdd04dfc2e64c3098a6698b20b0d9da83f (diff)
Tidy up GL resources
Currently it's not safe to destroy and recreate RenderEngine because certain GL resources are persisted in GLESRenderEngine, which is imposing limitations on testing. This patch adds some cleanup steps, including: * Supporting destruction of glPrograms once they're unused. * Purging the ProgramCache of shaders when RenderEngine is destroyed * Tidy up Framebuffer destruction when backed by an EGLImage * Make sure shadow resources are destroyed prior to display termination * Disable vertex attribute used for positioning layers. * Check that EGL objects are valid before display termination. Bug: 173416417 Test: librenderengine_test, and observe logcat Change-Id: Id5d858d21a400ef170788d917f0bc0ac5e318bdc
Diffstat (limited to 'libs/gui/QueueBufferInputOutput.cpp')
0 files changed, 0 insertions, 0 deletions