Home
last modified time | relevance | path

Searched refs:acquire_fence_ (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/vr/libvrflinger/
Dacquired_buffer.cpp13 : buffer_(buffer), acquire_fence_(std::move(acquire_fence)), slot_(slot) {} in AcquiredBuffer()
30 acquire_fence_ = std::move(fence); in AcquiredBuffer()
46 swap(acquire_fence_, other.acquire_fence_); in operator =()
57 if (acquire_fence_) { in IsAvailable()
58 const int ret = sync_wait(acquire_fence_.Get(), 0); in IsAvailable()
62 buffer_->id(), acquire_fence_.Get(), ret, ret < 0 ? errno : 0); in IsAvailable()
66 acquire_fence_.Close(); in IsAvailable()
75 return std::move(acquire_fence_); in ClaimAcquireFence()
97 acquire_fence_.Close(); in Release()
Dacquired_buffer.h17 AcquiredBuffer() : buffer_(nullptr), acquire_fence_(kEmptyFence) {} in AcquiredBuffer()
48 int acquire_fence() const { return acquire_fence_.Get(); } in acquire_fence()
77 mutable pdx::LocalHandle acquire_fence_; variable
Dhardware_composer.cpp1307 acquire_fence_.Close(); in Reset()
1355 swap(acquire_fence_, other.acquire_fence_); in operator =()
1471 std::tie(right, bottom, id, handle, acquire_fence_, slot) = in Prepare()
1514 slot, handle, acquire_fence_.Get()); in Prepare()
1543 void Layer::Drop() { acquire_fence_.Close(); } in Drop()
Dhardware_composer.h273 pdx::LocalHandle acquire_fence_; variable