Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libbufferhub/
Ddetached_buffer.cpp61 BufferDescription<LocalHandle> buffer_desc = status.take(); in ImportGraphicBuffer() local
62 if (buffer_desc.id() < 0) { in ImportGraphicBuffer()
68 const int buffer_id = buffer_desc.id(); in ImportGraphicBuffer()
74 if (const int ret = buffer_desc.ImportBuffer(&ion_buffer)) { in ImportGraphicBuffer()
Dbuffer_hub_client.cpp80 auto buffer_desc = status.take(); in ImportBuffer() local
83 const int new_id = buffer_desc.id(); in ImportBuffer()
87 ALOGD_IF(TRACE, "BufferHubBuffer::ImportBuffer: id=%d.", buffer_desc.id()); in ImportBuffer()
89 if (const int ret = buffer_desc.ImportBuffer(&ion_buffer)) in ImportBuffer()
94 if (const int ret = buffer_desc.ImportMetadata(&metadata_buffer)) { in ImportBuffer()
121 shared_acquire_fence_ = buffer_desc.take_acquire_fence(); in ImportBuffer()
122 shared_release_fence_ = buffer_desc.take_release_fence(); in ImportBuffer()
139 buffer_state_bit_ = buffer_desc.buffer_state_bit(); 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()