Home
last modified time | relevance | path

Searched refs:threadNdx (Results 1 – 8 of 8) sorted by relevance

/external/deqp/modules/egl/
DteglMultiThreadTests.cpp231 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in execTest() local
232 m_threads[threadNdx]->setStatus(TestThread::THREADSTATUS_NOT_SUPPORTED); in execTest()
235 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in execTest() local
246 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in execTest() local
247 m_threads[threadNdx]->setStatus(TestThread::THREADSTATUS_ERROR); in execTest()
250 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in execTest() local
279 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in ~MultiThreadedTest() local
280 delete m_threads[threadNdx]; in ~MultiThreadedTest()
344 for (int threadNdx = 0; threadNdx < m_threadCount; threadNdx++) in iterate() local
345 m_threads.push_back(new TestThread(*this, threadNdx)); in iterate()
[all …]
DteglColorClearCase.cpp363 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
365 packets[threadNdx].resize(numPacketsPerThread); in executeForContexts()
369 ClearPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts()
372 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts()
373 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts()
378 if (threadNdx == 0 && packetNdx == 0 && clearNdx == 0) in executeForContexts()
387 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
389threadNdx] = ColorClearThreadSp(new ColorClearThread(egl, display, surface, contexts[threadNdx].se… in executeForContexts()
390 threads[threadNdx]->start(); in executeForContexts()
412 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
[all …]
DteglGLES2SharingThreadedTests.cpp2170 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() local
2172 m_threads.push_back(new GLES2ThreadTest::EGLThread(egl, m_gl, deInt32Hash(m_seed+threadNdx))); in init()
2174 …SharedPtr<GLES2ThreadTest::GLES2Context> shared = (threadNdx > 0 ? resourceManager.popContext(0) :… in init()
2175 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, s… in init()
2184 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() local
2187 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglCo… in init()
2192 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() local
2194 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[threadNdx], m_eglDi… in init()
2200 for (int threadNdx = 0; threadNdx < m_config.threadCount; threadNdx++) in init() local
2202 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
[all …]
DteglGLES2SharedRenderingPerfTests.cpp862 …for (int threadNdx = 0; threadNdx < m_config.threadCount * m_config.perThreadContextCount; threadN… in init() local
863 …play, eglConfig, m_config, m_config.sharedContexts, (threadNdx == 0 ? DE_NULL : m_contexts[threadN… in init()
870 for (int threadNdx = 0; threadNdx < (int)m_contexts.size(); threadNdx++) in deinit() local
872 delete m_contexts[threadNdx]; in deinit()
873 m_contexts[threadNdx] = DE_NULL; in deinit()
896 for (int threadNdx = 0; threadNdx < threadCount; threadNdx++) in createThreads() local
899 threadContexts.push_back(contexts[threadNdx * perThreadContextCount + contextNdx]); in createThreads()
909 for (int threadNdx = 0; threadNdx < (int)threads.size(); threadNdx++) in destroyThreads() local
911 delete threads[threadNdx]; in destroyThreads()
912 threads[threadNdx] = DE_NULL; in destroyThreads()
[all …]
DteglRenderTests.cpp944 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
946 packets[threadNdx].resize(packetsPerThread); in executeForContexts()
950 DrawOpPacket& packet = packets[threadNdx][packetNdx]; in executeForContexts()
953 packet.wait = semaphores[packetNdx*numThreads + threadNdx]; in executeForContexts()
954 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1]; in executeForContexts()
956 packet.drawOps = &drawOps[(packetNdx*numThreads + threadNdx)*opsPerPacket]; in executeForContexts()
990 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
992threadNdx] = RenderTestThreadSp(new RenderTestThread(egl, display, surface, contexts[threadNdx].se… in executeForContexts()
993 threads[threadNdx]->start(); in executeForContexts()
1013 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++) in executeForContexts() local
[all …]
/external/deqp/framework/delibs/dethread/
DdeThreadTest.c558 int threadNdx; in runSingletonThreadedTest() local
562 for (threadNdx = 0; threadNdx < numThreads; threadNdx++) in runSingletonThreadedTest()
574 for (threadNdx = 0; threadNdx < numThreads; threadNdx++) in runSingletonThreadedTest()
576 deThread thread = deThreadArray_get(threads, threadNdx); in runSingletonThreadedTest()
/external/deqp/framework/delibs/decpp/
DdeSpinBarrier.cpp102 …TestThread (SpinBarrier& barrier, volatile deInt32* sharedVar, int numThreads, int threadNdx, bool… in TestThread() argument
106 , m_threadNdx (threadNdx) in TestThread()
/external/deqp/modules/gles31/functional/
Des31fAtomicCounterTests.cpp606 for (int threadNdx = 0; threadNdx < m_spec.threadCount; threadNdx++) in splitBuffer() local
612 …const int id = ((threadNdx * m_spec.callCount) + callNdx) * m_spec.atomicCounterCount + counterNdx; in splitBuffer()