summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Matt Buckley <mattbuckley@google.com> 2023-05-25 22:09:26 +0000
committer Matt Buckley <mattbuckley@google.com> 2023-05-31 20:11:44 +0000
commit676e4390c3dc26910edfb6c6a3c52ffe4b898bf3 (patch)
treeb15bbaba8751019570ca8111f8f83fa9c71c3706 /libs/gui/BufferQueueThreadState.cpp
parentbb319326a6a8235e0227d404e428f9fcd23cfaec (diff)
Reduce number of binders from SurfaceFlinger for ADPF
Currently, SF is using the wrong vsync value when calculating the target for ADPF, causing it to send a binder every frame instead of every vsync change. This patch fixes that to reduce the binder frequency from SF, and also adds a debug option to disable reportActual to reduce the amount of binders even more in certain cases. Bug: 284357218 Test: manual Change-Id: I8435b170016c5af8219d8ed8cc9ed65a0a2cb0e7
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions