Lines Matching refs:threadIdx
74 for (size_t threadIdx = 0; threadIdx < threadCount; threadIdx++) in runMultithreadedGLTest() local
76 threads[threadIdx] = std::thread([&, threadIdx]() { in runMultithreadedGLTest()
97 testBody(surface, threadIdx); in runMultithreadedGLTest()
512 for (size_t threadIdx = 0; threadIdx < kThreadCount; threadIdx++) in TEST_P() local
514 threads[threadIdx] = std::thread([&, threadIdx]() { in TEST_P()
515 contexts[threadIdx] = EGL_NO_CONTEXT; in TEST_P()
517 contexts[threadIdx] = createMultithreadedContext(window, EGL_NO_CONTEXT); in TEST_P()
518 EXPECT_NE(EGL_NO_CONTEXT, contexts[threadIdx]); in TEST_P()
528 EXPECT_TRUE(eglDestroyContext(dpy, contexts[threadIdx])); in TEST_P()
597 for (size_t threadIdx = 0; threadIdx < threadCount; threadIdx++) in TEST_P() local
599 threads[threadIdx] = std::thread([&, threadIdx]() { in TEST_P()
639 const GLColor color(static_cast<GLubyte>(threadIdx % 255), in TEST_P()