Lines Matching refs:m_threads

2094 	std::vector<GLES2ThreadTest::EGLThread*>	m_threads;  member in deqp::egl::GLES2SharingRandomTest
2172 m_threads.push_back(new GLES2ThreadTest::EGLThread(egl, m_gl, deInt32Hash(m_seed+threadNdx))); in init()
2175m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, s… in init()
2187m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglCo… in init()
2194m_threads[threadNdx]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[threadNdx], m_eglDi… in init()
2202 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
2211 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_image")); in init()
2228m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync,… in init()
2237 SharedPtr<GLES2ThreadTest::GLES2Context> context = m_threads[threadNdx]->context; in init()
2238 SharedPtr<GLES2ThreadTest::Surface> surface = m_threads[threadNdx]->surface; in init()
2240m_threads[threadNdx]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[threadNdx], m_eglDi… in init()
2247 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in init()
2248m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroyContext(resourceManager.popContext(… in init()
2252m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, resourceManag… in init()
2257 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in deinit()
2259 delete m_threads[threadNdx]; in deinit()
2260 m_threads[threadNdx] = DE_NULL; in deinit()
2263 m_threads.clear(); in deinit()
2276 int threadNdx = m_random.getUint32() % (deUint32)m_threads.size(); in addRandomOperation()
2323 if (m_threads[threadNdx]->context->resourceManager->getBufferCount() > 0) in addRandomOperation()
2324 …destroyableBufferNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getB… in addRandomOperation()
2326 if (m_threads[threadNdx]->context->resourceManager->getTextureCount() > 0) in addRandomOperation()
2327 …destroyableTextureNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->get… in addRandomOperation()
2329 if (m_threads[threadNdx]->context->resourceManager->getShaderCount() > 0) in addRandomOperation()
2330 …destroyableShaderNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getS… in addRandomOperation()
2332 if (m_threads[threadNdx]->context->resourceManager->getProgramCount() > 0) in addRandomOperation()
2333 …destroyableProgramNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->get… in addRandomOperation()
2336 …for (int bufferNdx = 0; bufferNdx < m_threads[threadNdx]->context->resourceManager->getBufferCount… in addRandomOperation()
2338 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->getBuf… in addRandomOperation()
2350 …for (int textureNdx = 0; textureNdx < m_threads[threadNdx]->context->resourceManager->getTextureCo… in addRandomOperation()
2352 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->getT… in addRandomOperation()
2373 …for (int shaderNdx = 0; shaderNdx < m_threads[threadNdx]->context->resourceManager->getShaderCount… in addRandomOperation()
2375 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->getSha… in addRandomOperation()
2406 …for (int programNdx = 0; programNdx < m_threads[threadNdx]->context->resourceManager->getProgramCo… in addRandomOperation()
2408 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->getP… in addRandomOperation()
2471 if (m_threads[threadNdx]->context->resourceManager->getTextureCount() > 0) in addRandomOperation()
2607m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateBuffer(buffer, m_config.useFenceSync… in addRandomOperation()
2608 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2614 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->popBuf… in addRandomOperation()
2615m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync… in addRandomOperation()
2621 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->popBuf… in addRandomOperation()
2622m_threads[threadNdx]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, … in addRandomOperation()
2623 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2629 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->popBuf… in addRandomOperation()
2630m_threads[threadNdx]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 1, … in addRandomOperation()
2631 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2638m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSy… in addRandomOperation()
2639 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2644m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteTexture(m_threads[threadNdx]->contex… in addRandomOperation()
2649 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2650m_threads[threadNdx]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 400, 400, … in addRandomOperation()
2651 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2657 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2658m_threads[threadNdx]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 30, 30, 50, 50, … in addRandomOperation()
2659 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2665 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2666m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 20, 20… in addRandomOperation()
2667 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2673 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2674m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 10, 10, 30, … in addRandomOperation()
2675 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2682m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, shader, m_c… in addRandomOperation()
2683 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2690m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, shader, m… in addRandomOperation()
2691 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2696m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteShader(m_threads[threadNdx]->context… in addRandomOperation()
2716 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->popSha… in addRandomOperation()
2717m_threads[threadNdx]->addOperation(new GLES2ThreadTest::ShaderSource(shader, (shader->type == GL_V… in addRandomOperation()
2718 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2724 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->popSha… in addRandomOperation()
2725m_threads[threadNdx]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSyn… in addRandomOperation()
2726 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2733m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSy… in addRandomOperation()
2734 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2739m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteProgram(m_threads[threadNdx]->contex… in addRandomOperation()
2744 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popP… in addRandomOperation()
2745 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->popSha… in addRandomOperation()
2747m_threads[threadNdx]->addOperation(new GLES2ThreadTest::AttachShader(program, shader, m_config.use… in addRandomOperation()
2749 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2750 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2756 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popP… in addRandomOperation()
2757m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DetachShader(program, detachShaderType, m_… in addRandomOperation()
2758 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2764 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popP… in addRandomOperation()
2765m_threads[threadNdx]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync… in addRandomOperation()
2766 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2773 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2774m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, texture, m_c… in addRandomOperation()
2776 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2785m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync,… in addRandomOperation()
2792 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2794m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_c… in addRandomOperation()
2795 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2814 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2815 m_threads[threadNdx]->exec(); in iterate()
2825 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2827 const tcu::ThreadUtil::Thread::ThreadStatus status = m_threads[threadNdx]->getStatus(); in iterate()
2833 if (readyThreads == (int)m_threads.size()) in iterate()
2835 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2836 m_threads[threadNdx]->join(); in iterate()
2844 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2846 if (m_threads[threadNdx]->getStatus() != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING) in iterate()
2848 if (m_threads[threadNdx]->isStarted()) in iterate()
2849 m_threads[threadNdx]->join(); in iterate()
2864 std::vector<int> indices(m_threads.size(), 0); in iterate()
2874 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2876 if (m_threads[threadNdx]->getMessageCount() > indices[threadNdx]) in iterate()
2887 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2890 if (m_threads[threadNdx]->getMessageCount() <= indices[threadNdx]) in iterate()
2893 …if ((m_threads[threadNdx]->getMessage(indices[threadNdx]).getTime() - m_beginTimeUs) < (m_threads[… in iterate()
2897 tcu::ThreadUtil::Message message = m_threads[firstThread]->getMessage(indices[firstThread]); in iterate()
2909 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2911 const tcu::ThreadUtil::Thread::ThreadStatus status = m_threads[threadNdx]->getStatus(); in iterate()
2998 std::vector<GLES2ThreadTest::EGLThread*> m_threads; member in deqp::egl::GLES2ThreadedSharingTest
3059 m_threads.push_back(new GLES2ThreadTest::EGLThread(egl, m_gl, deInt32Hash(m_seed))); in init()
3060 m_threads.push_back(new GLES2ThreadTest::EGLThread(egl, m_gl, deInt32Hash(m_seed*200))); in init()
3069m_threads[0]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, SharedPtr… in init()
3070m_threads[1]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, contex1, … in init()
3073m_threads[0]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglConfig, 40… in init()
3074m_threads[1]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglConfig, 40… in init()
3077m_threads[0]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, surface1,… in init()
3078m_threads[1]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[1], m_eglDisplay, surface2,… in init()
3082 m_threads[0]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
3083 m_threads[1]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
3118m_threads[0]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, SharedPtr… in init()
3119m_threads[1]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, SharedPtr… in init()
3122 m_threads[0]->addOperation(new GLES2ThreadTest::DestroyContext(contex1)); in init()
3123 m_threads[1]->addOperation(new GLES2ThreadTest::DestroyContext(contex2)); in init()
3126 m_threads[0]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, surface1)); in init()
3127 m_threads[1]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, surface2)); in init()
3155m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addBufferOperations()
3156m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addBufferOperations()
3157m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addBufferOperations()
3159m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addBufferOperations()
3160m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addBufferOperations()
3161m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addBufferOperations()
3163m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addBufferOperations()
3164m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addBufferOperations()
3165m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addBufferOperations()
3167m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addBufferOperations()
3172m_threads[0]->addOperation(new GLES2ThreadTest::CreateBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3177m_threads[0]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAM… in addBufferOperations()
3179m_threads[1]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAM… in addBufferOperations()
3185m_threads[0]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 17, 17, m_c… in addBufferOperations()
3187m_threads[1]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 17, 17, m_c… in addBufferOperations()
3192m_threads[0]->addOperation(new GLES2ThreadTest::RenderBuffer(program, buffer, m_config.useFenceSyn… in addBufferOperations()
3193m_threads[1]->addOperation(new GLES2ThreadTest::RenderBuffer(program, buffer, m_config.useFenceSyn… in addBufferOperations()
3198m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addBufferOperations()
3199m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addBufferOperations()
3201 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addBufferOperations()
3205m_threads[0]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3207m_threads[1]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3211m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addBufferOperations()
3212m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addBufferOperations()
3213m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addBufferOperations()
3243m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addTextureOperations()
3244m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addTextureOperations()
3245m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addTextureOperations()
3247m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addTextureOperations()
3248m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addTextureOperations()
3249m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addTextureOperations()
3251m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addTextureOperations()
3252m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addTextureOperations()
3253m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addTextureOperations()
3255m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addTextureOperations()
3260m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3265m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addTextureOperations()
3267m_threads[1]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addTextureOperations()
3273m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 17, 17, 256, 2… in addTextureOperations()
3275m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 17, 17, 256, 2… in addTextureOperations()
3281m_threads[0]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addTextureOperations()
3283m_threads[1]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addTextureOperations()
3289m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addTextureOperations()
3291m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addTextureOperations()
3299m_threads[0]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addTextureOperations()
3300m_threads[1]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addTextureOperations()
3302m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addTextureOperations()
3303m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addTextureOperations()
3305 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addTextureOperations()
3309m_threads[0]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3311m_threads[1]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3315m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addTextureOperations()
3316m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addTextureOperations()
3317m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addTextureOperations()
3328 m_threads[0]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_image")); in addImageOperations()
3329 m_threads[1]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_image")); in addImageOperations()
3350m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addImageOperations()
3351m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addImageOperations()
3352m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addImageOperations()
3354m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addImageOperations()
3355m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addImageOperations()
3356m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addImageOperations()
3358m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addImageOperations()
3359m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addImageOperations()
3360m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addImageOperations()
3362m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addImageOperations()
3369m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(sourceTexture, m_config.useFenceSync… in addImageOperations()
3370m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D(sourceTexture, 0, GL_RGBA, 256, 256, GL… in addImageOperations()
3375m_threads[0]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_con… in addImageOperations()
3377m_threads[1]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_con… in addImageOperations()
3382m_threads[0]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_con… in addImageOperations()
3383m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSync, m_co… in addImageOperations()
3386m_threads[0]->addOperation(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_config.us… in addImageOperations()
3388m_threads[1]->addOperation(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_config.us… in addImageOperations()
3391m_threads[0]->addOperation(new GLES2ThreadTest::DeleteTexture(sourceTexture, m_config.useFenceSync… in addImageOperations()
3398m_threads[0]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addImageOperations()
3400m_threads[1]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addImageOperations()
3408m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addImageOperations()
3410m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addImageOperations()
3418m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addImageOperations()
3420m_threads[1]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addImageOperations()
3428m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 7, 7, 256, 256… in addImageOperations()
3430m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 7, 7, 256, 256… in addImageOperations()
3440m_threads[0]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addImageOperations()
3441m_threads[1]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addImageOperations()
3443m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addImageOperations()
3444m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addImageOperations()
3446 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addImageOperations()
3452m_threads[0]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addImageOperations()
3454m_threads[1]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addImageOperations()
3458m_threads[0]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync, m_confi… in addImageOperations()
3460m_threads[1]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync, m_confi… in addImageOperations()
3464m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addImageOperations()
3465m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addImageOperations()
3466m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addImageOperations()
3474m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(type, shader, m_config.useFenceSync, … in addShaderOperations()
3492m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(shader, (type == GL_VERTEX_SHADER ? v… in addShaderOperations()
3494m_threads[1]->addOperation(new GLES2ThreadTest::ShaderSource(shader, (type == GL_VERTEX_SHADER ? v… in addShaderOperations()
3500m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSync, m_con… in addShaderOperations()
3502m_threads[1]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSync, m_con… in addShaderOperations()
3508m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(shader, m_config.useFenceSync, m_conf… in addShaderOperations()
3510m_threads[1]->addOperation(new GLES2ThreadTest::DeleteShader(shader, m_config.useFenceSync, m_conf… in addShaderOperations()
3537m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addProgramOperations()
3538m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addProgramOperations()
3539m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addProgramOperations()
3541m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addProgramOperations()
3542m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addProgramOperations()
3543m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addProgramOperations()
3548m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3555m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addProgramOperations()
3556m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addProgramOperations()
3560m_threads[1]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addProgramOperations()
3561m_threads[1]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addProgramOperations()
3569m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addProgramOperations()
3571m_threads[1]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addProgramOperations()
3579m_threads[0]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_VERTEX_SHADER, m_config.u… in addProgramOperations()
3580m_threads[0]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_FRAGMENT_SHADER, m_config… in addProgramOperations()
3584m_threads[1]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_VERTEX_SHADER, m_config.u… in addProgramOperations()
3585m_threads[1]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_FRAGMENT_SHADER, m_config… in addProgramOperations()
3595m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3597m_threads[1]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3601m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addProgramOperations()
3602m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addProgramOperations()
3608 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in deinit()
3610 delete m_threads[threadNdx]; in deinit()
3611 m_threads[threadNdx] = DE_NULL; in deinit()
3614 m_threads.clear(); in deinit()
3632 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3633 m_threads[threadNdx]->exec(); in iterate()
3643 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3645 const tcu::ThreadUtil::Thread::ThreadStatus status = m_threads[threadNdx]->getStatus(); in iterate()
3651 if (readyThreads == (int)m_threads.size()) in iterate()
3653 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3654 m_threads[threadNdx]->join(); in iterate()
3662 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3664 if (m_threads[threadNdx]->getStatus() != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING) in iterate()
3665 m_threads[threadNdx]->join(); in iterate()
3679 std::vector<int> indices(m_threads.size(), 0); in iterate()
3689 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3691 if (m_threads[threadNdx]->getMessageCount() > indices[threadNdx]) in iterate()
3702 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3705 if (m_threads[threadNdx]->getMessageCount() <= indices[threadNdx]) in iterate()
3708 …if ((m_threads[threadNdx]->getMessage(indices[threadNdx]).getTime() - m_beginTimeUs) < (m_threads[… in iterate()
3712 tcu::ThreadUtil::Message message = m_threads[firstThread]->getMessage(indices[firstThread]); in iterate()
3724 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3726 const tcu::ThreadUtil::Thread::ThreadStatus status = m_threads[threadNdx]->getStatus(); in iterate()