diff options
author | 2021-02-04 11:13:09 -0500 | |
---|---|---|
committer | 2021-02-11 14:32:30 -0500 | |
commit | 76664d6041358ee2c79507a39c7239b25cd093d9 (patch) | |
tree | d1ec81b570afc1f58ce5661a548f80fbd37750aa /libs/gui/LayerDebugInfo.cpp | |
parent | 3c18744b3b5f8e5700ab90877ca41bedfc721349 (diff) |
Enable offscreen buffers in mskp captures for RenderEngine
This CL also fixes a threading bug in mskp captures. Previously,
if the mskp timer fired in the middle of RE drawing a frame it would
crash because the timer thread would delete the canvas. The mutex
that was introduced will prevent the canvas from being deleted until
after the frame has completed drawing.
Test: capture mskp with background blur
Bug: 176903027
Change-Id: I59442d729b17a7edfd6df7ff9295864d1d67f0d7
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions