Home
last modified time | relevance | path

Searched refs:semaphores (Results 1 – 25 of 109) sorted by relevance

12345

/external/rust/crates/vulkano/src/command_buffer/submit/
Dsemaphores_wait.rs23 semaphores: SmallVec<[&'a Semaphore; 8]>, field
31 semaphores: SmallVec::new(), in new()
40 self.semaphores.push(semaphore); in add_wait_semaphore()
46 self.semaphores.extend(other.semaphores.drain(..)); in merge()
55 for sem in self.semaphores.drain(..) { in into()
75 for sem in self.semaphores.drain(..) { in into()
/external/angle/src/tests/gl_tests/
DSemaphoreTest.cpp36 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()
/external/angle/extensions/
DEGL_ANGLE_display_semaphore_share_group.txt37 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
/external/mesa3d/src/mesa/main/
Dexternalobjects.c579 _mesa_GenSemaphoresEXT(GLsizei n, GLuint *semaphores) in _mesa_GenSemaphoresEXT() argument
586 _mesa_debug(ctx, "%s(%d, %p)", func, n, semaphores); in _mesa_GenSemaphoresEXT()
598 if (!semaphores) in _mesa_GenSemaphoresEXT()
602 if (_mesa_HashFindFreeKeys(ctx->Shared->SemaphoreObjects, semaphores, n)) { in _mesa_GenSemaphoresEXT()
605 semaphores[i], &DummySemaphoreObject, true); in _mesa_GenSemaphoresEXT()
613 _mesa_DeleteSemaphoresEXT(GLsizei n, const GLuint *semaphores) in _mesa_DeleteSemaphoresEXT() argument
620 _mesa_debug(ctx, "%s(%d, %p)\n", func, n, semaphores); in _mesa_DeleteSemaphoresEXT()
633 if (!semaphores) in _mesa_DeleteSemaphoresEXT()
638 if (semaphores[i] > 0) { in _mesa_DeleteSemaphoresEXT()
640 = _mesa_lookup_semaphore_object_locked(ctx, semaphores[i]); in _mesa_DeleteSemaphoresEXT()
[all …]
Dexternalobjects.h215 _mesa_GenSemaphoresEXT(GLsizei n, GLuint *semaphores);
218 _mesa_DeleteSemaphoresEXT(GLsizei n, const GLuint *semaphores);
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationTimelineSemaphoreTests.cpp180 std::vector<VkSemaphore> semaphores; in iterate() local
185 semaphores.push_back((*semaphorePtrs[i]).get()); in iterate()
192 for (deUint32 semIdx = 0; semIdx < semaphores.size(); semIdx++) in iterate()
196 deviceSignal(vk, device, queue, *fence, m_type, semaphores[semIdx], timelineValues[semIdx]); in iterate()
200 hostSignal(vk, device, semaphores[semIdx], timelineValues[semIdx]); in iterate()
205 deUint32 randomIdx = rng.getInt(0, (deUint32)(semaphores.size() - 1)); in iterate()
208 … deviceSignal(vk, device, queue, *fence, m_type, semaphores[randomIdx], timelineValues[randomIdx]); in iterate()
210 hostSignal(vk, device, semaphores[randomIdx], timelineValues[randomIdx]); in iterate()
219 (deUint32) semaphores.size(), // deUint32 semaphoreCount; in iterate()
220 &semaphores[0], // const VkSemaphore* pSemaphores; in iterate()
[all …]
DvktSynchronizationSignalOrderTests.cpp906 std::vector<Move<VkSemaphore> >& semaphores, in addSemaphore()
917 if (semaphores.empty()) in addSemaphore()
919semaphores.push_back(createExportableSemaphoreType(vk, device, m_semaphoreType, m_semaphoreHandleT… in addSemaphore()
925semaphores.push_back(createExportableSemaphoreType(vk, device, m_semaphoreType, m_semaphoreHandleT… in addSemaphore()
927 semaphores.push_back(createSemaphoreType(vk, device, m_semaphoreType)); in addSemaphore()
930 semaphoreHandles.push_back(*semaphores.back()); in addSemaphore()
1568 std::vector<Move<VkSemaphore> >& semaphores, in addSemaphore()
1578 if (semaphores.empty()) in addSemaphore()
1580 semaphores.push_back(createSemaphoreType(vk, device, m_semaphoreType)); in addSemaphore()
1585 semaphores.push_back(createSemaphoreType(vk, device, m_semaphoreType)); in addSemaphore()
[all …]
/external/skia/src/gpu/ganesh/
DGrWaitRenderTask.h17 std::unique_ptr<std::unique_ptr<GrSemaphore>[]> semaphores, in GrWaitRenderTask() argument
20 , fSemaphores(std::move(semaphores)) in GrWaitRenderTask()
DGrGpu.cpp688 std::unique_ptr<std::unique_ptr<GrSemaphore>[]> semaphores( in executeFlushInfo() local
693 semaphores[i] = resourceProvider->wrapBackendSemaphore( in executeFlushInfo()
699 if (semaphores[i]) { in executeFlushInfo()
700 this->insertSemaphore(semaphores[i].get()); in executeFlushInfo()
703 semaphores[i] = resourceProvider->makeSemaphore(false); in executeFlushInfo()
704 if (semaphores[i]) { in executeFlushInfo()
705 this->insertSemaphore(semaphores[i].get()); in executeFlushInfo()
706 info.fSignalSemaphores[i] = semaphores[i]->backendSemaphore(); in executeFlushInfo()
/external/deqp/modules/egl/
DteglColorClearCase.cpp356 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()
DteglRenderTests.cpp962 vector<SemaphoreSp> semaphores (numPackets+1); in executeForContexts() local
977 for (vector<SemaphoreSp>::iterator sem = semaphores.begin(); sem != semaphores.end(); ++sem) in executeForContexts()
994 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts()
995 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts()
1038 semaphores.front()->increment(); in executeForContexts()
1039 semaphores.back()->decrement(); in executeForContexts()
/external/skia/tests/
DSurfaceSemaphoreTest.cpp161 AutoTArray<GrBackendSemaphore> semaphores(2); in surface_semaphore_test() local
176 semaphores[1].initVulkan(vkSem); in surface_semaphore_test()
182 info.fSignalSemaphores = semaphores.get(); in surface_semaphore_test()
199 draw_child(reporter, childInfo1, backendTexture, semaphores[0]); in surface_semaphore_test()
210 draw_child(reporter, childInfo2, backendTexture, semaphores[1]); in surface_semaphore_test()
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_open/
Dcoverage.txt3 Will not test the following error values of the semaphores because it is
8 -- ENFILE: Too many semaphores are currently open in the system.
/external/libcap/doc/values/
D21.txt18 - removing semaphores
20 queues, semaphores and shared memory
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSharedPresentableImageTests.cpp208 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()
DvktWsiIncrementalPresentTests.cpp196 std::vector<vk::VkSemaphore>& semaphores) in initSemaphores() argument
198 for (size_t ndx = 0; ndx < semaphores.size(); ndx++) in initSemaphores()
199 semaphores[ndx] = createSemaphore(vkd, device).disown(); in initSemaphores()
204 std::vector<vk::VkSemaphore>& semaphores) in deinitSemaphores() argument
206 for (size_t ndx = 0; ndx < semaphores.size(); ndx++) in deinitSemaphores()
208 if (semaphores[ndx] != (vk::VkSemaphore)0) in deinitSemaphores()
209 vkd.destroySemaphore(device, semaphores[ndx], DE_NULL); in deinitSemaphores()
211 semaphores[ndx] = (vk::VkSemaphore)0; in deinitSemaphores()
214 semaphores.clear(); in deinitSemaphores()
DvktWsiDisplayTimingTests.cpp194 std::vector<vk::VkSemaphore>& semaphores) in initSemaphores() argument
196 for (size_t ndx = 0; ndx < semaphores.size(); ndx++) in initSemaphores()
197 semaphores[ndx] = createSemaphore(vkd, device).disown(); in initSemaphores()
202 std::vector<vk::VkSemaphore>& semaphores) in deinitSemaphores() argument
204 for (size_t ndx = 0; ndx < semaphores.size(); ndx++) in deinitSemaphores()
206 if (semaphores[ndx] != (vk::VkSemaphore)0) in deinitSemaphores()
207 vkd.destroySemaphore(device, semaphores[ndx], DE_NULL); in deinitSemaphores()
209 semaphores[ndx] = (vk::VkSemaphore)0; in deinitSemaphores()
212 semaphores.clear(); in deinitSemaphores()
DvktWsiDisplayControlTests.cpp273 std::vector<VkSemaphore>& semaphores) in initSemaphores() argument
275 for (VkSemaphore& semaphore : semaphores) in initSemaphores()
281 std::vector<VkSemaphore>& semaphores) in deinitSemaphores() argument
283 for (VkSemaphore& semaphore : semaphores) in deinitSemaphores()
292 semaphores.clear(); in deinitSemaphores()
/external/deqp/external/vulkancts/modules/vulkan/sc/
DvktDeviceObjectReservationTests.cpp921 std::vector<SemaphoreSp> semaphores(2u); in performTest() local
922 createSemaphores(vkd, device, begin(semaphores), end(semaphores)); in performTest()
1408 std::vector<SemaphoreSp> semaphores(VERIFYMAXVALUES_OBJECT_COUNT); in performTest() local
1409 createSemaphores(vkd, device, begin(semaphores), end(semaphores)); in performTest()
1410 std::fill(begin(semaphores) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(semaphores), SemaphoreSp()); in performTest()
1411 …createSemaphores(vkd, device, begin(semaphores) + VERIFYMAXVALUES_OBJECT_COUNT / 2, end(semaphores in performTest()
1412 std::fill(begin(semaphores), end(semaphores), SemaphoreSp()); in performTest()
1413 createSemaphores(vkd, device, begin(semaphores), end(semaphores)); in performTest()
/external/autotest/client/site_tests/graphics_parallel_dEQP/boards/
Dbroxton-flakes.txt6 # Something wrong with semaphores
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sem_wait/
Dcoverage.txt2 Will not test the following error values of the semaphores because it is
/external/autotest/utils/named_semaphore/
DREADME2 using named semaphores. To compile, run:
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/
Dcoverage.txt13 NOTE: In a lot of these test, I didn't make use of semaphores or mutexes, but
/external/python/cpython2/Doc/library/
Dthread.rst17 single: binary semaphores
18 single: semaphores, binary
23 (also called :dfn:`mutexes` or :dfn:`binary semaphores`) are provided.
/external/ltp/testcases/open_posix_testsuite/Documentation/
DCOVERAGE.semaphores46 file: cln.sh is a file to clean any open semaphores on the system if they remain

12345