Home
last modified time | relevance | path

Searched refs:fences (Results 1 – 25 of 67) sorted by relevance

123

/hardware/google/gfxstream/guest/mesa/src/util/
Du_queue.c703 struct util_queue_fence *fences; in util_queue_finish() local
725 fences = malloc(queue->num_threads * sizeof(*fences)); in util_queue_finish()
729 util_queue_fence_init(&fences[i]); in util_queue_finish()
730 util_queue_add_job_locked(queue, &barrier, &fences[i], in util_queue_finish()
737 util_queue_fence_wait(&fences[i]); in util_queue_finish()
738 util_queue_fence_destroy(&fences[i]); in util_queue_finish()
741 free(fences); in util_queue_finish()
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/appendices/
DVK_KHR_external_fence.adoc25 memory using fences.
26 This extension enables an application to create fences from which non-Vulkan
DVK_KHR_external_fence_fd.adoc23 memory using fences.
DVK_NV_external_sci_sync.adoc20 memory using semaphores and fences.
62 export both semaphores and fences in one extension but include separate
DVK_KHR_external_fence_capabilities.adoc24 An application may wish to reference device fences in multiple Vulkan
DVK_KHR_external_fence_win32.adoc23 memory using fences.
DVK_EXT_display_control.adoc40 *RESOLVED*: No, fences should be used.
DVK_KHR_present_wait.adoc41 2) Should this use fences or other existing synchronization mechanism.
/hardware/google/gfxstream/codegen/vulkan/vulkan-docs-next/chapters/VK_EXT_swapchain_maintenance1/
DSwapchainPresentFenceInfo.adoc16 * pname:pFences is a list of fences with pname:swapchainCount entries.
43 presentation operation when at least one of the associated fences is
44 signaled, and can: destroy the swapchain when the fences associated with all
/hardware/interfaces/graphics/composer/2.1/utils/hal/include/composer-hal/2.1/
DComposerCommandEngine.h290 std::vector<int> fences; in executePresentOrValidateDisplay() local
293 : mHal->presentDisplay(mCurrentDisplay, &presentFence, &layers, &fences); in executePresentOrValidateDisplay()
297 mWriter->setReleaseFences(layers, fences); in executePresentOrValidateDisplay()
331 std::vector<int> fences; in executePresentDisplay() local
332 auto err = mHal->presentDisplay(mCurrentDisplay, &presentFence, &layers, &fences); in executePresentDisplay()
335 mWriter->setReleaseFences(layers, fences); in executePresentDisplay()
/hardware/qcom/sm7250/display/sdm/libs/utils/
Dfence.cpp102 shared_ptr<Fence> Fence::Merge(const std::vector<shared_ptr<Fence>> &fences, bool ignore_signaled) { in Merge() argument
106 for (auto &fence : fences) { in Merge()
/hardware/qcom/sm7250/display/sdm/include/utils/
Dfence.h81 static shared_ptr<Fence> Merge(const std::vector<shared_ptr<Fence>> &fences,
/hardware/interfaces/camera/device/3.5/default/
DCameraDeviceSession.cpp166 std::vector<int>& fences, std::vector<std::pair<buffer_handle_t, int>>& bufs) { in cleanupInflightBufferFences() argument
167 hidl_vec<int> hFences = fences; in cleanupInflightBufferFences()
168 cleanupInflightFences(hFences, fences.size()); in cleanupInflightBufferFences()
/hardware/google/gfxstream/guest/mesa/src/vulkan/wsi/
Dwsi_common.c523 if (chain->fences) { in wsi_swapchain_finish()
525 chain->wsi->DestroyFence(chain->device, chain->fences[i], &chain->alloc); in wsi_swapchain_finish()
527 vk_free(&chain->alloc, chain->fences); in wsi_swapchain_finish()
951 swapchain->fences = vk_zalloc(alloc, in wsi_CreateSwapchainKHR()
952 sizeof (*swapchain->fences) * swapchain->image_count, in wsi_CreateSwapchainKHR()
953 sizeof (*swapchain->fences), in wsi_CreateSwapchainKHR()
955 if (!swapchain->fences) { in wsi_CreateSwapchainKHR()
1308 if (swapchain->fences[image_index] == VK_NULL_HANDLE) { in wsi_common_queue_present()
1316 &swapchain->fences[image_index]); in wsi_common_queue_present()
1336 wsi->WaitForFences(device, 1, &swapchain->fences[image_index], in wsi_common_queue_present()
[all …]
/hardware/interfaces/camera/device/3.4/
DICameraDeviceSession.hal94 * stream buffers' fences and the buffer handles; the HAL must not
95 * close the fences or return these buffers with
/hardware/interfaces/camera/device/3.2/
DICameraDeviceSession.hal112 * release sync fences have been signaled by the HAL. The framework must not
193 * buffers may simply provide sync fences to wait on. Multiple requests are
199 * is responsible for waiting on and closing the buffers' fences and
232 * stream buffers' fences and the buffer handles; the HAL must not
233 * close the fences or return these buffers with
320 * fence into an error state, instead, the release fences must be set to
321 * the acquire fences passed by the framework, or -1 if they have been
Dtypes.hal425 * stream, the handle to the gralloc buffer itself, and sync fences
797 * data from this capture/reprocess. The HAL must wait on the acquire fences
834 * input buffer, without metadata and output buffers; the sync fences must be
892 * fences provided by the HAL before reading the buffers.
922 * already delivered (the fences need not have yet been signaled).
943 * The HAL must handle the sync fences the same way they are done for
953 * supports sync fences, it can call processCaptureResult to hand it back
954 * with sync fences being set appropriately. If the sync fences are not
DICameraDeviceCallback.hal80 * being filled. The HAL must include valid release sync fences into each
86 * their sync fences. In addition, notify() must be called with an
/hardware/interfaces/neuralnetworks/1.3/
DIPreparedModel.hal234 * for syncFence. The execution must wait for all the sync fences (if any) in waitFor
245 * within the timeout duration (measured from when all sync fences in waitFor are
259 * If any of the sync fences in waitFor changes to error status after the executeFenced
272 * Execution must not start until all sync fences have been signaled.
287 * to complete after all sync fences in waitFor are signaled.
295 * fences in error states.
DIFencedExecutionCallback.hal52 * @return timingFenced The duration starts when all waitFor sync fences have been signaled
/hardware/interfaces/camera/device/3.7/
DICameraDeviceSession.hal106 * stream buffers' fences and the buffer handles; the HAL must not
107 * close the fences or return these buffers with
/hardware/google/gfxstream/codegen/gles1/
Dgles1.attrib615 #void glDeleteFencesNV(GLsizei n, const GLuint *fences)
617 dir fences in
618 len fences (n * sizeof(GLuint))
621 #void glGenFencesNV(GLsizei n, GLuint *fences)
623 dir fences in
624 len fences (n * sizeof(GLuint))
/hardware/google/gfxstream/host/include/gfxstream/
Dvirtio-gpu-gfxstream-renderer.h166 struct stream_renderer_handle* fences; member
/hardware/google/graphics/common/hwc3/
DComposerCommandEngine.cpp318 std::vector<ndk::ScopedFileDescriptor> fences; in executePresentDisplay() local
319 auto err = mHal->presentDisplay(display, presentFence, &layers, &fences); in executePresentDisplay()
322 mWriter->setReleaseFences(display, layers, std::move(fences)); in executePresentDisplay()
/hardware/interfaces/media/omx/1.0/
DIOmxNode.hal270 * Pass \p fence to the node if it supports fences. Otherwise, it waits on
294 * Pass \p fence to the node if it supports fences. Otherwise, wait on

123