Home
last modified time | relevance | path

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

12345

/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/skqp/tests/
DSurfaceSemaphoreTest.cpp126 SkAutoTArray<GrBackendSemaphore> semaphores(2); in surface_semaphore_test() local
142 semaphores[1].initVulkan(vkSem); in surface_semaphore_test()
147 mainCtx->flushAndSignalSemaphores(2, semaphores.get()); in surface_semaphore_test()
149 mainSurface->flushAndSignalSemaphores(2, semaphores.get()); in surface_semaphore_test()
155 draw_child(reporter, childInfo1, backendTexture, semaphores[0]); in surface_semaphore_test()
168 draw_child(reporter, childInfo2, backendTexture, semaphores[1]); in surface_semaphore_test()
/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.cpp904 std::vector<Move<VkSemaphore> >& semaphores, in addSemaphore()
915 if (semaphores.empty()) in addSemaphore()
917semaphores.push_back(createExportableSemaphoreType(vk, device, m_semaphoreType, m_semaphoreHandleT… in addSemaphore()
923semaphores.push_back(createExportableSemaphoreType(vk, device, m_semaphoreType, m_semaphoreHandleT… in addSemaphore()
925 semaphores.push_back(createSemaphoreType(vk, device, m_semaphoreType)); in addSemaphore()
928 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/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/skia/src/gpu/
DGrWaitRenderTask.h17 std::unique_ptr<std::unique_ptr<GrSemaphore>[]> semaphores, in GrWaitRenderTask() argument
20 , fSemaphores(std::move(semaphores)) in GrWaitRenderTask()
DGrGpu.cpp592 std::unique_ptr<std::unique_ptr<GrSemaphore>[]> semaphores( in executeFlushInfo() local
597 semaphores[i] = resourceProvider->wrapBackendSemaphore( in executeFlushInfo()
603 if (semaphores[i]) { in executeFlushInfo()
604 this->insertSemaphore(semaphores[i].get()); in executeFlushInfo()
607 semaphores[i] = resourceProvider->makeSemaphore(false); in executeFlushInfo()
608 if (semaphores[i]) { in executeFlushInfo()
609 this->insertSemaphore(semaphores[i].get()); in executeFlushInfo()
610 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.cpp135 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()
/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/angle/src/libANGLE/renderer/vulkan/doc/
DPresentSemaphores.md22 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
/external/libcap/doc/values/
D21.txt18 - removing semaphores
20 queues, semaphores and shared memory
/external/llvm-project/llvm/utils/lit/lit/
Drun.py65 semaphores = {k: multiprocessing.BoundedSemaphore(v)
70 (self.lit_config, semaphores))
/external/deqp/external/vulkancts/modules/vulkan/wsi/
DvktWsiSharedPresentableImageTests.cpp206 std::vector<vk::VkSemaphore>& semaphores) in initSemaphores() argument
208 for (size_t ndx = 0; ndx < semaphores.size(); ndx++) in initSemaphores()
209 semaphores[ndx] = createSemaphore(vkd, device).disown(); in initSemaphores()
214 std::vector<vk::VkSemaphore>& semaphores) in deinitSemaphores() argument
216 for (size_t ndx = 0; ndx < semaphores.size(); ndx++) in deinitSemaphores()
218 if (semaphores[ndx] != (vk::VkSemaphore)0) in deinitSemaphores()
219 vkd.destroySemaphore(device, semaphores[ndx], DE_NULL); in deinitSemaphores()
221 semaphores[ndx] = (vk::VkSemaphore)0; in deinitSemaphores()
224 semaphores.clear(); in deinitSemaphores()
DvktWsiIncrementalPresentTests.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()
DvktWsiDisplayTimingTests.cpp192 std::vector<vk::VkSemaphore>& semaphores) in initSemaphores() argument
194 for (size_t ndx = 0; ndx < semaphores.size(); ndx++) in initSemaphores()
195 semaphores[ndx] = createSemaphore(vkd, device).disown(); in initSemaphores()
200 std::vector<vk::VkSemaphore>& semaphores) in deinitSemaphores() argument
202 for (size_t ndx = 0; ndx < semaphores.size(); ndx++) in deinitSemaphores()
204 if (semaphores[ndx] != (vk::VkSemaphore)0) in deinitSemaphores()
205 vkd.destroySemaphore(device, semaphores[ndx], DE_NULL); in deinitSemaphores()
207 semaphores[ndx] = (vk::VkSemaphore)0; in deinitSemaphores()
210 semaphores.clear(); in deinitSemaphores()
/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/client/site_tests/security_SysVIPC/
Dcontrol10 CRITERIA = "Fails if shm, mqueues, or semaphores do not match expectations."
/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/pigweed/pw_chrono/
Ddocs.rst17 bound operations such as thread sleeping, waiting on mutexes/semaphores, etc.
/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