summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Alec Mouri <alecmouri@google.com> 2019-01-14 15:22:01 -0800
committer Alec Mouri <alecmouri@google.com> 2019-02-15 10:59:47 -0800
commit56e538fdb7b520661231a137512a76884fc7cbfc (patch)
tree39203cf2a830f8f80d9793c17d6a2aaffb569076 /libs/gui/BufferQueueThreadState.cpp
parentb2069ebab1de906ed02383dcd6467f3eb184b53e (diff)
Remove extra glFlush from handleMessageRefresh().
For BufferQueueLayers, the GL flush fence was already passed to BufferLayerConsumer::addReleaseFence during post composition for buffer synchronization when releasing a buffer, so passing the same fence isn't necessary. For BufferStateLayers, this fence shouldn't be necessary for merging with the buffer's acquire fence in latchBuffer, since buffer readiness for the current buffer shouldn't depend on whether the prior buffer was finished being used in gpu composition. So, the fence returned by the extra glFlush call isn't necessary, so we can just remove the call + plumbing entirely. Bug: 117103118 Change-Id: Iafeb33dab46213f711ee2ecb59731d003263a551 Test: apct tests, go/wm-smoke, cts Test: chrome debug apk
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions