Lines Matching refs:m_config
120 TestConfig m_config; member in deqp::egl::__anon5a2e14880111::TestContext
482 , m_config (config) in TestContext()
494 if (m_config.textureType == TestConfig::TEXTURETYPE_IMAGE in TestContext()
495 || m_config.textureType == TestConfig::TEXTURETYPE_SHARED_IMAGE in TestContext()
496 || m_config.textureType == TestConfig::TEXTURETYPE_SHARED_IMAGE_TEXTURE) in TestContext()
515 if (m_config.textureType == TestConfig::TEXTURETYPE_IMAGE in TestContext()
516 || m_config.textureType == TestConfig::TEXTURETYPE_SHARED_IMAGE in TestContext()
517 || m_config.textureType == TestConfig::TEXTURETYPE_SHARED_IMAGE_TEXTURE) in TestContext()
527 if (m_config.useCoordBuffer && (!m_config.sharedCoordBuffer || !parent)) in TestContext()
528 m_coordBuffer = createCoordBuffer(m_gl, m_config); in TestContext()
529 else if (m_config.useCoordBuffer && m_config.sharedCoordBuffer) in TestContext()
532 createCoordData(m_coordData, m_config); in TestContext()
534 if (m_config.useIndexBuffer && (!m_config.sharedIndexBuffer || !parent)) in TestContext()
535 m_indexBuffer = createIndexBuffer(m_gl, m_config); in TestContext()
536 else if (m_config.useIndexBuffer && m_config.sharedIndexBuffer) in TestContext()
538 else if (m_config.useIndices) in TestContext()
539 createIndexData(m_indexData, m_config); in TestContext()
541 if (m_config.useTexture) in TestContext()
543 if (m_config.textureType == TestConfig::TEXTURETYPE_TEXTURE) in TestContext()
544 m_texture = createTexture(m_gl, m_config); in TestContext()
545 else if (m_config.textureType == TestConfig::TEXTURETYPE_SHARED_TEXTURE) in TestContext()
550 m_texture = createTexture(m_gl, m_config); in TestContext()
552 else if (m_config.textureType == TestConfig::TEXTURETYPE_IMAGE) in TestContext()
557 else if (m_config.textureType == TestConfig::TEXTURETYPE_SHARED_IMAGE) in TestContext()
566 else if (m_config.textureType == TestConfig::TEXTURETYPE_SHARED_IMAGE_TEXTURE) in TestContext()
578 if (!m_config.sharedProgram || !parent) in TestContext()
579 m_program = createProgram(m_gl, m_config); in TestContext()
580 else if (m_config.sharedProgram) in TestContext()
585 if (m_config.useTexture) in TestContext()
593 GLuint sourceTexture = createTexture(m_gl, m_config); in createEGLImage()
661 for (int frameNdx = 0; frameNdx < m_config.frameCount; frameNdx++) in render()
666 for (int callNdx = 0; callNdx < m_config.drawCallCount; callNdx++) in render()
671 if (m_config.useCoordBuffer) in render()
680 if (m_config.useTexture) in render()
686 if (m_config.useIndices) in render()
688 if (m_config.useIndexBuffer) in render()
691 m_gl.drawElements(GL_TRIANGLES, m_config.triangleCount, GL_UNSIGNED_SHORT, 0); in render()
694 m_gl.drawElements(GL_TRIANGLES, m_config.triangleCount, GL_UNSIGNED_SHORT, &(m_indexData[0])); in render()
697 m_gl.drawArrays(GL_TRIANGLES, 0, m_config.triangleCount); in render()
700 if (m_config.useTexture) in render()
820 TestConfig m_config; member in deqp::egl::__anon5a2e14880111::SharedRenderingPerfCase
833 , m_config (config) in SharedRenderingPerfCase()
859 …for (int threadNdx = 0; threadNdx < m_config.threadCount * m_config.perThreadContextCount; threadN… in init()
860 …m_contexts.push_back(new TestContext(m_eglTestCtx, m_display, eglConfig, m_config, m_config.shared… in init()
1041 logTestConfig(m_testCtx.getLog(), m_config); in iterate()
1043 …createThreads(threads, m_config.threadCount, m_config.perThreadContextCount, m_contexts, m_eglTest… in iterate()