summaryrefslogtreecommitdiff
path: root/libs/battery/LongArrayMultiStateCounterTest.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2022-02-24 14:07:11 -0800
committer Vishnu Nair <vishnun@google.com> 2022-03-01 00:20:21 +0000
commit7234fa59245e20b934a15ebbd27d4e189ad224d0 (patch)
treee61b82b3cba032985e9e5bbd62a67040b27f7402 /libs/battery/LongArrayMultiStateCounterTest.cpp
parent80f319d78a7b99b82cd42ed4fc7cef104025d663 (diff)
SF: Predict HWC composition strategy
Asynchronously run ValidateDisplay to determine client composition strategy. If we can predict that the composition strategy will not change from frame to frame (for example by looking at whether the geometry of the layers is changing), the hwc call is run asynchronously with the gpu composition. If the result of the call is incorrectly predicted, the gpu composition is rerun. ValidateDisplay can take multiple milliseconds to complete and by making it non-blocking in cases where we can predict the strategy chosen by the hardware, we can jump start the client composition and shave valuable milliseconds from the frame time. This feature is disabled by default. Test: perfetto traces Bug: 220031739 Change-Id: Ib4dcc0e055d5272c89cfff853211edac73aa449b
Diffstat (limited to 'libs/battery/LongArrayMultiStateCounterTest.cpp')
0 files changed, 0 insertions, 0 deletions