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.cpp366 int fence_fd; in dequeueNativeBuffer() local
367 err = mNativeWindow->dequeueBuffer(mNativeWindow.get(), &buffer, &fence_fd); in dequeueNativeBuffer()
388 mNativeWindow->cancelBuffer(mNativeWindow.get(), buffer, fence_fd); in dequeueNativeBuffer()
406 mNativeBuffers[idx].dequeue_fence = fence_fd; in dequeueNativeBuffer()
412 mNativeBuffers[idx].dequeue_fence = fence_fd; in dequeueNativeBuffer()
418 mNativeWindow->cancelBuffer(mNativeWindow.get(), buffer, fence_fd); in dequeueNativeBuffer()
430 mNativeWindow->cancelBuffer(mNativeWindow.get(), buffer, fence_fd); in dequeueNativeBuffer()
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp1479 int fence_fd; in AcquireNextImageKHR() local
1480 err = window->dequeueBuffer(window, &buffer, &fence_fd); in AcquireNextImageKHR()
1493 swapchain.images[idx].dequeue_fence = fence_fd; in AcquireNextImageKHR()
1499 window->cancelBuffer(window, buffer, fence_fd); in AcquireNextImageKHR()
1504 if (fence_fd != -1) { in AcquireNextImageKHR()
1505 fence_clone = dup(fence_fd); in AcquireNextImageKHR()
1509 sync_wait(fence_fd, -1 /* forever */); in AcquireNextImageKHR()
1523 window->cancelBuffer(window, buffer, fence_fd); in AcquireNextImageKHR()
1733 int fence_fd; in QueuePresentKHR() local
1734 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.cpp466 LocalHandle fence_fd(fence->isValid() ? fence->dup() : -1); in queueBuffer() local
479 producer_buffer->PostAsync(&meta_data, fence_fd); in queueBuffer()