summaryrefslogtreecommitdiff
path: root/libs/gui/BLASTBufferQueue.cpp
diff options
context:
space:
mode:
author yuhui.zhang <yuhui.zhang@mediatek.com> 2021-12-11 15:23:52 +0800
committer Ady Abraham <adyabr@google.com> 2022-01-07 19:31:57 +0000
commit087d37481ea16f33f7e344b1ea184e51c667fda7 (patch)
treed1b479a5660b7cf6dd31103ec0b81de1bf834db5 /libs/gui/BLASTBufferQueue.cpp
parent4a3ce08f40cad41ffabb6dc60a600d0d52525c77 (diff)
Do not handle VSync event during resolution switch
When there is a resolution switch, SurfaceFlinger will handle as display changes. If the VSync comes before the display is ready, the access to the display will bring exception. Solution: Add mutex lock between onComposerHalVsync() and setActiveModeInternal(). Bug: 210378166 Test: run cts-on-gsi -m CtsDisplayTestCases Change-Id: Ide53b0e5cff3b569593a2ed388d0ea66e0002e9d
Diffstat (limited to 'libs/gui/BLASTBufferQueue.cpp')
0 files changed, 0 insertions, 0 deletions