Home
last modified time | relevance | path

Searched refs:fence_fd (Results 1 – 6 of 6) sorted by relevance

/frameworks/native/libs/vr/libdvr/tests/
Ddvr_buffer_queue-test.cpp139 int fence_fd = -1; in TEST_F() local
141 &fence_fd); in TEST_F()
143 EXPECT_EQ(fence_fd, -1); in TEST_F()
159 int fence_fd = -1; in TEST_F() local
171 &meta1, &fence_fd); in TEST_F()
176 wb, fence_fd); in TEST_F()
177 close(fence_fd); in TEST_F()
188 &meta2, &fence_fd); in TEST_F()
201 fence_fd); in TEST_F()
202 close(fence_fd); in TEST_F()
[all …]
Ddvr_display_manager-test.cpp860 int fence_fd = -1; in TEST_F() local
862 &buffer, &metadata, &fence_fd); in TEST_F()
/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp477 int fence_fd; in dequeueNativeBuffer() local
478 int err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buffer, &fence_fd); in dequeueNativeBuffer()
488 mNativeBuffers[idx].dequeue_fence = fence_fd; in dequeueNativeBuffer()
494 mNativeBuffers[idx].dequeue_fence = fence_fd; in dequeueNativeBuffer()
500 mNativeWindow->cancelBuffer(mNativeWindow.get(), buffer, fence_fd); in dequeueNativeBuffer()
512 mNativeWindow->cancelBuffer(mNativeWindow.get(), buffer, fence_fd); in dequeueNativeBuffer()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp1457 int fence_fd; in AcquireNextImageKHR() local
1458 err = window->dequeueBuffer(window, &buffer, &fence_fd); in AcquireNextImageKHR()
1470 swapchain.images[idx].dequeue_fence = fence_fd; in AcquireNextImageKHR()
1476 window->cancelBuffer(window, buffer, fence_fd); in AcquireNextImageKHR()
1481 if (fence_fd != -1) { in AcquireNextImageKHR()
1482 fence_clone = dup(fence_fd); in AcquireNextImageKHR()
1486 sync_wait(fence_fd, -1 /* forever */); in AcquireNextImageKHR()
1500 window->cancelBuffer(window, buffer, fence_fd); in AcquireNextImageKHR()
1713 int fence_fd; in QueuePresentKHR() local
1714 err = window->dequeueBuffer(window, &buffer, &fence_fd); in QueuePresentKHR()
[all …]
/frameworks/native/libs/vr/libdvr/
Ddvr_buffer_queue.cpp58 int fence_fd = -1; in Dequeue() local
59 if (const int ret = GainBuffer(timeout, &buffer, &meta, &fence_fd)) in Dequeue()
66 *out_fence_fd = fence_fd; in Dequeue()
/frameworks/native/libs/gui/
DBufferHubProducer.cpp467 LocalHandle fence_fd(fence->isValid() ? fence->dup() : -1); in queueBuffer() local
480 producer_buffer->PostAsync(&meta_data, fence_fd); in queueBuffer()