summaryrefslogtreecommitdiff
path: root/vulkan/libvulkan/api.cpp
diff options
context:
space:
mode:
author Lloyd Pique <lpique@google.com> 2019-08-08 11:57:53 -0700
committer Lloyd Pique <lpique@google.com> 2019-08-08 11:57:53 -0700
commit7d90ba5fdf9fe081ccb900e9032a965aaf00d978 (patch)
tree11a31b0ba8bd80b70a957bac1190d1a05d7893ab /vulkan/libvulkan/api.cpp
parent16d9c4bfd2c84cdb399f8bc02bca3312a9e0e91b (diff)
SF: Present before signalling presentation done
In doing the refactor, I had effectively swapped the calls to HWComposer::presentAndGetReleaseFences() and DisplaySurface::onFrameCommitted() so that onFrameCommitted was being called before the display was presented. If client composition was used for those frames, the result was that the GPU composed buffer on display could be written to (cleared) before it was actually replaced by a new buffer. Bug: 138914274 Test: Unable to reproduce black scanlines in Hangouts on Walleye Change-Id: I13625f124130826a5f80337b74e937f1291220e1
Diffstat (limited to 'vulkan/libvulkan/api.cpp')
0 files changed, 0 insertions, 0 deletions