Lines Matching refs:threadNdx
923 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++)
925 packets[threadNdx].resize(packetsPerThread);
929 DrawOpPacket& packet = packets[threadNdx][packetNdx];
932 packet.wait = semaphores[packetNdx*numThreads + threadNdx];
933 packet.signal = semaphores[packetNdx*numThreads + threadNdx + 1];
935 packet.drawOps = &drawOps[(packetNdx*numThreads + threadNdx)*opsPerPacket];
970 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++)
972 threads[threadNdx] = RenderTestThreadSp(new RenderTestThread(display, surface, *contexts[threadNdx].second, contexts[threadNdx].first, *programs[threadNdx], packets[threadNdx]));
973 threads[threadNdx]->start();
992 for (int threadNdx = 0; threadNdx < numThreads; threadNdx++)
993 threads[threadNdx]->join();