Home | History | Annotate | Download | only in egl

Lines Matching refs:threadNdx

365 	for (int threadNdx = 0; threadNdx < numThreads; threadNdx++)
367 packets[threadNdx].resize(numPacketsPerThread);
371 ClearPacket& packet = packets[threadNdx][packetNdx];
374 packet.wait = semaphores[packetNdx*numThreads + threadNdx];
375 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1];
380 if (threadNdx == 0 && packetNdx == 0 && clearNdx == 0)
389 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++)
391 threads[threadNdx] = ColorClearThreadSp(new ColorClearThread(egl, display, surface, contexts[threadNdx].second, contexts[threadNdx].first, funcs, packets[threadNdx]));
392 threads[threadNdx]->start();
414 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++)
415 threads[threadNdx]->join();
420 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++)
422 const ClearPacket& packet = packets[threadNdx][packetNdx];