Searched defs:Acquire (Results 1 - 4 of 4) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/include/private/dvr/
H A Dbuffer_hub_client.h268 // Acquire allows read access. The user is responsible for making sure that
269 // Acquire is called with the correct metadata structure. The only guarantee the
270 // API currently provides is that an Acquire() with metadata of the wrong size
282 // performed as an alternative to the Acquire() with metadata. In such cases
286 int Acquire(LocalHandle* ready_fence);
293 int Acquire(LocalHandle* ready_fence, void* meta, size_t user_metadata_size);
300 int Acquire(LocalHandle* ready_fence, Meta* meta) { function in class:android::dvr::BufferConsumer
301 return Acquire(ready_fence, meta, sizeof(*meta));
307 // This should be called after a successful Acquire call. If the fence is
321 // May be called after or instead of Acquire t
[all...]
/frameworks/native/libs/vr/libdvr/tests/
H A Ddvr_buffer_queue-test.cpp186 // Acquire buffer for reading.
440 std::function<void(size_t i)> Acquire = [&](size_t i) { local
484 // Acquire all read buffers.
486 ASSERT_NO_FATAL_FAILURE(Acquire(i));
501 // Acquire and release all read buffers.
503 ASSERT_NO_FATAL_FAILURE(Acquire(i));
518 // Acquire all write buffers then release them in reversed order.
520 ASSERT_NO_FATAL_FAILURE(Acquire(i));
558 // Acquire buffer for reading.
/frameworks/native/libs/vr/libbufferhub/
H A Dbuffer_hub_client.cpp306 int BufferConsumer::Acquire(LocalHandle* ready_fence) { function in class:android::dvr::BufferConsumer
307 return Acquire(ready_fence, nullptr, 0);
310 int BufferConsumer::Acquire(LocalHandle* ready_fence, void* meta, function in class:android::dvr::BufferConsumer
312 ATRACE_NAME("BufferConsumer::Acquire");
327 ALOGW("BufferConsumer::Acquire: no user-defined metadata.");
/frameworks/native/libs/vr/libvrflinger/
H A Dhardware_composer.h207 Acquire() { function in struct:android::dvr::Layer::SourceSurface
253 Acquire() { function in struct:android::dvr::Layer::SourceBuffer

Completed in 22 milliseconds