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()
2175 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, s… in init()
2187 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglCo… in init()
2194 …m_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()
2222 SharedPtr<GLES2ThreadTest::GLES2Context> context = m_threads[threadNdx]->context; in init()
2223 SharedPtr<GLES2ThreadTest::Surface> surface = m_threads[threadNdx]->surface; in init()
2225 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[threadNdx], m_eglDi… in init()
2232 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in init()
2233 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroyContext(resourceManager.popContext(… in init()
2237 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, resourceManag… in init()
2242 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in deinit()
2244 delete m_threads[threadNdx]; in deinit()
2245 m_threads[threadNdx] = DE_NULL; in deinit()
2248 m_threads.clear(); in deinit()
2261 int threadNdx = m_random.getUint32() % m_threads.size(); in addRandomOperation()
2308 if (m_threads[threadNdx]->context->resourceManager->getBufferCount() > 0) in addRandomOperation()
2309 …destroyableBufferNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getB… in addRandomOperation()
2311 if (m_threads[threadNdx]->context->resourceManager->getTextureCount() > 0) in addRandomOperation()
2312 …destroyableTextureNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->get… in addRandomOperation()
2314 if (m_threads[threadNdx]->context->resourceManager->getShaderCount() > 0) in addRandomOperation()
2315 …destroyableShaderNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getS… in addRandomOperation()
2317 if (m_threads[threadNdx]->context->resourceManager->getProgramCount() > 0) in addRandomOperation()
2318 …destroyableProgramNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->get… in addRandomOperation()
2321 …for (int bufferNdx = 0; bufferNdx < m_threads[threadNdx]->context->resourceManager->getBufferCount… in addRandomOperation()
2323 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->getBuf… in addRandomOperation()
2335 …for (int textureNdx = 0; textureNdx < m_threads[threadNdx]->context->resourceManager->getTextureCo… in addRandomOperation()
2337 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->getT… in addRandomOperation()
2358 …for (int shaderNdx = 0; shaderNdx < m_threads[threadNdx]->context->resourceManager->getShaderCount… in addRandomOperation()
2360 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->getSha… in addRandomOperation()
2391 …for (int programNdx = 0; programNdx < m_threads[threadNdx]->context->resourceManager->getProgramCo… in addRandomOperation()
2393 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->getP… in addRandomOperation()
2456 if (m_threads[threadNdx]->context->resourceManager->getTextureCount() > 0) in addRandomOperation()
2592 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateBuffer(buffer, m_config.useFenceSync… in addRandomOperation()
2593 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2599 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->popBuf… in addRandomOperation()
2600 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync… in addRandomOperation()
2606 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->popBuf… in addRandomOperation()
2607 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, … 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()
2615 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 1, … in addRandomOperation()
2616 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2623 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSy… in addRandomOperation()
2624 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2629 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteTexture(m_threads[threadNdx]->contex… in addRandomOperation()
2634 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2635 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 400, 400, … in addRandomOperation()
2636 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2642 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2643 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 30, 30, 50, 50, … in addRandomOperation()
2644 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2650 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2651 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 20, 20… in addRandomOperation()
2652 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2658 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2659 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 10, 10, 30, … in addRandomOperation()
2660 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2667 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, shader, m_c… in addRandomOperation()
2668 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2675 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, shader, m… in addRandomOperation()
2676 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2681 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteShader(m_threads[threadNdx]->context… in addRandomOperation()
2701 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->popSha… in addRandomOperation()
2702 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::ShaderSource(shader, (shader->type == GL_V… in addRandomOperation()
2703 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2709 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->popSha… in addRandomOperation()
2710 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSyn… in addRandomOperation()
2711 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2718 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSy… in addRandomOperation()
2719 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2724 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteProgram(m_threads[threadNdx]->contex… in addRandomOperation()
2729 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popP… in addRandomOperation()
2730 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->popSha… in addRandomOperation()
2732 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::AttachShader(program, shader, m_config.use… in addRandomOperation()
2734 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2735 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2741 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popP… in addRandomOperation()
2742 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DetachShader(program, detachShaderType, m_… in addRandomOperation()
2743 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2749 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popP… in addRandomOperation()
2750 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync… in addRandomOperation()
2751 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2758 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2759 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, texture, m_c… in addRandomOperation()
2761 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2770 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync,… in addRandomOperation()
2777 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2779 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_c… in addRandomOperation()
2780 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2799 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2800 m_threads[threadNdx]->exec(); in iterate()
2810 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2812 const tcu::ThreadUtil::Thread::ThreadStatus status = m_threads[threadNdx]->getStatus(); in iterate()
2818 if (readyThreads == (int)m_threads.size()) in iterate()
2820 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2821 m_threads[threadNdx]->join(); in iterate()
2829 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2831 if (m_threads[threadNdx]->getStatus() != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING) in iterate()
2833 if (m_threads[threadNdx]->isStarted()) in iterate()
2834 m_threads[threadNdx]->join(); in iterate()
2849 std::vector<int> indices(m_threads.size(), 0); in iterate()
2859 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2861 if (m_threads[threadNdx]->getMessageCount() > indices[threadNdx]) in iterate()
2872 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2875 if (m_threads[threadNdx]->getMessageCount() <= indices[threadNdx]) in iterate()
2878 …if ((m_threads[threadNdx]->getMessage(indices[threadNdx]).getTime() - m_beginTimeUs) < (m_threads[… in iterate()
2882 tcu::ThreadUtil::Message message = m_threads[firstThread]->getMessage(indices[firstThread]); in iterate()
2894 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2896 const tcu::ThreadUtil::Thread::ThreadStatus status = m_threads[threadNdx]->getStatus(); in iterate()
2983 std::vector<GLES2ThreadTest::EGLThread*> m_threads; member in deqp::egl::GLES2ThreadedSharingTest
3044 m_threads.push_back(new GLES2ThreadTest::EGLThread(egl, m_gl, deInt32Hash(m_seed))); in init()
3045 m_threads.push_back(new GLES2ThreadTest::EGLThread(egl, m_gl, deInt32Hash(m_seed*200))); in init()
3054 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, SharedPtr… in init()
3055 …m_threads[1]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, contex1, … in init()
3058 …m_threads[0]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglConfig, 40… in init()
3059 …m_threads[1]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglConfig, 40… in init()
3062 …m_threads[0]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, surface1,… in init()
3063 …m_threads[1]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[1], m_eglDisplay, surface2,… in init()
3067 m_threads[0]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
3068 m_threads[1]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
3103 …m_threads[0]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, SharedPtr… in init()
3104 …m_threads[1]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, SharedPtr… in init()
3107 m_threads[0]->addOperation(new GLES2ThreadTest::DestroyContext(contex1)); in init()
3108 m_threads[1]->addOperation(new GLES2ThreadTest::DestroyContext(contex2)); in init()
3111 m_threads[0]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, surface1)); in init()
3112 m_threads[1]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, surface2)); in init()
3140 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addBufferOperations()
3141 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addBufferOperations()
3142 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addBufferOperations()
3144 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addBufferOperations()
3145 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addBufferOperations()
3146 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addBufferOperations()
3148 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addBufferOperations()
3149 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addBufferOperations()
3150 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addBufferOperations()
3152 …m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addBufferOperations()
3157 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3162 …m_threads[0]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAM… in addBufferOperations()
3164 …m_threads[1]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAM… in addBufferOperations()
3170 …m_threads[0]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 17, 17, m_c… in addBufferOperations()
3172 …m_threads[1]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 17, 17, m_c… in addBufferOperations()
3177 …m_threads[0]->addOperation(new GLES2ThreadTest::RenderBuffer(program, buffer, m_config.useFenceSyn… in addBufferOperations()
3178 …m_threads[1]->addOperation(new GLES2ThreadTest::RenderBuffer(program, buffer, m_config.useFenceSyn… in addBufferOperations()
3183 …m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addBufferOperations()
3184 …m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addBufferOperations()
3186 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addBufferOperations()
3190 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3192 …m_threads[1]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3196 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addBufferOperations()
3197 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addBufferOperations()
3198 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addBufferOperations()
3228 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addTextureOperations()
3229 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addTextureOperations()
3230 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addTextureOperations()
3232 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addTextureOperations()
3233 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addTextureOperations()
3234 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addTextureOperations()
3236 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addTextureOperations()
3237 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addTextureOperations()
3238 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addTextureOperations()
3240 …m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addTextureOperations()
3245 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3250 …m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addTextureOperations()
3252 …m_threads[1]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addTextureOperations()
3258 …m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 17, 17, 256, 2… in addTextureOperations()
3260 …m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 17, 17, 256, 2… in addTextureOperations()
3266 …m_threads[0]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addTextureOperations()
3268 …m_threads[1]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addTextureOperations()
3274 …m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addTextureOperations()
3276 …m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addTextureOperations()
3284 …m_threads[0]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addTextureOperations()
3285 …m_threads[1]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addTextureOperations()
3287 …m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addTextureOperations()
3288 …m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addTextureOperations()
3290 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addTextureOperations()
3294 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3296 …m_threads[1]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3300 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addTextureOperations()
3301 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addTextureOperations()
3302 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addTextureOperations()
3313 m_threads[0]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_image")); in addImageOperations()
3314 m_threads[1]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_image")); in addImageOperations()
3335 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addImageOperations()
3336 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addImageOperations()
3337 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addImageOperations()
3339 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addImageOperations()
3340 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addImageOperations()
3341 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addImageOperations()
3343 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addImageOperations()
3344 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addImageOperations()
3345 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addImageOperations()
3347 …m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addImageOperations()
3354 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(sourceTexture, m_config.useFenceSync… in addImageOperations()
3355 …m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D(sourceTexture, 0, GL_RGBA, 256, 256, GL… in addImageOperations()
3360 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_con… in addImageOperations()
3362 …m_threads[1]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_con… in addImageOperations()
3367 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_con… in addImageOperations()
3368 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSync, m_co… in addImageOperations()
3371 …m_threads[0]->addOperation(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_config.us… in addImageOperations()
3373 …m_threads[1]->addOperation(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_config.us… in addImageOperations()
3376 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteTexture(sourceTexture, m_config.useFenceSync… in addImageOperations()
3383 …m_threads[0]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addImageOperations()
3385 …m_threads[1]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addImageOperations()
3393 …m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addImageOperations()
3395 …m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addImageOperations()
3403 …m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addImageOperations()
3405 …m_threads[1]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addImageOperations()
3413 …m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 7, 7, 256, 256… in addImageOperations()
3415 …m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 7, 7, 256, 256… in addImageOperations()
3425 …m_threads[0]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addImageOperations()
3426 …m_threads[1]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addImageOperations()
3428 …m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addImageOperations()
3429 …m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addImageOperations()
3431 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addImageOperations()
3437 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addImageOperations()
3439 …m_threads[1]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addImageOperations()
3443 …m_threads[0]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync, m_confi… in addImageOperations()
3445 …m_threads[1]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync, m_confi… in addImageOperations()
3449 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addImageOperations()
3450 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addImageOperations()
3451 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addImageOperations()
3459 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(type, shader, m_config.useFenceSync, … in addShaderOperations()
3477 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(shader, (type == GL_VERTEX_SHADER ? v… in addShaderOperations()
3479 …m_threads[1]->addOperation(new GLES2ThreadTest::ShaderSource(shader, (type == GL_VERTEX_SHADER ? v… in addShaderOperations()
3485 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSync, m_con… in addShaderOperations()
3487 …m_threads[1]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSync, m_con… in addShaderOperations()
3493 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(shader, m_config.useFenceSync, m_conf… in addShaderOperations()
3495 …m_threads[1]->addOperation(new GLES2ThreadTest::DeleteShader(shader, m_config.useFenceSync, m_conf… in addShaderOperations()
3522 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addProgramOperations()
3523 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addProgramOperations()
3524 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addProgramOperations()
3526 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addProgramOperations()
3527 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addProgramOperations()
3528 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addProgramOperations()
3533 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3540 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addProgramOperations()
3541 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addProgramOperations()
3545 …m_threads[1]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addProgramOperations()
3546 …m_threads[1]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addProgramOperations()
3554 …m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addProgramOperations()
3556 …m_threads[1]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addProgramOperations()
3564 …m_threads[0]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_VERTEX_SHADER, m_config.u… in addProgramOperations()
3565 …m_threads[0]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_FRAGMENT_SHADER, m_config… in addProgramOperations()
3569 …m_threads[1]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_VERTEX_SHADER, m_config.u… in addProgramOperations()
3570 …m_threads[1]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_FRAGMENT_SHADER, m_config… in addProgramOperations()
3580 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3582 …m_threads[1]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3586 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addProgramOperations()
3587 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addProgramOperations()
3593 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in deinit()
3595 delete m_threads[threadNdx]; in deinit()
3596 m_threads[threadNdx] = DE_NULL; in deinit()
3599 m_threads.clear(); in deinit()
3617 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3618 m_threads[threadNdx]->exec(); in iterate()
3628 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3630 if (m_threads[threadNdx]->getStatus() != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING) in iterate()
3634 if (readyThreads == (int)m_threads.size()) in iterate()
3636 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3637 m_threads[threadNdx]->join(); in iterate()
3645 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3647 if (m_threads[threadNdx]->getStatus() != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING) in iterate()
3648 m_threads[threadNdx]->join(); in iterate()
3662 std::vector<int> indices(m_threads.size(), 0); in iterate()
3672 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3674 if (m_threads[threadNdx]->getMessageCount() > indices[threadNdx]) in iterate()
3685 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3688 if (m_threads[threadNdx]->getMessageCount() <= indices[threadNdx]) in iterate()
3691 …if ((m_threads[threadNdx]->getMessage(indices[threadNdx]).getTime() - m_beginTimeUs) < (m_threads[… in iterate()
3695 tcu::ThreadUtil::Message message = m_threads[firstThread]->getMessage(indices[firstThread]); in iterate()
3707 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3709 const tcu::ThreadUtil::Thread::ThreadStatus status = m_threads[threadNdx]->getStatus(); in iterate()