summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Vishnu Nair <vishnun@google.com> 2021-06-24 13:08:53 -0700
committer Vishnu Nair <vishnun@google.com> 2021-06-24 13:09:54 -0700
commit2a52ca6274f3ca8b9aea8d22c49ca8fcae4b8455 (patch)
tree1e9ee0f1e9999e41cd804f8f8a025b11acfc0a61 /libs/gui/SurfaceComposerClient.cpp
parent504a4d8f648b6c2e0ed6971c9666a69dbdeedb45 (diff)
BlastBufferQueue: Fix acquire counts when holding buffers
Update the acquire count when ever we release a buffer otherwise when going from 120hz to 60hz we may release multiple buffers and only decrement the acquire count once. This will prevent the adapter from acquiring all the possible buffers. Also make sure we process the shadow queue every time we release a buffer. Bug: 188553729 Test: Run backpressure based game on 60Hz and 90hz and collect traces Change-Id: I23517ee0fe840a9215f368bd85713ba19dbeb2a3
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
0 files changed, 0 insertions, 0 deletions