summaryrefslogtreecommitdiff
path: root/libs/gui/LayerDebugInfo.cpp
diff options
context:
space:
mode:
author Patrick Williams <pdwilliams@google.com> 2022-10-31 22:18:10 +0000
committer Patrick Williams <pdwilliams@google.com> 2022-11-03 19:17:25 +0000
commit8aed5d2b7b621849e66cb638951df4de301c9a12 (patch)
tree81213dc79a38f2150013a08eec5a65e251d49b3d /libs/gui/LayerDebugInfo.cpp
parentd500ef2e8a803528652fd1c002944cc001f52783 (diff)
RE: move useProtectedContext calls to drawLayers
This change removes a race condition when calling RenderEngine from multiple threads. Before this change, two competing threads could call RenderEngine::useProtectedContext with different values, potentially causing RenderEngine::drawLayers to use the wrong context. We currently call RenderEngine from a single thread but that will change with the upcoming refactor of SurfaceFlinger::renderScreenImpl. Bug: 238643986 Test: presubmits Change-Id: I78ca00797b1604cedae1f134e963b6b78f2b802f
Diffstat (limited to 'libs/gui/LayerDebugInfo.cpp')
0 files changed, 0 insertions, 0 deletions