Lines Matching refs:m_threads
2115 std::vector<GLES2ThreadTest::EGLThread*> m_threads; member in deqp::egl::GLES2SharingRandomTest
2192 m_threads.push_back(new GLES2ThreadTest::EGLThread(deInt32Hash(m_seed+threadNdx))); in init()
2195 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, s… in init()
2207 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglCo… in init()
2214 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[threadNdx], m_eglDi… in init()
2222 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
2231 m_threads[threadNdx]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_image")); in init()
2242 SharedPtr<GLES2ThreadTest::GLES2Context> context = m_threads[threadNdx]->context; in init()
2243 SharedPtr<GLES2ThreadTest::Surface> surface = m_threads[threadNdx]->surface; in init()
2245 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[threadNdx], m_eglDi… in init()
2252 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in init()
2253 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroyContext(resourceManager.popContext(… in init()
2257 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, resourceManag… in init()
2262 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in deinit()
2263 delete m_threads[threadNdx]; in deinit()
2265 m_threads.clear(); in deinit()
2272 int threadNdx = m_random.getUint32() % m_threads.size(); in addRandomOperation()
2319 if (m_threads[threadNdx]->context->resourceManager->getBufferCount() > 0) in addRandomOperation()
2320 …destroyableBufferNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getB… in addRandomOperation()
2322 if (m_threads[threadNdx]->context->resourceManager->getTextureCount() > 0) in addRandomOperation()
2323 …destroyableTextureNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->get… in addRandomOperation()
2325 if (m_threads[threadNdx]->context->resourceManager->getShaderCount() > 0) in addRandomOperation()
2326 …destroyableShaderNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getS… in addRandomOperation()
2328 if (m_threads[threadNdx]->context->resourceManager->getProgramCount() > 0) in addRandomOperation()
2329 …destroyableProgramNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->get… in addRandomOperation()
2332 …for (int bufferNdx = 0; bufferNdx < m_threads[threadNdx]->context->resourceManager->getBufferCount… in addRandomOperation()
2334 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->getBuf… in addRandomOperation()
2346 …for (int textureNdx = 0; textureNdx < m_threads[threadNdx]->context->resourceManager->getTextureCo… in addRandomOperation()
2348 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->getT… in addRandomOperation()
2369 …for (int shaderNdx = 0; shaderNdx < m_threads[threadNdx]->context->resourceManager->getShaderCount… in addRandomOperation()
2371 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->getSha… in addRandomOperation()
2402 …for (int programNdx = 0; programNdx < m_threads[threadNdx]->context->resourceManager->getProgramCo… in addRandomOperation()
2404 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->getP… in addRandomOperation()
2467 if (m_threads[threadNdx]->context->resourceManager->getTextureCount() > 0) in addRandomOperation()
2603 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateBuffer(buffer, m_config.useFenceSync… in addRandomOperation()
2604 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2610 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->popBuf… in addRandomOperation()
2611 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync… in addRandomOperation()
2617 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->popBuf… in addRandomOperation()
2618 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, … in addRandomOperation()
2619 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2625 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->popBuf… in addRandomOperation()
2626 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 1, … in addRandomOperation()
2627 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2634 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSy… in addRandomOperation()
2635 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2640 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteTexture(m_threads[threadNdx]->contex… in addRandomOperation()
2645 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2646 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 400, 400, … in addRandomOperation()
2647 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2653 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2654 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 30, 30, 50, 50, … in addRandomOperation()
2655 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2661 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2662 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 20, 20… in addRandomOperation()
2663 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2669 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2670 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 10, 10, 30, … in addRandomOperation()
2671 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2678 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, shader, m_c… in addRandomOperation()
2679 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2686 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, shader, m… in addRandomOperation()
2687 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2692 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteShader(m_threads[threadNdx]->context… in addRandomOperation()
2712 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->popSha… in addRandomOperation()
2713 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::ShaderSource(shader, (shader->type == GL_V… in addRandomOperation()
2714 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2720 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->popSha… in addRandomOperation()
2721 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSyn… in addRandomOperation()
2722 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2729 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSy… in addRandomOperation()
2730 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2735 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DeleteProgram(m_threads[threadNdx]->contex… in addRandomOperation()
2740 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popP… in addRandomOperation()
2741 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->popSha… in addRandomOperation()
2743 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::AttachShader(program, shader, m_config.use… in addRandomOperation()
2745 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2746 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2752 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popP… in addRandomOperation()
2753 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DetachShader(program, detachShaderType, m_… in addRandomOperation()
2754 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2760 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popP… in addRandomOperation()
2761 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync… in addRandomOperation()
2762 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2769 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2770 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, texture, m_c… in addRandomOperation()
2772 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2781 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync,… in addRandomOperation()
2788 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2790 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_c… in addRandomOperation()
2791 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2810 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2811 m_threads[threadNdx]->exec(); in iterate()
2821 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2823 if (m_threads[threadNdx]->getStatus() != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING) in iterate()
2827 if (readyThreads == (int)m_threads.size()) in iterate()
2829 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2830 m_threads[threadNdx]->join(); in iterate()
2838 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2840 if (m_threads[threadNdx]->getStatus() != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING) in iterate()
2842 if (m_threads[threadNdx]->isStarted()) in iterate()
2843 m_threads[threadNdx]->join(); in iterate()
2858 std::vector<int> indices(m_threads.size(), 0); in iterate()
2864 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2866 if (m_threads[threadNdx]->getMessageCount() > indices[threadNdx]) in iterate()
2877 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2880 if (m_threads[threadNdx]->getMessageCount() <= indices[threadNdx]) in iterate()
2883 …if ((m_threads[threadNdx]->getMessage(indices[threadNdx]).getTime() - m_beginTimeUs) < (m_threads[… in iterate()
2887 deUint64 time = m_threads[firstThread]->getMessage(indices[firstThread]).getTime(); in iterate()
2888 std::string message = m_threads[firstThread]->getMessage(indices[firstThread]).getMessage(); in iterate()
2896 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
2898 if (m_threads[threadNdx]->getStatus() == tcu::ThreadUtil::Thread::THREADSTATUS_FAILED) in iterate()
2900 else if (m_threads[threadNdx]->getStatus() == tcu::ThreadUtil::Thread::THREADSTATUS_READY) in iterate()
2902 … else if (m_threads[threadNdx]->getStatus() == tcu::ThreadUtil::Thread::THREADSTATUS_NOT_SUPPORTED) in iterate()
2980 std::vector<GLES2ThreadTest::EGLThread*> m_threads; member in deqp::egl::GLES2ThreadedSharingTest
3041 m_threads.push_back(new GLES2ThreadTest::EGLThread(deInt32Hash(m_seed))); in init()
3042 m_threads.push_back(new GLES2ThreadTest::EGLThread(deInt32Hash(m_seed*200))); in init()
3051 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, SharedPtr… in init()
3052 …m_threads[1]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, contex1, … in init()
3055 …m_threads[0]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglConfig, 40… in init()
3056 …m_threads[1]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglConfig, 40… in init()
3059 …m_threads[0]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, surface1,… in init()
3060 …m_threads[1]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[1], m_eglDisplay, surface2,… in init()
3064 m_threads[0]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
3065 m_threads[1]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_sync")); in init()
3100 …m_threads[0]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, SharedPtr… in init()
3101 …m_threads[1]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, SharedPtr… in init()
3104 m_threads[0]->addOperation(new GLES2ThreadTest::DestroyContext(contex1)); in init()
3105 m_threads[1]->addOperation(new GLES2ThreadTest::DestroyContext(contex2)); in init()
3108 m_threads[0]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, surface1)); in init()
3109 m_threads[1]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, surface2)); in init()
3137 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addBufferOperations()
3138 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addBufferOperations()
3139 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addBufferOperations()
3141 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addBufferOperations()
3142 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addBufferOperations()
3143 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addBufferOperations()
3145 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addBufferOperations()
3146 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addBufferOperations()
3147 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addBufferOperations()
3149 …m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addBufferOperations()
3154 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3159 …m_threads[0]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAM… in addBufferOperations()
3161 …m_threads[1]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAM… in addBufferOperations()
3167 …m_threads[0]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 17, 17, m_c… in addBufferOperations()
3169 …m_threads[1]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 17, 17, m_c… in addBufferOperations()
3174 …m_threads[0]->addOperation(new GLES2ThreadTest::RenderBuffer(program, buffer, m_config.useFenceSyn… in addBufferOperations()
3175 …m_threads[1]->addOperation(new GLES2ThreadTest::RenderBuffer(program, buffer, m_config.useFenceSyn… in addBufferOperations()
3180 …m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addBufferOperations()
3181 …m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addBufferOperations()
3183 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addBufferOperations()
3187 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3189 …m_threads[1]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3193 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addBufferOperations()
3194 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addBufferOperations()
3195 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addBufferOperations()
3225 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addTextureOperations()
3226 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addTextureOperations()
3227 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addTextureOperations()
3229 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addTextureOperations()
3230 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addTextureOperations()
3231 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addTextureOperations()
3233 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addTextureOperations()
3234 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addTextureOperations()
3235 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addTextureOperations()
3237 …m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addTextureOperations()
3242 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3247 …m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addTextureOperations()
3249 …m_threads[1]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addTextureOperations()
3255 …m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 17, 17, 256, 2… in addTextureOperations()
3257 …m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 17, 17, 256, 2… in addTextureOperations()
3263 …m_threads[0]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addTextureOperations()
3265 …m_threads[1]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addTextureOperations()
3271 …m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addTextureOperations()
3273 …m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addTextureOperations()
3281 …m_threads[0]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addTextureOperations()
3282 …m_threads[1]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addTextureOperations()
3284 …m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addTextureOperations()
3285 …m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addTextureOperations()
3287 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addTextureOperations()
3291 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3293 …m_threads[1]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3297 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addTextureOperations()
3298 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addTextureOperations()
3299 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addTextureOperations()
3310 m_threads[0]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_image")); in addImageOperations()
3311 m_threads[1]->addOperation(new GLES2ThreadTest::InitGLExtension("GL_OES_EGL_image")); in addImageOperations()
3332 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addImageOperations()
3333 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addImageOperations()
3334 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addImageOperations()
3336 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addImageOperations()
3337 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addImageOperations()
3338 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addImageOperations()
3340 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addImageOperations()
3341 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addImageOperations()
3342 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addImageOperations()
3344 …m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addImageOperations()
3351 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(sourceTexture, m_config.useFenceSync… in addImageOperations()
3352 …m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D(sourceTexture, 0, GL_RGBA, 256, 256, GL… in addImageOperations()
3357 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_con… in addImageOperations()
3359 …m_threads[1]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_con… in addImageOperations()
3364 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_con… in addImageOperations()
3365 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSync, m_co… in addImageOperations()
3368 …m_threads[0]->addOperation(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_config.us… in addImageOperations()
3370 …m_threads[1]->addOperation(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_config.us… in addImageOperations()
3373 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteTexture(sourceTexture, m_config.useFenceSync… in addImageOperations()
3380 …m_threads[0]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addImageOperations()
3382 …m_threads[1]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addImageOperations()
3390 …m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addImageOperations()
3392 …m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addImageOperations()
3400 …m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addImageOperations()
3402 …m_threads[1]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addImageOperations()
3410 …m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 7, 7, 256, 256… in addImageOperations()
3412 …m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 7, 7, 256, 256… in addImageOperations()
3422 …m_threads[0]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addImageOperations()
3423 …m_threads[1]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addImageOperations()
3425 …m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addImageOperations()
3426 …m_threads[1]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addImageOperations()
3428 m_threads[0]->addOperation(new tcu::ThreadUtil::CompareData(pixels1, pixels2)); in addImageOperations()
3434 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addImageOperations()
3436 …m_threads[1]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addImageOperations()
3440 …m_threads[0]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync, m_confi… in addImageOperations()
3442 …m_threads[1]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync, m_confi… in addImageOperations()
3446 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addImageOperations()
3447 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addImageOperations()
3448 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addImageOperations()
3456 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(type, shader, m_config.useFenceSync, … in addShaderOperations()
3474 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(shader, (type == GL_VERTEX_SHADER ? v… in addShaderOperations()
3476 …m_threads[1]->addOperation(new GLES2ThreadTest::ShaderSource(shader, (type == GL_VERTEX_SHADER ? v… in addShaderOperations()
3482 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSync, m_con… in addShaderOperations()
3484 …m_threads[1]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSync, m_con… in addShaderOperations()
3490 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(shader, m_config.useFenceSync, m_conf… in addShaderOperations()
3492 …m_threads[1]->addOperation(new GLES2ThreadTest::DeleteShader(shader, m_config.useFenceSync, m_conf… in addShaderOperations()
3519 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addProgramOperations()
3520 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addProgramOperations()
3521 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addProgramOperations()
3523 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addProgramOperations()
3524 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addProgramOperations()
3525 …m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addProgramOperations()
3530 …m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3537 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addProgramOperations()
3538 …m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addProgramOperations()
3542 …m_threads[1]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addProgramOperations()
3543 …m_threads[1]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addProgramOperations()
3551 …m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addProgramOperations()
3553 …m_threads[1]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addProgramOperations()
3561 …m_threads[0]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_VERTEX_SHADER, m_config.u… in addProgramOperations()
3562 …m_threads[0]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_FRAGMENT_SHADER, m_config… in addProgramOperations()
3566 …m_threads[1]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_VERTEX_SHADER, m_config.u… in addProgramOperations()
3567 …m_threads[1]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_FRAGMENT_SHADER, m_config… in addProgramOperations()
3577 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3579 …m_threads[1]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3583 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addProgramOperations()
3584 …m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addProgramOperations()
3590 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in deinit()
3591 delete m_threads[threadNdx]; in deinit()
3593 m_threads.clear(); in deinit()
3605 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3606 m_threads[threadNdx]->exec(); in iterate()
3616 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3618 if (m_threads[threadNdx]->getStatus() != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING) in iterate()
3622 if (readyThreads == (int)m_threads.size()) in iterate()
3624 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3625 m_threads[threadNdx]->join(); in iterate()
3633 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3635 if (m_threads[threadNdx]->getStatus() != tcu::ThreadUtil::Thread::THREADSTATUS_RUNNING) in iterate()
3636 m_threads[threadNdx]->join(); in iterate()
3650 std::vector<int> indices(m_threads.size(), 0); in iterate()
3656 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3658 if (m_threads[threadNdx]->getMessageCount() > indices[threadNdx]) in iterate()
3669 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3672 if (m_threads[threadNdx]->getMessageCount() <= indices[threadNdx]) in iterate()
3675 …if ((m_threads[threadNdx]->getMessage(indices[threadNdx]).getTime() - m_beginTimeUs) < (m_threads[… in iterate()
3679 deUint64 time = m_threads[firstThread]->getMessage(indices[firstThread]).getTime(); in iterate()
3680 std::string message = m_threads[firstThread]->getMessage(indices[firstThread]).getMessage(); in iterate()
3688 for (int threadNdx = 0; threadNdx < (int)m_threads.size(); threadNdx++) in iterate()
3690 if (m_threads[threadNdx]->getStatus() == tcu::ThreadUtil::Thread::THREADSTATUS_FAILED) in iterate()
3692 else if (m_threads[threadNdx]->getStatus() == tcu::ThreadUtil::Thread::THREADSTATUS_READY) in iterate()
3694 … else if (m_threads[threadNdx]->getStatus() == tcu::ThreadUtil::Thread::THREADSTATUS_NOT_SUPPORTED) in iterate()