summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Peiyong Lin <lpy@google.com> 2019-01-14 19:36:57 -0800
committer Peiyong Lin <lpy@google.com> 2019-03-02 14:19:25 -0800
commit74ca2f4e876b7384f20a7ad8773f205f4e82ffd5 (patch)
tree2f26500a25a76c4880c5d0b016248276c690b146 /libs/gui/BufferQueueThreadState.cpp
parentcb20ccaa611fbde0fcbade5a0b667d183c405b4f (diff)
[SurfaceFlinger] Refine expensive rendering trigger.
Previously we turned on expensive rendering when color mode is DISPLAY_P3 because wide color gamut implies V0_SCRGB dataspace with FP16 pixel format, which can't be handled by hardware composer and it's also very expensive in GPU composition. Now that DISPLAY_P3 color mode doesn't have this implication, we should move the code to only trigger it if we hit GPU composition in DISPLAY_P3 color mode. BUG: 114226412 Test: Build, flash and boot. Test: Verify by modifying WCG to scRGB and checking GPU frequency. Change-Id: Ia3d3c14574e9ac628497d2f9733e6dd84a2ed01d
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions