summaryrefslogtreecommitdiff
path: root/services/surfaceflinger/ClientCache.cpp
diff options
context:
space:
mode:
author Marin Shalamanov <shalamanov@google.com> 2021-03-15 17:00:51 +0100
committer Marin Shalamanov <shalamanov@google.com> 2021-03-19 12:17:59 +0100
commitcea12ef231782a90cfeab22c0b9ee4e609117ce2 (patch)
treef9828b19d1c39a5a0fabb46b6a07db5788abff18 /services/surfaceflinger/ClientCache.cpp
parent06c667b0963e48a682e8528b976ad9ed25c9cc2c (diff)
Implement SkiaGLRenderEngine::cleanFramebufferCache
On hotplug SF calls cleanFramebufferCache in order to clean the existing handles to framebuffers. This CL implements the function for SkiaGLRenderEngine and fixes a bug where after each hotplug we end up with +3 framebuffers. Fixes: 182578852 Test: manually flash build, hotplug and call adb shell dumpsys SurfaceFlinger | grep Framebuffer to verify that only 3 framebuffers are present Change-Id: I2a0d1ab6005e3c7a994f8c8c0eeec79afc96d109
Diffstat (limited to 'services/surfaceflinger/ClientCache.cpp')
0 files changed, 0 insertions, 0 deletions