summaryrefslogtreecommitdiff
path: root/libs/gui/ConsumerBase.cpp
diff options
context:
space:
mode:
author Daniel Nicoara <dnicoara@google.com> 2017-02-22 12:22:41 -0500
committer Daniel Nicoara <dnicoara@google.com> 2017-02-22 14:52:19 -0500
commite13ec18867aee74a82435ef112dca01416eee4c0 (patch)
tree7fa477c8407b0f207be381e422341361d54fec1b /libs/gui/ConsumerBase.cpp
parentbc000a7729ca78a9c89df8768aad02b0dce008d0 (diff)
VR: Replace sw sync fences with egl sync fences
HWComposer::presentDisplay() synchronously calls into the VR WM presentation code to queue the new frame. If VR WM is showing (drawing) it will return an EGL fence that will be used to signal when the last showing frame is no longer used in VR WM. Otherwise an invalid FD (-1) is returned symbolizing that the last frame isn't in use anymore and the caller can re-use those buffers immediately. Bug: b/35096352 Test: Verified SurfaceFlinger output shows correctly in vr_wm Change-Id: I2b7c2c767d4aa85370dd6519113cb9a2269c7477
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions