diff options
author | 2017-11-16 14:30:28 -0800 | |
---|---|---|
committer | 2017-12-08 14:08:16 -0800 | |
commit | 924454f555f0cf3fbef2b5139d398de0e2568567 (patch) | |
tree | d5569fbe53b5bb873000d0a58d30b29be6095e72 /libs/gui/ConsumerBase.cpp | |
parent | 96ad8222f300c4dd918a15192a8a9c1c4c6fd834 (diff) |
libgui: fix and clean up CpuConsumer::unlockBuffer
addReleaseFenceLocked should be called with
AcquiredBuffer::mGraphicBuffer, not the one in ConsumerBase::mSlots.
Otherwise, it breaks ConsumerBase::stillTracking.
Also thanks to stillTracking, we don't need to do the tracking
manually.
Test: libgui_test
Change-Id: Ib69b88263c4619634ae2977b9f811be5a846f446
Diffstat (limited to 'libs/gui/ConsumerBase.cpp')
0 files changed, 0 insertions, 0 deletions