Home
last modified time | relevance | path

Searched refs:dequeue_fence (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/hwui/renderthread/
DVulkanSurface.cpp332 bufferInfo.dequeue_fence.release()); in releaseBuffers()
337 bufferInfo.dequeue_fence.reset(); in releaseBuffers()
341 LOG_ALWAYS_FATAL_IF(bufferInfo.dequeue_fence.ok()); in releaseBuffers()
408 mNativeBuffers[idx].dequeue_fence = std::move(fence_fd); in dequeueNativeBuffer()
414 mNativeBuffers[idx].dequeue_fence = std::move(fence_fd); in dequeueNativeBuffer()
433 mNativeBuffers[idx].dequeue_fence.release()); in dequeueNativeBuffer()
466 int queuedFd = (semaphoreFd != -1) ? semaphoreFd : currentBuffer.dequeue_fence.release(); in presentCurrentBuffer()
474 currentBuffer.dequeue_fence.release()); in presentCurrentBuffer()
481 currentBuffer.dequeue_fence.reset(); in presentCurrentBuffer()
DVulkanManager.cpp408 if (bufferInfo->dequeue_fence != -1) { in dequeueNextBuffer()
409 struct sync_file_info* finfo = sync_file_info(bufferInfo->dequeue_fence); in dequeueNextBuffer()
416 int fence_clone = dup(bufferInfo->dequeue_fence); in dequeueNextBuffer()
420 sync_wait(bufferInfo->dequeue_fence, -1 /* forever */); in dequeueNextBuffer()
431 sync_wait(bufferInfo->dequeue_fence, -1 /* forever */); in dequeueNextBuffer()
446 sync_wait(bufferInfo->dequeue_fence, -1 /* forever */); in dequeueNextBuffer()
DVulkanSurface.h61 base::unique_fd dequeue_fence; member
/frameworks/native/vulkan/libvulkan/
Dswapchain.cpp263 dequeue_fence(-1), in Image()
272 int dequeue_fence; member
316 if (image.dequeue_fence >= 0) in ReleaseSwapchainImage()
317 close(image.dequeue_fence); in ReleaseSwapchainImage()
327 release_fence = image.dequeue_fence; in ReleaseSwapchainImage()
329 image.dequeue_fence = -1; in ReleaseSwapchainImage()
1330 err = window->dequeueBuffer(window, &buffer, &img.dequeue_fence); in CreateSwapchainKHR()
1376 img.dequeue_fence); in CreateSwapchainKHR()
1377 img.dequeue_fence = -1; in CreateSwapchainKHR()
1493 swapchain.images[idx].dequeue_fence = fence_fd; in AcquireNextImageKHR()
[all …]