summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Ady Abraham <adyabr@google.com> 2021-05-07 15:10:42 -0700
committer Ady Abraham <adyabr@google.com> 2021-05-13 23:10:21 +0000
commit562c2718fcf8f465fe54a88c7ac948cd21a77ce5 (patch)
tree5301119a29366d8c8a71f3e1e525f75e9f597a17 /libs/gui/BufferQueueThreadState.cpp
parentb5d3afa06ccf11f9f78026d946468818a65cec76 (diff)
SF: region sampling scheduling optimization
Schedule the region sampling thread more wisely by estimating when the next invalidate is going to happen. This makes the region sampling to be scheduled often at times where the main thread is idle, without eating the budget in an invalidate message. Bug: 181983990 Test: SF unit tests Test: observe systrace Change-Id: I1faca3aa7f882ed7c69e77e6a0877c10d57f0f1c
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions