Home
last modified time | relevance | path

Searched refs:buffer_desc (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/vr/libbufferhub/
Dbuffer_hub_base.cpp59 auto buffer_desc = status.take(); in ImportBuffer() local
62 const int new_id = buffer_desc.id(); in ImportBuffer()
66 ALOGD_IF(TRACE, "BufferHubBase::ImportBuffer: id=%d.", buffer_desc.id()); in ImportBuffer()
68 if (const int ret = buffer_desc.ImportBuffer(&ion_buffer)) in ImportBuffer()
73 if (const int ret = buffer_desc.ImportMetadata(&metadata_buffer)) { in ImportBuffer()
100 shared_acquire_fence_ = buffer_desc.take_acquire_fence(); in ImportBuffer()
101 shared_release_fence_ = buffer_desc.take_release_fence(); in ImportBuffer()
118 cid_ = buffer_desc.buffer_cid(); in ImportBuffer()
119 client_state_mask_ = buffer_desc.client_state_mask(); in ImportBuffer()
/frameworks/native/libs/vr/libdvr/tests/
Ddvr_buffer_queue-test.cpp260 AHardwareBuffer_Desc buffer_desc; in TEST_F() local
294 AHardwareBuffer_describe(ahb1, &buffer_desc); in TEST_F()
295 ASSERT_EQ(w1, buffer_desc.width); in TEST_F()
296 ASSERT_EQ(kBufferHeight, buffer_desc.height); in TEST_F()
322 AHardwareBuffer_describe(ahb2, &buffer_desc); in TEST_F()
323 ASSERT_EQ(w2, buffer_desc.width); in TEST_F()
349 AHardwareBuffer_describe(ahb3, &buffer_desc); in TEST_F()
350 ASSERT_EQ(w3, buffer_desc.width); in TEST_F()