Lines Matching refs:resourceManager
145 …ontext (SharedPtr<tcu::ThreadUtil::Event> event, SharedPtr<GLES2ResourceManager> resourceManager);
149 SharedPtr<GLES2ResourceManager> resourceManager; member in deqp::egl::GLES2ThreadTest::GLES2Context
166 , resourceManager (resourceManager_) in GLES2Context()
593 …context = SharedPtr<GLES2Context>(new GLES2Context(getEvent(), (shared ? shared->resourceManager :… in CreateContext()
2078 void addRandomOperation (GLES2ThreadTest::EGLResourceManager& resourceManager);
2168 GLES2ThreadTest::EGLResourceManager resourceManager; in init() local
2174 …SharedPtr<GLES2ThreadTest::GLES2Context> shared = (threadNdx > 0 ? resourceManager.popContext(0) :… in init()
2177 resourceManager.addContext(context); in init()
2180 resourceManager.addContext(shared); in init()
2188 resourceManager.addSurface(surface); in init()
2194 …st::MakeCurrent(*m_threads[threadNdx], m_eglDisplay, resourceManager.popSurface(0), resourceManage… in init()
2217 addRandomOperation(resourceManager); in init()
2224 while (resourceManager.getImageCount() > 0) in init()
2226 const SharedPtr<GLES2ThreadTest::EGLImage> image = resourceManager.popImage(0); in init()
2242 resourceManager.addSurface(surface); in init()
2243 resourceManager.addContext(context); in init()
2248 …m_threads[threadNdx]->addOperation(new GLES2ThreadTest::DestroyContext(resourceManager.popContext(… in init()
2252 …Ndx]->addOperation(new GLES2ThreadTest::DestroySurface(m_eglDisplay, resourceManager.popSurface(0)… in init()
2274 …d GLES2SharingRandomTest::addRandomOperation (GLES2ThreadTest::EGLResourceManager& resourceManager) in addRandomOperation() argument
2323 if (m_threads[threadNdx]->context->resourceManager->getBufferCount() > 0) in addRandomOperation()
2324 …destroyableBufferNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getB… in addRandomOperation()
2326 if (m_threads[threadNdx]->context->resourceManager->getTextureCount() > 0) in addRandomOperation()
2327 …destroyableTextureNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->get… in addRandomOperation()
2329 if (m_threads[threadNdx]->context->resourceManager->getShaderCount() > 0) in addRandomOperation()
2330 …destroyableShaderNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->getS… in addRandomOperation()
2332 if (m_threads[threadNdx]->context->resourceManager->getProgramCount() > 0) in addRandomOperation()
2333 …destroyableProgramNdx = m_random.getUint32() % m_threads[threadNdx]->context->resourceManager->get… in addRandomOperation()
2336 …for (int bufferNdx = 0; bufferNdx < m_threads[threadNdx]->context->resourceManager->getBufferCount… in addRandomOperation()
2338 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->getBuf… in addRandomOperation()
2350 …for (int textureNdx = 0; textureNdx < m_threads[threadNdx]->context->resourceManager->getTextureCo… in addRandomOperation()
2352 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->getT… in addRandomOperation()
2373 …for (int shaderNdx = 0; shaderNdx < m_threads[threadNdx]->context->resourceManager->getShaderCount… in addRandomOperation()
2375 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->getSha… in addRandomOperation()
2406 …for (int programNdx = 0; programNdx < m_threads[threadNdx]->context->resourceManager->getProgramCo… in addRandomOperation()
2408 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->getP… in addRandomOperation()
2466 if (resourceManager.getImageCount() > 0) in addRandomOperation()
2471 if (m_threads[threadNdx]->context->resourceManager->getTextureCount() > 0) 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()
2621 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->popBuf… in addRandomOperation()
2623 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2629 …SharedPtr<GLES2ThreadTest::Buffer> buffer = m_threads[threadNdx]->context->resourceManager->popBuf… in addRandomOperation()
2631 m_threads[threadNdx]->context->resourceManager->addBuffer(buffer); in addRandomOperation()
2639 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2644 …on(new GLES2ThreadTest::DeleteTexture(m_threads[threadNdx]->context->resourceManager->popTexture(d… in addRandomOperation()
2649 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2651 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2657 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2659 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2665 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2667 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2673 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2675 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2683 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2691 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2696 …ion(new GLES2ThreadTest::DeleteShader(m_threads[threadNdx]->context->resourceManager->popShader(de… in addRandomOperation()
2716 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->popSha… in addRandomOperation()
2718 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2724 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->popSha… in addRandomOperation()
2726 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2734 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2739 …on(new GLES2ThreadTest::DeleteProgram(m_threads[threadNdx]->context->resourceManager->popProgram(d… in addRandomOperation()
2744 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popP… in addRandomOperation()
2745 …SharedPtr<GLES2ThreadTest::Shader> shader = m_threads[threadNdx]->context->resourceManager->popSha… in addRandomOperation()
2749 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2750 m_threads[threadNdx]->context->resourceManager->addShader(shader); in addRandomOperation()
2756 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popP… in addRandomOperation()
2758 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2764 …SharedPtr<GLES2ThreadTest::Program> program = m_threads[threadNdx]->context->resourceManager->popP… in addRandomOperation()
2766 m_threads[threadNdx]->context->resourceManager->addProgram(program); in addRandomOperation()
2773 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2776 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2777 resourceManager.addImage(image); in addRandomOperation()
2783 int imageNdx = m_random.getInt(0, resourceManager.getImageCount()-1); in addRandomOperation()
2784 SharedPtr<GLES2ThreadTest::EGLImage> image = resourceManager.popImage(imageNdx); in addRandomOperation()
2791 int imageNdx = m_random.getInt(0, resourceManager.getImageCount()-1); in addRandomOperation()
2792 …SharedPtr<GLES2ThreadTest::Texture> texture = m_threads[threadNdx]->context->resourceManager->popT… in addRandomOperation()
2793 SharedPtr<GLES2ThreadTest::EGLImage> image = resourceManager.popImage(imageNdx); in addRandomOperation()
2795 m_threads[threadNdx]->context->resourceManager->addTexture(texture); in addRandomOperation()
2796 resourceManager.addImage(image); in addRandomOperation()