• Home
  • Raw
  • Download

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()
2222 SharedPtr<GLES2ThreadTest::GLES2Context> context = m_threads[threadNdx]->context; in init()
2223 SharedPtr<GLES2ThreadTest::Surface> surface = m_threads[threadNdx]->surface; in init()
2225m_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()
2233m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroyContext(resourceManager.popContext(… in init()
2237m_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()
2592m_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()
2600m_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()
2607m_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()
2615m_threads[threadNdx]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 1, … in addRandomOperation()
2616 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2623m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSy… in addRandomOperation()
2624 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2629m_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()
2635m_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()
2643m_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()
2651m_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()
2659m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 10, 10, 30, … in addRandomOperation()
2660 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2667m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, shader, m_c… in addRandomOperation()
2668 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2675m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, shader, m… in addRandomOperation()
2676 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2681m_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()
2702m_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()
2710m_threads[threadNdx]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSyn… in addRandomOperation()
2711 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2718m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSy… in addRandomOperation()
2719 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2724m_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()
2732m_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()
2742m_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()
2750m_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()
2759m_threads[threadNdx]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, texture, m_c… in addRandomOperation()
2761 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2770m_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()
2779m_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()
3054m_threads[0]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, SharedPtr… in init()
3055m_threads[1]->addOperation(new GLES2ThreadTest::CreateContext(m_eglDisplay, m_eglConfig, contex1, … in init()
3058m_threads[0]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglConfig, 40… in init()
3059m_threads[1]->addOperation(new GLES2ThreadTest::CreatePBufferSurface(m_eglDisplay, m_eglConfig, 40… in init()
3062m_threads[0]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, surface1,… in init()
3063m_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()
3103m_threads[0]->addOperation(new GLES2ThreadTest::MakeCurrent(*m_threads[0], m_eglDisplay, SharedPtr… in init()
3104m_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()
3140m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addBufferOperations()
3141m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addBufferOperations()
3142m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addBufferOperations()
3144m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addBufferOperations()
3145m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addBufferOperations()
3146m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addBufferOperations()
3148m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addBufferOperations()
3149m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addBufferOperations()
3150m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addBufferOperations()
3152m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addBufferOperations()
3157m_threads[0]->addOperation(new GLES2ThreadTest::CreateBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3162m_threads[0]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAM… in addBufferOperations()
3164m_threads[1]->addOperation(new GLES2ThreadTest::BufferData(buffer, GL_ARRAY_BUFFER, 1024, GL_DYNAM… in addBufferOperations()
3170m_threads[0]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 17, 17, m_c… in addBufferOperations()
3172m_threads[1]->addOperation(new GLES2ThreadTest::BufferSubData(buffer, GL_ARRAY_BUFFER, 17, 17, m_c… in addBufferOperations()
3177m_threads[0]->addOperation(new GLES2ThreadTest::RenderBuffer(program, buffer, m_config.useFenceSyn… in addBufferOperations()
3178m_threads[1]->addOperation(new GLES2ThreadTest::RenderBuffer(program, buffer, m_config.useFenceSyn… in addBufferOperations()
3183m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addBufferOperations()
3184m_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()
3190m_threads[0]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3192m_threads[1]->addOperation(new GLES2ThreadTest::DeleteBuffer(buffer, m_config.useFenceSync, m_conf… in addBufferOperations()
3196m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addBufferOperations()
3197m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addBufferOperations()
3198m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addBufferOperations()
3228m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addTextureOperations()
3229m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addTextureOperations()
3230m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addTextureOperations()
3232m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addTextureOperations()
3233m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addTextureOperations()
3234m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addTextureOperations()
3236m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addTextureOperations()
3237m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addTextureOperations()
3238m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addTextureOperations()
3240m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addTextureOperations()
3245m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3250m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addTextureOperations()
3252m_threads[1]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addTextureOperations()
3258m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 17, 17, 256, 2… in addTextureOperations()
3260m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 17, 17, 256, 2… in addTextureOperations()
3266m_threads[0]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addTextureOperations()
3268m_threads[1]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addTextureOperations()
3274m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addTextureOperations()
3276m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addTextureOperations()
3284m_threads[0]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addTextureOperations()
3285m_threads[1]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addTextureOperations()
3287m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addTextureOperations()
3288m_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()
3294m_threads[0]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3296m_threads[1]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addTextureOperations()
3300m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addTextureOperations()
3301m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addTextureOperations()
3302m_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()
3335m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addImageOperations()
3336m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addImageOperations()
3337m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addImageOperations()
3339m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addImageOperations()
3340m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addImageOperations()
3341m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addImageOperations()
3343m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addImageOperations()
3344m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addImageOperations()
3345m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addImageOperations()
3347m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addImageOperations()
3354m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(sourceTexture, m_config.useFenceSync… in addImageOperations()
3355m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D(sourceTexture, 0, GL_RGBA, 256, 256, GL… in addImageOperations()
3360m_threads[0]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_con… in addImageOperations()
3362m_threads[1]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_con… in addImageOperations()
3367m_threads[0]->addOperation(new GLES2ThreadTest::CreateImageFromTexture(image, sourceTexture, m_con… in addImageOperations()
3368m_threads[0]->addOperation(new GLES2ThreadTest::CreateTexture(texture, m_config.useFenceSync, m_co… in addImageOperations()
3371m_threads[0]->addOperation(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_config.us… in addImageOperations()
3373m_threads[1]->addOperation(new GLES2ThreadTest::DefineTextureFromImage(texture, image, m_config.us… in addImageOperations()
3376m_threads[0]->addOperation(new GLES2ThreadTest::DeleteTexture(sourceTexture, m_config.useFenceSync… in addImageOperations()
3383m_threads[0]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addImageOperations()
3385m_threads[1]->addOperation(new GLES2ThreadTest::TexSubImage2D(texture, 0, 17, 17, 29, 29, GL_RGBA,… in addImageOperations()
3393m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addImageOperations()
3395m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexSubImage2D(texture, 0, 7, 7, 17, 17, 29, 29… in addImageOperations()
3403m_threads[0]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addImageOperations()
3405m_threads[1]->addOperation(new GLES2ThreadTest::TexImage2D(texture, 0, GL_RGBA, 256, 256, GL_RGBA,… in addImageOperations()
3413m_threads[0]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 7, 7, 256, 256… in addImageOperations()
3415m_threads[1]->addOperation(new GLES2ThreadTest::CopyTexImage2D(texture, 0, GL_RGBA, 7, 7, 256, 256… in addImageOperations()
3425m_threads[0]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addImageOperations()
3426m_threads[1]->addOperation(new GLES2ThreadTest::RenderTexture(program, texture, m_config.useFenceS… in addImageOperations()
3428m_threads[0]->addOperation(new GLES2ThreadTest::ReadPixels(0, 0, 400, 400, GL_RGBA, GL_UNSIGNED_BY… in addImageOperations()
3429m_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()
3437m_threads[0]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addImageOperations()
3439m_threads[1]->addOperation(new GLES2ThreadTest::DeleteTexture(texture, m_config.useFenceSync, m_co… in addImageOperations()
3443m_threads[0]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync, m_confi… in addImageOperations()
3445m_threads[1]->addOperation(new GLES2ThreadTest::DestroyImage(image, m_config.useFenceSync, m_confi… in addImageOperations()
3449m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addImageOperations()
3450m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(fragmentShader, m_config.useFenceSync… in addImageOperations()
3451m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addImageOperations()
3459m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(type, shader, m_config.useFenceSync, … in addShaderOperations()
3477m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(shader, (type == GL_VERTEX_SHADER ? v… in addShaderOperations()
3479m_threads[1]->addOperation(new GLES2ThreadTest::ShaderSource(shader, (type == GL_VERTEX_SHADER ? v… in addShaderOperations()
3485m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSync, m_con… in addShaderOperations()
3487m_threads[1]->addOperation(new GLES2ThreadTest::ShaderCompile(shader, m_config.useFenceSync, m_con… in addShaderOperations()
3493m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(shader, m_config.useFenceSync, m_conf… in addShaderOperations()
3495m_threads[1]->addOperation(new GLES2ThreadTest::DeleteShader(shader, m_config.useFenceSync, m_conf… in addShaderOperations()
3522m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_VERTEX_SHADER, vertexShader, m_con… in addProgramOperations()
3523m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(vertexShader, vertexShaderSource, m_c… in addProgramOperations()
3524m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(vertexShader, m_config.useFenceSync,… in addProgramOperations()
3526m_threads[0]->addOperation(new GLES2ThreadTest::CreateShader(GL_FRAGMENT_SHADER, fragmentShader, m… in addProgramOperations()
3527m_threads[0]->addOperation(new GLES2ThreadTest::ShaderSource(fragmentShader, fragmentShaderSource,… in addProgramOperations()
3528m_threads[0]->addOperation(new GLES2ThreadTest::ShaderCompile(fragmentShader, m_config.useFenceSyn… in addProgramOperations()
3533m_threads[0]->addOperation(new GLES2ThreadTest::CreateProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3540m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addProgramOperations()
3541m_threads[0]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addProgramOperations()
3545m_threads[1]->addOperation(new GLES2ThreadTest::AttachShader(program, vertexShader, m_config.useFe… in addProgramOperations()
3546m_threads[1]->addOperation(new GLES2ThreadTest::AttachShader(program, fragmentShader, m_config.use… in addProgramOperations()
3554m_threads[0]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addProgramOperations()
3556m_threads[1]->addOperation(new GLES2ThreadTest::LinkProgram(program, m_config.useFenceSync, m_conf… in addProgramOperations()
3564m_threads[0]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_VERTEX_SHADER, m_config.u… in addProgramOperations()
3565m_threads[0]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_FRAGMENT_SHADER, m_config… in addProgramOperations()
3569m_threads[1]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_VERTEX_SHADER, m_config.u… in addProgramOperations()
3570m_threads[1]->addOperation(new GLES2ThreadTest::DetachShader(program, GL_FRAGMENT_SHADER, m_config… in addProgramOperations()
3580m_threads[0]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3582m_threads[1]->addOperation(new GLES2ThreadTest::DeleteProgram(program, m_config.useFenceSync, m_co… in addProgramOperations()
3586m_threads[0]->addOperation(new GLES2ThreadTest::DeleteShader(vertexShader, m_config.useFenceSync, … in addProgramOperations()
3587m_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()