Lines Matching refs:m_threads
2217 std::vector<GLES2ThreadTest::EGLThread *> m_threads; member in deqp::egl::GLES2SharingRandomTest
2291 … m_threads.push_back(new GLES2ThreadTest::EGLThread(egl, m_gl, deInt32Hash(m_seed + threadNdx))); in init()
2295 m_threads[threadNdx]->addOperation( in init()
2308 m_threads[threadNdx]->addOperation( in init()
2316 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::MakeCurrent( in init()
2317 …*m_threads[threadNdx], m_eglDisplay, resourceManager.popSurface(0), resourceManager.popContext(0))… in init()
2325 … m_threads[threadNdx]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
2334 … m_threads[threadNdx]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_image")); in init()
2351 m_threads[threadNdx]->addOperation( in init()
2361 SharedPtr<GLES2ThreadTest::GLES2Context> context = m_threads[threadNdx]->context; in init()
2362 SharedPtr<GLES2ThreadTest::Surface> surface = m_threads[threadNdx]->surface; in init()
2364 m_threads[threadNdx]->addOperation( in init()
2365 …new GLES2ThreadTest::MakeCurrent(*m_threads[threadNdx], m_eglDisplay, SharedPtr<GLES2ThreadTest::S… in init()
2373 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in init()
2374 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroyContext(resourceManager.popContext(… in init()
2378 m_threads[threadNdx]->addOperation( in init()
2384 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in deinit()
2386 delete m_threads[threadNdx]; in deinit()
2387 m_threads[threadNdx] = nullptr; in deinit()
2390 m_threads.clear(); in deinit()
2403 int threadNdx = m_random.getUint32() % (uint32_t)m_threads.size(); in addRandomOperation()
2450 if (m_threads[threadNdx]->context->resourceManager->getBufferCount() > 0) in addRandomOperation()
2451 …destroyableBufferNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getB… in addRandomOperation()
2453 if (m_threads[threadNdx]->context->resourceManager->getTextureCount() > 0) in addRandomOperation()
2455 … m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getTextureCount(); in addRandomOperation()
2457 if (m_threads[threadNdx]->context->resourceManager->getShaderCount() > 0) in addRandomOperation()
2458 …destroyableShaderNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getS… in addRandomOperation()
2460 if (m_threads[threadNdx]->context->resourceManager->getProgramCount() > 0) in addRandomOperation()
2462 … m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getProgramCount(); in addRandomOperation()
2465 …for (int bufferNdx = 0; bufferNdx < m_threads[threadNdx]->context->resourceManager->getBufferCount… in addRandomOperation()
2468 m_threads[threadNdx]->context->resourceManager->getBuffer(bufferNdx); in addRandomOperation()
2480 …for (int textureNdx = 0; textureNdx < m_threads[threadNdx]->context->resourceManager->getTextureCo… in addRandomOperation()
2484 m_threads[threadNdx]->context->resourceManager->getTexture(textureNdx); in addRandomOperation()
2504 …for (int shaderNdx = 0; shaderNdx < m_threads[threadNdx]->context->resourceManager->getShaderCount… in addRandomOperation()
2507 m_threads[threadNdx]->context->resourceManager->getShader(shaderNdx); in addRandomOperation()
2538 …for (int programNdx = 0; programNdx < m_threads[threadNdx]->context->resourceManager->getProgramCo… in addRandomOperation()
2542 m_threads[threadNdx]->context->resourceManager->getProgram(programNdx); in addRandomOperation()
2605 if (m_threads[threadNdx]->context->resourceManager->getTextureCount() > 0) in addRandomOperation()
2742 m_threads[threadNdx]->addOperation( in addRandomOperation()
2744 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2751 m_threads[threadNdx]->context->resourceManager->popBuffer(destroyableBufferNdx); in addRandomOperation()
2752 m_threads[threadNdx]->addOperation( in addRandomOperation()
2760 m_threads[threadNdx]->context->resourceManager->popBuffer(destroyableBufferNdx); in addRandomOperation()
2761 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::BufferData( in addRandomOperation()
2763 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2770 m_threads[threadNdx]->context->resourceManager->popBuffer(definedBufferNdx); in addRandomOperation()
2771 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::BufferSubData( in addRandomOperation()
2773 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2780 m_threads[threadNdx]->addOperation( in addRandomOperation()
2782 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2787 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteTexture( in addRandomOperation()
2788 …m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx), m_config.useFen… in addRandomOperation()
2795 m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx); in addRandomOperation()
2796 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::TexImage2D( in addRandomOperation()
2798 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2805 m_threads[threadNdx]->context->resourceManager->popTexture(definedTextureNdx); in addRandomOperation()
2806 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::TexSubImage2D( in addRandomOperation()
2808 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2815 m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx); in addRandomOperation()
2816 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CopyTexImage2D( in addRandomOperation()
2818 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2825 m_threads[threadNdx]->context->resourceManager->popTexture(definedTextureNdx); in addRandomOperation()
2826 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D( in addRandomOperation()
2828 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2835 m_threads[threadNdx]->addOperation( in addRandomOperation()
2837 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2844 m_threads[threadNdx]->addOperation( in addRandomOperation()
2846 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2851 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteShader( in addRandomOperation()
2852 …m_threads[threadNdx]->context->resourceManager->popShader(destroyableShaderNdx), m_config.useFence… in addRandomOperation()
2872 m_threads[threadNdx]->context->resourceManager->popShader(destroyableShaderNdx); in addRandomOperation()
2873 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::ShaderSource( in addRandomOperation()
2876 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2883 m_threads[threadNdx]->context->resourceManager->popShader(definedShaderNdx); in addRandomOperation()
2884 m_threads[threadNdx]->addOperation( in addRandomOperation()
2886 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2893 m_threads[threadNdx]->addOperation( in addRandomOperation()
2895 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2900 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteProgram( in addRandomOperation()
2901 …m_threads[threadNdx]->context->resourceManager->popProgram(destroyableProgramNdx), m_config.useFen… in addRandomOperation()
2908 m_threads[threadNdx]->context->resourceManager->popProgram(attachProgramNdx); in addRandomOperation()
2910 m_threads[threadNdx]->context->resourceManager->popShader(attachShaderNdx); in addRandomOperation()
2912 m_threads[threadNdx]->addOperation( in addRandomOperation()
2915 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2916 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2923 m_threads[threadNdx]->context->resourceManager->popProgram(detachableProgramNdx); in addRandomOperation()
2924 m_threads[threadNdx]->addOperation( in addRandomOperation()
2926 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2933 m_threads[threadNdx]->context->resourceManager->popProgram(linkableProgramNdx); in addRandomOperation()
2934 m_threads[threadNdx]->addOperation( in addRandomOperation()
2936 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2944 m_threads[threadNdx]->context->resourceManager->popTexture(nonSiblingTextureNdx); in addRandomOperation()
2945 m_threads[threadNdx]->addOperation( in addRandomOperation()
2948 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2957 m_threads[threadNdx]->addOperation( in addRandomOperation()
2966 m_threads[threadNdx]->context->resourceManager->popTexture(destroyableTextureNdx); in addRandomOperation()
2968 m_threads[threadNdx]->addOperation( in addRandomOperation()
2970 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2989 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2990 m_threads[threadNdx]->exec(); in iterate()
3000 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3002 const tcu::ThreadUtil::Thread::ThreadStatus status = m_threads[threadNdx]->getStatus(); in iterate()
3009 if (readyThreads == (int)m_threads.size()) in iterate()
3011 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3012 m_threads[threadNdx]->join(); in iterate()
3020 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3022 … if (m_threads[threadNdx]->getStatus() != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING) in iterate()
3024 if (m_threads[threadNdx]->isStarted()) in iterate()
3025 m_threads[threadNdx]->join(); in iterate()
3040 std::vector<int> indices(m_threads.size(), 0); in iterate()
3052 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3054 if (m_threads[threadNdx]->getMessageCount() > indices[threadNdx]) in iterate()
3065 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3068 if (m_threads[threadNdx]->getMessageCount() <= indices[threadNdx]) in iterate()
3071 … if ((m_threads[threadNdx]->getMessage(indices[threadNdx]).getTime() - m_beginTimeUs) < in iterate()
3072 … (m_threads[firstThread]->getMessage(indices[firstThread]).getTime() - m_beginTimeUs)) in iterate()
3076 … tcu::ThreadUtil::Message message = m_threads[firstThread]->getMessage(indices[firstThread]); in iterate()
3090 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3092 const tcu::ThreadUtil::Thread::ThreadStatus status = m_threads[threadNdx]->getStatus(); in iterate()
3180 std::vector<GLES2ThreadTest::EGLThread *> m_threads; member in deqp::egl::GLES2ThreadedSharingTest
3237 m_threads.push_back(new GLES2ThreadTest::EGLThread(egl, m_gl, deInt32Hash(m_seed))); in init()
3238 m_threads.push_back(new GLES2ThreadTest::EGLThread(egl, m_gl, deInt32Hash(~m_seed))); in init()
3247 m_threads[0]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, in init()
3249 …m_threads[1]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, contex1, … in init()
3252 m_threads[0]->addOperation( in init()
3254 m_threads[1]->addOperation( in init()
3258 …m_threads[0]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, surface1,… in init()
3259 …m_threads[1]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[1], m_eglDisplay, surface2,… in init()
3263 m_threads[0]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
3264 m_threads[1]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
3298 m_threads[0]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, in init()
3301 m_threads[1]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, in init()
3306 m_threads[0]->addOperation(new GLES2ThreadTest::DestroyContext(contex1)); in init()
3307 m_threads[1]->addOperation(new GLES2ThreadTest::DestroyContext(contex2)); in init()
3310 m_threads[0]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, surface1)); in init()
3311 m_threads[1]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, surface2)); in init()
3337 m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, in addBufferOperations()
3339 … m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, in addBufferOperations()
3341 m_threads[0]->addOperation( in addBufferOperations()
3344 … m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, in addBufferOperations()
3346 … m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource, in addBufferOperations()
3348 m_threads[0]->addOperation( in addBufferOperations()
3351 m_threads[0]->addOperation( in addBufferOperations()
3353 m_threads[0]->addOperation( in addBufferOperations()
3355 m_threads[0]->addOperation( in addBufferOperations()
3358 m_threads[0]->addOperation( in addBufferOperations()
3364 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3369 …m_threads[0]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAM… in addBufferOperations()
3372 …m_threads[1]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAM… in addBufferOperations()
3379 … m_threads[0]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 17, 17, in addBufferOperations()
3382 … m_threads[1]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 17, 17, in addBufferOperations()
3388 m_threads[0]->addOperation( in addBufferOperations()
3390 m_threads[1]->addOperation( in addBufferOperations()
3396 …m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addBufferOperations()
3398 …m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addBufferOperations()
3401 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addBufferOperations()
3405 m_threads[0]->addOperation( in addBufferOperations()
3408 m_threads[1]->addOperation( in addBufferOperations()
3413 m_threads[0]->addOperation( in addBufferOperations()
3415 m_threads[0]->addOperation( in addBufferOperations()
3417 m_threads[0]->addOperation( in addBufferOperations()
3446 m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, in addTextureOperations()
3448 … m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, in addTextureOperations()
3450 m_threads[0]->addOperation( in addTextureOperations()
3453 … m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, in addTextureOperations()
3455 … m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource, in addTextureOperations()
3457 m_threads[0]->addOperation( in addTextureOperations()
3460 m_threads[0]->addOperation( in addTextureOperations()
3462 m_threads[0]->addOperation( in addTextureOperations()
3464 m_threads[0]->addOperation( in addTextureOperations()
3467 m_threads[0]->addOperation( in addTextureOperations()
3473 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3478 m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D( in addTextureOperations()
3481 m_threads[1]->addOperation(new GLES2ThreadTest::TexImage2D( in addTextureOperations()
3488 …m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 17, 17, 256, 2… in addTextureOperations()
3491 …m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 17, 17, 256, 2… in addTextureOperations()
3498 m_threads[0]->addOperation(new GLES2ThreadTest::TexSubImage2D( in addTextureOperations()
3501 m_threads[1]->addOperation(new GLES2ThreadTest::TexSubImage2D( in addTextureOperations()
3508 m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D( in addTextureOperations()
3511 m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D( in addTextureOperations()
3520 m_threads[0]->addOperation( in addTextureOperations()
3522 m_threads[1]->addOperation( in addTextureOperations()
3525 …m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addTextureOperations()
3527 …m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addTextureOperations()
3530 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addTextureOperations()
3534 m_threads[0]->addOperation( in addTextureOperations()
3537 m_threads[1]->addOperation( in addTextureOperations()
3542 m_threads[0]->addOperation( in addTextureOperations()
3544 m_threads[0]->addOperation( in addTextureOperations()
3546 m_threads[0]->addOperation( in addTextureOperations()
3558 m_threads[0]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_image")); in addImageOperations()
3559 m_threads[1]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_image")); in addImageOperations()
3578 m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, in addImageOperations()
3580 … m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, in addImageOperations()
3582 m_threads[0]->addOperation( in addImageOperations()
3585 … m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, in addImageOperations()
3587 … m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource, in addImageOperations()
3589 m_threads[0]->addOperation( in addImageOperations()
3592 m_threads[0]->addOperation( in addImageOperations()
3594 m_threads[0]->addOperation( in addImageOperations()
3596 m_threads[0]->addOperation( in addImageOperations()
3599 m_threads[0]->addOperation( in addImageOperations()
3607 m_threads[0]->addOperation( in addImageOperations()
3609 m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D( in addImageOperations()
3615 m_threads[0]->addOperation(new GLES2ThreadTest::CreateImageFromTexture( in addImageOperations()
3618 m_threads[1]->addOperation(new GLES2ThreadTest::CreateImageFromTexture( in addImageOperations()
3624 m_threads[0]->addOperation(new GLES2ThreadTest::CreateImageFromTexture( in addImageOperations()
3626 m_threads[0]->addOperation( in addImageOperations()
3630 m_threads[0]->addOperation(new GLES2ThreadTest::DefineTextureFromImage( in addImageOperations()
3633 m_threads[1]->addOperation(new GLES2ThreadTest::DefineTextureFromImage( in addImageOperations()
3637 m_threads[0]->addOperation( in addImageOperations()
3645 m_threads[0]->addOperation(new GLES2ThreadTest::TexSubImage2D( in addImageOperations()
3648 m_threads[1]->addOperation(new GLES2ThreadTest::TexSubImage2D( in addImageOperations()
3657 m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D( in addImageOperations()
3660 m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D( in addImageOperations()
3669 m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D( in addImageOperations()
3672 m_threads[1]->addOperation(new GLES2ThreadTest::TexImage2D( in addImageOperations()
3681 …m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 7, 7, 256, 256… in addImageOperations()
3684 …m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 7, 7, 256, 256… in addImageOperations()
3695 m_threads[0]->addOperation( in addImageOperations()
3697 m_threads[1]->addOperation( in addImageOperations()
3700 …m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addImageOperations()
3702 …m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addImageOperations()
3705 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addImageOperations()
3711 m_threads[0]->addOperation( in addImageOperations()
3714 m_threads[1]->addOperation( in addImageOperations()
3719 m_threads[0]->addOperation( in addImageOperations()
3722 m_threads[1]->addOperation( in addImageOperations()
3727 m_threads[0]->addOperation( in addImageOperations()
3729 m_threads[0]->addOperation( in addImageOperations()
3731 m_threads[0]->addOperation( in addImageOperations()
3740 m_threads[0]->addOperation( in addShaderOperations()
3757 m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource( in addShaderOperations()
3761 m_threads[1]->addOperation(new GLES2ThreadTest::ShaderSource( in addShaderOperations()
3769 m_threads[0]->addOperation( in addShaderOperations()
3772 m_threads[1]->addOperation( in addShaderOperations()
3779 m_threads[0]->addOperation( in addShaderOperations()
3782 m_threads[1]->addOperation( in addShaderOperations()
3808 m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, in addProgramOperations()
3810 … m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, in addProgramOperations()
3812 m_threads[0]->addOperation( in addProgramOperations()
3815 … m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, in addProgramOperations()
3817 … m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource, in addProgramOperations()
3819 m_threads[0]->addOperation( in addProgramOperations()
3825 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3832 m_threads[0]->addOperation( in addProgramOperations()
3834 m_threads[0]->addOperation( in addProgramOperations()
3839 m_threads[1]->addOperation( in addProgramOperations()
3841 m_threads[1]->addOperation( in addProgramOperations()
3850 m_threads[0]->addOperation( in addProgramOperations()
3853 m_threads[1]->addOperation( in addProgramOperations()
3862 m_threads[0]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_VERTEX_SHADER, in addProgramOperations()
3864 … m_threads[0]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_FRAGMENT_SHADER, in addProgramOperations()
3869 m_threads[1]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_VERTEX_SHADER, in addProgramOperations()
3871 … m_threads[1]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_FRAGMENT_SHADER, in addProgramOperations()
3882 m_threads[0]->addOperation( in addProgramOperations()
3885 m_threads[1]->addOperation( in addProgramOperations()
3890 m_threads[0]->addOperation( in addProgramOperations()
3892 m_threads[0]->addOperation( in addProgramOperations()
3899 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in deinit()
3901 delete m_threads[threadNdx]; in deinit()
3902 m_threads[threadNdx] = nullptr; in deinit()
3905 m_threads.clear(); in deinit()
3923 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3924 m_threads[threadNdx]->exec(); in iterate()
3934 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3936 const tcu::ThreadUtil::Thread::ThreadStatus status = m_threads[threadNdx]->getStatus(); in iterate()
3943 if (readyThreads == (int)m_threads.size()) in iterate()
3945 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3946 m_threads[threadNdx]->join(); in iterate()
3954 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3956 … if (m_threads[threadNdx]->getStatus() != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING) in iterate()
3957 m_threads[threadNdx]->join(); in iterate()
3971 std::vector<int> indices(m_threads.size(), 0); in iterate()
3983 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3985 if (m_threads[threadNdx]->getMessageCount() > indices[threadNdx]) in iterate()
3996 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3999 if (m_threads[threadNdx]->getMessageCount() <= indices[threadNdx]) in iterate()
4002 … if ((m_threads[threadNdx]->getMessage(indices[threadNdx]).getTime() - m_beginTimeUs) < in iterate()
4003 … (m_threads[firstThread]->getMessage(indices[firstThread]).getTime() - m_beginTimeUs)) in iterate()
4007 … tcu::ThreadUtil::Message message = m_threads[firstThread]->getMessage(indices[firstThread]); in iterate()
4021 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
4023 const tcu::ThreadUtil::Thread::ThreadStatus status = m_threads[threadNdx]->getStatus(); in iterate()