• Home
  • Raw
  • Download

Lines Matching refs:threadIndex

94 		int threadIndex;  member
617 int threadIndex = static_cast<Parameters*>(parameters)->threadIndex; in threadFunction() local
625 renderer->threadLoop(threadIndex); in threadFunction()
628 void Renderer::threadLoop(int threadIndex) in threadLoop() argument
632 taskLoop(threadIndex); in threadLoop()
634 suspend[threadIndex]->signal(); in threadLoop()
635 resume[threadIndex]->wait(); in threadLoop()
639 void Renderer::taskLoop(int threadIndex) in taskLoop() argument
641 while(task[threadIndex].type != Task::SUSPEND) in taskLoop()
643 scheduleTask(threadIndex); in taskLoop()
644 executeTask(threadIndex); in taskLoop()
732 void Renderer::scheduleTask(int threadIndex) in scheduleTask() argument
745 task[threadIndex] = taskQueue[(qHead - qSize) & TASK_COUNT_BITS]; in scheduleTask()
768 task[threadIndex].type = Task::SUSPEND; in scheduleTask()
776 void Renderer::executeTask(int threadIndex) in executeTask() argument
782 switch(task[threadIndex].type) in executeTask()
786 int unit = task[threadIndex].primitiveUnit; in executeTask()
793 processPrimitiveVertices(unit, input, count, draw->count, threadIndex); in executeTask()
797 vertexTime[threadIndex] += time - startTick; in executeTask()
812 setupTime[threadIndex] += Timer::ticks() - startTick; in executeTask()
818 int unit = task[threadIndex].primitiveUnit; in executeTask()
823 int cluster = task[threadIndex].pixelCluster; in executeTask()
832 finishRendering(task[threadIndex]); in executeTask()
835 pixelTime[threadIndex] += Timer::ticks() - startTick; in executeTask()
1678 parameters.threadIndex = i; in initializeThreads()