/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/ |
D | SemaphoreTest.cpp | 36 GLuint semaphores[kSemaphoreCount]; in TEST_P() local 37 glGenSemaphoresEXT(kSemaphoreCount, semaphores); in TEST_P() 43 EXPECT_TRUE(glIsSemaphoreEXT(semaphores[i])); in TEST_P() 46 glDeleteSemaphoresEXT(kSemaphoreCount, semaphores); in TEST_P()
|
/third_party/openGLES/extensions/NVX/ |
D | NVX_progress_fence.txt | 44 This extension uses the concept of GL semaphores as defined in 49 created semaphore object. Like other semaphores, these are signaled 99 array <semaphores> to the command 101 void DeleteSemaphoresEXT(sizei n, const uint *semaphores); 112 semaphores in <semaphoreArray>. Each signal writes the corresponding fence value in 165 can be used with progress fence semaphores and returns TRUE if <semaphore> 170 1) Are Vulkan semaphores imported via the GL_EXT_memory_object_win32 supported 173 RESOLVED: No. As Vulkan semaphores currently do not support progress fence 174 operation, these are not compatible with progress fence semaphores.
|
D | NVX_gpu_multicast2.txt | 133 …The copy will wait for all fence semaphores in the <waitSemaphoreArray> array to be reach or exceed 135 …A signal operation for each of the <signalSemaphoreCount> semaphores in <signalSemaphoresArray> is… 138 …for the semaphores in <signalSemaphoreArray> to be signalled with the fence values in <signalValue… 159 …The copy will wait for all fence semaphores in the <waitSemaphoresArray> array to be reach or exce… 161 …A signal operation for each of the <signalSemaphoreCount> semaphores in <signalSemaphoreArray> is … 164 …for the semaphores in <signalSemaphoresArray> to be signalled with the fence values in <signalValu…
|
/third_party/skia/third_party/externals/angle2/extensions/ |
D | EGL_ANGLE_display_semaphore_share_group.txt | 37 of sharing semaphores can be used in conjuction with regular share groups. 60 a context that shares semaphores with other contexts owned by the same 69 (1) What happens to the shared semaphores when a context in the global share 73 destroyed, all semaphores in the global semaphore share group are released. If 74 a new context is created in the global semaphore share group, no semaphores
|
/third_party/vk-gl-cts/external/vulkan-docs/src/proposals/ |
D | VK_ARM_render_pass_striped.adoc | 51 If we use semaphores, when should the semaphore objects be provided? 54 …. Provide the semaphores along with the queue submission commands (e.g. on vkQueueSubmit) as norma… 55 . Provide the semaphores along with the render pass information. 57 Providing the semaphores with the render pass would give the implementation 58 all the information in one place. But it is unusual to provide semaphores 59 during recording, and resubmitting command buffers with semaphores embedded 63 of semaphores and the render passes in the submitted command buffer. 148 signaled when a stripe completes. These semaphores are specified on queue 194 ### PROPOSED: Could we use timeline semaphores for this? 196 Probably. But timeline semaphores are not yet available on all platforms. [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/appendices/ |
D | VK_KHR_timeline_semaphore.txt | 33 Such timeline semaphores support the following operations: 60 `VK_KHR_external_semaphore_win32` already uses semaphores as the destination 71 requirement as the existing semaphores do? 74 Timeline semaphores support signaling and waiting entirely asynchronously. 94 specify the values signaled semaphores should be set to, and the values 95 waited semaphores need to reach. 112 supported for timeline semaphores vs binary semaphores. 132 timeline semaphores?
|
D | VK_KHR_timeline_semaphore.adoc | 32 Such timeline semaphores support the following operations: 59 `VK_KHR_external_semaphore_win32` already uses semaphores as the destination 70 requirement as the existing semaphores do? 73 Timeline semaphores support signaling and waiting entirely asynchronously. 93 specify the values signaled semaphores should be set to, and the values 94 waited semaphores need to reach. 111 supported for timeline semaphores vs. binary semaphores. 131 timeline semaphores?
|
D | VK_KHR_external_semaphore.adoc | 26 memory using semaphores. 27 This extension enables an application to create semaphores from which 43 on imported semaphores that are in an invalid state? 49 However, this could cause security concerns when using imported semaphores,
|
D | VK_KHR_external_semaphore.txt | 28 memory using semaphores. 29 This extension enables an application to create semaphores from which 45 on imported semaphores that are in an invalid state? 51 However, this could cause security concerns when using imported semaphores,
|
D | VK_NV_external_sci_sync2.adoc | 21 memory using semaphores and fences. 48 This extension does not support exporting semaphores from stext:NvSciSync 68 The commands to import and export semaphores from 70 alternate mechanism to import semaphores.
|
/third_party/openGLES/extensions/NV/ |
D | NV_timeline_semaphore.txt | 41 The Vulkan API introduces the concept of timeline semaphores. 49 void CreateSemaphoresNV(sizei n, uint *semaphores); 91 uint *semaphores); 93 returns <n> previously unused semaphore names in <semaphores>. 94 The semaphores named contain default state, but initially have no 95 external semaphores associated with them. 156 When using binary semaphores, for every wait on a semaphore there must 159 When using timeline semaphores, wait-before-signal behavior is
|
/third_party/mesa3d/src/virtio/vulkan/ |
D | vn_queue.c | 70 VkSemaphore *semaphores; member 143 alloc_size += sizeof(*submit->temp.semaphores) * in vn_queue_submission_alloc_storage() 158 submit->temp.semaphores = submit->temp.storage + semaphores_offset; in vn_queue_submission_alloc_storage() 193 VkSemaphore *dst_sems = &submit->temp.semaphores[sem_base]; in vn_queue_submission_filter_batch_wsi_semaphores() 1072 const VkSemaphore *semaphores, in vn_find_first_signaled_semaphore() argument 1079 vn_GetSemaphoreCounterValue(device, semaphores[i], &val); in vn_find_first_signaled_semaphore() 1088 VkSemaphore *semaphores, in vn_remove_signaled_semaphores() argument 1096 vn_GetSemaphoreCounterValue(device, semaphores[i], &val); in vn_remove_signaled_semaphores() 1100 semaphores[cur++] = semaphores[i]; in vn_remove_signaled_semaphores() 1124 VkSemaphore *semaphores = local_semaphores; in vn_WaitSemaphores() local [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
D | vktSynchronizationTimelineSemaphoreTests.cpp | 181 std::vector<VkSemaphore> semaphores; in iterate() local 186 semaphores.push_back((*semaphorePtrs[i]).get()); in iterate() 193 for (deUint32 semIdx = 0; semIdx < semaphores.size(); semIdx++) in iterate() 197 deviceSignal(vk, device, queue, *fence, m_type, semaphores[semIdx], timelineValues[semIdx]); in iterate() 201 hostSignal(vk, device, semaphores[semIdx], timelineValues[semIdx]); in iterate() 206 deUint32 randomIdx = rng.getInt(0, (deUint32)(semaphores.size() - 1)); in iterate() 209 … deviceSignal(vk, device, queue, *fence, m_type, semaphores[randomIdx], timelineValues[randomIdx]); in iterate() 211 hostSignal(vk, device, semaphores[randomIdx], timelineValues[randomIdx]); in iterate() 220 (deUint32) semaphores.size(), // deUint32 semaphoreCount; in iterate() 221 &semaphores[0], // const VkSemaphore* pSemaphores; in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
D | vktSynchronizationTimelineSemaphoreTests.cpp | 181 std::vector<VkSemaphore> semaphores; in iterate() local 186 semaphores.push_back((*semaphorePtrs[i]).get()); in iterate() 193 for (deUint32 semIdx = 0; semIdx < semaphores.size(); semIdx++) in iterate() 197 deviceSignal(vk, device, queue, *fence, m_type, semaphores[semIdx], timelineValues[semIdx]); in iterate() 201 hostSignal(vk, device, semaphores[semIdx], timelineValues[semIdx]); in iterate() 206 deUint32 randomIdx = rng.getInt(0, (deUint32)(semaphores.size() - 1)); in iterate() 209 … deviceSignal(vk, device, queue, *fence, m_type, semaphores[randomIdx], timelineValues[randomIdx]); in iterate() 211 hostSignal(vk, device, semaphores[randomIdx], timelineValues[randomIdx]); in iterate() 220 (deUint32) semaphores.size(), // deUint32 semaphoreCount; in iterate() 221 &semaphores[0], // const VkSemaphore* pSemaphores; in iterate() [all …]
|
/third_party/vk-gl-cts/external/vulkan-docs/src/chapters/VK_EXT_swapchain_maintenance1/ |
D | SwapchainPresentFenceInfo.adoc | 28 * The wait semaphores specified when queuing the image for presentation. 36 wait semaphores imported by the presentation engine using the equivalent of 38 <<synchronization-semaphores-importing,Importing Semaphore Payloads>>, this 42 The application can: destroy the wait semaphores associated with a given
|
/third_party/vk-gl-cts/modules/egl/ |
D | teglColorClearCase.cpp | 356 vector<SemaphoreSp> semaphores (numPackets+1); in executeForContexts() local 361 for (vector<SemaphoreSp>::iterator sem = semaphores.begin(); sem != semaphores.end(); ++sem) in executeForContexts() 374 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts() 375 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts() 396 semaphores.front()->increment(); in executeForContexts() 397 semaphores.back()->decrement(); in executeForContexts()
|
/third_party/skia/tests/ |
D | SurfaceSemaphoreTest.cpp | 135 SkAutoTArray<GrBackendSemaphore> semaphores(2); in surface_semaphore_test() local 150 semaphores[1].initVulkan(vkSem); in surface_semaphore_test() 156 info.fSignalSemaphores = semaphores.get(); in surface_semaphore_test() 173 draw_child(reporter, childInfo1, backendTexture, semaphores[0]); in surface_semaphore_test() 184 draw_child(reporter, childInfo2, backendTexture, semaphores[1]); in surface_semaphore_test()
|
/third_party/skia/src/gpu/ |
D | GrWaitRenderTask.h | 17 std::unique_ptr<std::unique_ptr<GrSemaphore>[]> semaphores, in GrWaitRenderTask() argument 20 , fSemaphores(std::move(semaphores)) in GrWaitRenderTask()
|
D | GrGpu.cpp | 637 std::unique_ptr<std::unique_ptr<GrSemaphore>[]> semaphores( in executeFlushInfo() local 642 semaphores[i] = resourceProvider->wrapBackendSemaphore( in executeFlushInfo() 648 if (semaphores[i]) { in executeFlushInfo() 649 this->insertSemaphore(semaphores[i].get()); in executeFlushInfo() 652 semaphores[i] = resourceProvider->makeSemaphore(false); in executeFlushInfo() 653 if (semaphores[i]) { in executeFlushInfo() 654 this->insertSemaphore(semaphores[i].get()); in executeFlushInfo() 655 info.fSignalSemaphores[i] = semaphores[i]->backendSemaphore(); in executeFlushInfo()
|
/third_party/mesa3d/src/mesa/main/ |
D | externalobjects.c | 762 _mesa_GenSemaphoresEXT(GLsizei n, GLuint *semaphores) in _mesa_GenSemaphoresEXT() argument 769 _mesa_debug(ctx, "%s(%d, %p)", func, n, semaphores); in _mesa_GenSemaphoresEXT() 781 if (!semaphores) in _mesa_GenSemaphoresEXT() 785 if (_mesa_HashFindFreeKeys(ctx->Shared->SemaphoreObjects, semaphores, n)) { in _mesa_GenSemaphoresEXT() 788 semaphores[i], &DummySemaphoreObject, true); in _mesa_GenSemaphoresEXT() 796 _mesa_DeleteSemaphoresEXT(GLsizei n, const GLuint *semaphores) in _mesa_DeleteSemaphoresEXT() argument 803 _mesa_debug(ctx, "%s(%d, %p)\n", func, n, semaphores); in _mesa_DeleteSemaphoresEXT() 816 if (!semaphores) in _mesa_DeleteSemaphoresEXT() 821 if (semaphores[i] > 0) { in _mesa_DeleteSemaphoresEXT() 823 = _mesa_lookup_semaphore_object_locked(ctx, semaphores[i]); in _mesa_DeleteSemaphoresEXT() [all …]
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/doc/ |
D | PresentSemaphores.md | 22 presentation, synchronizing GPU submissions with semaphores. A single frame looks like the 78 reuse) semaphores when they are provably unused. 80 This document describes an approach for destroying semaphores that should work with all valid PE 122 history of present semaphores for I1 would be `{SPX, SPY}` and we can destroy the oldest semaphore 124 history of the present semaphores for I1 would be `{SPX, SPY, SP(Y+1)}`. 126 In the Vulkan backend, we simplify destruction of semaphores by always keeping a history of 3 127 present semaphores for each image (again, 3 is H+1 where H is the swap history size used in CPU 146 > associated present semaphores) cannot be destroyed until V-Sync; a signal that's not captured by 150 present semaphores to the time when the semaphore corresponding to the first present of the new
|
/third_party/mesa3d/src/panfrost/vulkan/ |
D | panvk_vX_device.c | 208 uint32_t semaphores[nr_semaphores]; in panvk_per_arch() local 210 semaphores[0] = queue->sync; in panvk_per_arch() 216 semaphores[i + 1] = syncobj->syncobj; in panvk_per_arch() 278 memcpy(in_fences, semaphores, nr_semaphores * sizeof(*in_fences)); in panvk_per_arch()
|
/third_party/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/ |
D | coverage.txt | 3 Will not test the following error values of the semaphores because it is 8 -- ENFILE: Too many semaphores are currently open in the system.
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/wsi/ |
D | vktWsiSharedPresentableImageTests.cpp | 208 std::vector<vk::VkSemaphore>& semaphores) in initSemaphores() argument 210 for (size_t ndx = 0; ndx < semaphores.size(); ndx++) in initSemaphores() 211 semaphores[ndx] = createSemaphore(vkd, device).disown(); in initSemaphores() 216 std::vector<vk::VkSemaphore>& semaphores) in deinitSemaphores() argument 218 for (size_t ndx = 0; ndx < semaphores.size(); ndx++) in deinitSemaphores() 220 if (semaphores[ndx] != (vk::VkSemaphore)0) in deinitSemaphores() 221 vkd.destroySemaphore(device, semaphores[ndx], DE_NULL); in deinitSemaphores() 223 semaphores[ndx] = (vk::VkSemaphore)0; in deinitSemaphores() 226 semaphores.clear(); in deinitSemaphores()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/wsi/ |
D | vktWsiSharedPresentableImageTests.cpp | 208 std::vector<vk::VkSemaphore>& semaphores) in initSemaphores() argument 210 for (size_t ndx = 0; ndx < semaphores.size(); ndx++) in initSemaphores() 211 semaphores[ndx] = createSemaphore(vkd, device).disown(); in initSemaphores() 216 std::vector<vk::VkSemaphore>& semaphores) in deinitSemaphores() argument 218 for (size_t ndx = 0; ndx < semaphores.size(); ndx++) in deinitSemaphores() 220 if (semaphores[ndx] != (vk::VkSemaphore)0) in deinitSemaphores() 221 vkd.destroySemaphore(device, semaphores[ndx], DE_NULL); in deinitSemaphores() 223 semaphores[ndx] = (vk::VkSemaphore)0; in deinitSemaphores() 226 semaphores.clear(); in deinitSemaphores()
|