summaryrefslogtreecommitdiff
path: root/libs/gui/BufferQueueThreadState.cpp
diff options
context:
space:
mode:
author Tianyu Jiang <tianyuj@google.com> 2019-01-31 14:53:24 -0800
committer Tianyu Jiang <tianyuj@google.com> 2019-02-04 17:23:26 -0800
commitef49ca627968427123538addce33bbdf1ff05518 (patch)
treeb2b757efd46200dcbef92b8ad623ece83a9c1197 /libs/gui/BufferQueueThreadState.cpp
parent4b70146acb7c810721ecf541631d2523224ba465 (diff)
Move BufferHubBase::Lock and ::Unlock from public function to private helper.
User should be using GraphicBuffer/AHardwareBuffer::Lock/Unlock to lock/unlock for CPU access to the data in the buffer. BufferHubBase::Lock/Unlock exist were because this legacy class has IonBuffer, which wraps a GraphicBuffer. The dependency will be reverted in the future, where BufferHubBuffer backs GraphicBuffer. Bug: None Test: m, mma, vrflinger_test Change-Id: I3e3287529326dce3ae57e344c5c738b898c3d44d
Diffstat (limited to 'libs/gui/BufferQueueThreadState.cpp')
0 files changed, 0 insertions, 0 deletions