/external/deqp/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 78 std::vector<glu::Texture2D*> m_textures; member in deqp::gles3::Accuracy::Texture2DFilteringCase 124 m_textures.reserve(1); in init() 125 …m_textures.push_back(glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), … in init() 130 m_textures.reserve(2); in init() 132 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_internalFormat, m_width, m_height)); in init() 135 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() 145 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 146 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 157 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 158 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*… in init() [all …]
|
/external/deqp/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 83 std::vector<glu::Texture2D*> m_textures; member in deqp::gles2::Accuracy::Texture2DFilteringCase 132 m_textures.reserve(1); in init() 133 …m_textures.push_back(glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), … in init() 138 m_textures.reserve(2); in init() 140 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height)); in init() 144 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() 154 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 155 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 166 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 167 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*… in init() [all …]
|
/external/deqp/modules/gles2/functional/ |
D | es2fTextureFilteringTests.cpp | 109 std::vector<glu::Texture2D*> m_textures; member in deqp::gles2::Functional::Texture2DFilteringCase 163 m_textures.reserve(1); in init() 164 …m_textures.push_back(glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), … in init() 169 m_textures.reserve(2); in init() 171 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height)); in init() 175 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() 185 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 186 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 197 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 198 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*… in init() [all …]
|
D | es2fVertexTextureTests.cpp | 412 glu::Texture2D* m_textures[2]; // 2 textures, a gradient texture and a grid texture. member in deqp::gles2::Functional::Vertex2DTextureCase 423 m_textures[0] = DE_NULL; in Vertex2DTextureCase() 424 m_textures[1] = DE_NULL; in Vertex2DTextureCase() 483 DE_ASSERT(!m_textures[i]); in init() 484 …m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidt… in init() 489 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() 499 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 500 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 511 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 512 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*… in init() [all …]
|
D | es2fShaderDiscardTests.cpp | 119 …m_textures.push_back(TextureBinding(m_brickTexture, tcu::Sampler(tcu::Sampler::CLAMP_TO_EDGE, tcu:… in init()
|
/external/deqp/modules/gles3/functional/ |
D | es3fVertexTextureTests.cpp | 510 glu::Texture2D* m_textures[2]; // 2 textures, a gradient texture and a grid texture. member in deqp::gles3::Functional::Vertex2DTextureCase 521 m_textures[0] = DE_NULL; in Vertex2DTextureCase() 522 m_textures[1] = DE_NULL; in Vertex2DTextureCase() 584 DE_ASSERT(!m_textures[i]); in init() 585 …m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidt… in init() 590 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() 600 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 601 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 612 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 613 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*… in init() [all …]
|
D | es3fTextureFilteringTests.cpp | 111 std::vector<glu::Texture2D*> m_textures; member in deqp::gles3::Functional::Texture2DFilteringCase 163 m_textures.reserve(1); in init() 164 …m_textures.push_back(glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), … in init() 169 m_textures.reserve(2); in init() 171 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_internalFormat, m_width, m_height)); in init() 175 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() 185 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 186 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 197 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 198 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*… in init() [all …]
|
D | es3fTextureShadowTests.cpp | 197 std::vector<glu::Texture2D*> m_textures; member in deqp::gles3::Functional::Texture2DShadowCase 230 m_textures.reserve(2); in init() 231 …m_textures.push_back(new glu::Texture2D(m_context.getRenderContext(), m_format, m_width, m_height)… in init() 232 …m_textures.push_back(new glu::Texture2D(m_context.getRenderContext(), m_format, m_width, m_height)… in init() 234 int numLevels = m_textures[0]->getRefTexture().getNumLevels(); in init() 239 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 240 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), tcu::Vec4(-0.5f… in init() 251 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 252 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA)),… in init() 256 for (std::vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) in init() [all …]
|
D | es3fShaderDiscardTests.cpp | 98 …m_textures.push_back(TextureBinding(m_brickTexture, tcu::Sampler(tcu::Sampler::CLAMP_TO_EDGE, tcu:… in init()
|
/external/deqp/modules/gles2/performance/ |
D | es2pTextureCases.cpp | 80 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) in ~Texture2DRenderCase() 82 m_textures.clear(); in ~Texture2DRenderCase() 160 m_textures.reserve(m_numTextures); in init() 168 m_textures.push_back(texture); in init() 188 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) in deinit() 190 m_textures.clear(); in deinit() 218 gl.bindTexture(GL_TEXTURE_2D, m_textures[texNdx]->getGLTexture()); in setupRenderState()
|
D | es2pRedundantStateChangeTests.cpp | 155 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 194 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 234 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 283 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 323 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 360 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 403 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 444 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 487 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 524 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() [all …]
|
D | es2pStateChangeTests.cpp | 164 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 208 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 253 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 307 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 352 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 394 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 442 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 488 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 536 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 578 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() [all …]
|
D | es2pTextureCases.hpp | 66 std::vector<glu::Texture2D*> m_textures; member in deqp::gles2::Performance::Texture2DRenderCase
|
/external/deqp/modules/gles3/performance/ |
D | es3pTextureCases.cpp | 79 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) in ~Texture2DRenderCase() 81 m_textures.clear(); in ~Texture2DRenderCase() 186 m_textures.reserve(m_numTextures); in init() 194 m_textures.push_back(texture); in init() 215 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) in deinit() 217 m_textures.clear(); in deinit() 245 gl.bindTexture(GL_TEXTURE_2D, m_textures[texNdx]->getGLTexture()); in setupRenderState()
|
D | es3pRedundantStateChangeTests.cpp | 155 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 194 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 234 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 283 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 323 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 360 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 403 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 440 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 477 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 518 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() [all …]
|
D | es3pStateChangeTests.cpp | 164 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 208 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 253 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 307 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 352 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 394 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 442 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 484 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 526 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() 572 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); in init() [all …]
|
D | es3pTextureCases.hpp | 71 std::vector<glu::Texture2D*> m_textures; member in deqp::gles3::Performance::Texture2DRenderCase
|
/external/deqp/modules/glshared/ |
D | glsMemoryStressCase.cpp | 455 vector<deUint32> m_textures; member in deqp::gls::MemObjectAllocator 553 if (!m_textures.empty()) in clearObjects() 555 glDeleteTextures((GLsizei)m_textures.size(), &(m_textures[0])); in clearObjects() 563 m_textures.clear(); in clearObjects() 597 if (m_textures.size() % vectorBlockSize == 0) in allocateTexture() 598 m_textures.reserve(m_textures.size() + vectorBlockSize); in allocateTexture() 600 m_textures.push_back(tex); in allocateTexture()
|
D | glsStateChangePerfTestCases.cpp | 338 if ((int)m_textures.size() >= count) in requireTextures() 341 m_textures.reserve(count); in requireTextures() 348 while ((int)m_textures.size() < count) in requireTextures() 373 m_textures.push_back(texture); in requireTextures() 500 if (!m_textures.empty()) in deinit() 502 gl.deleteTextures((GLsizei)m_textures.size(), &(m_textures[0])); in deinit() 503 m_textures.clear(); in deinit()
|
D | glsLongStressCase.cpp | 1115 , m_textures (DE_NULL) in LongStressCase() 1181 DE_ASSERT(!m_programs && !m_buffers && !m_textures); in init() 1184 m_textures = new GLObjectManager<Texture>; in init() 1248 delete m_textures; in deinit() 1249 m_textures = DE_NULL; in deinit() 1304 const bool hadTexture = m_textures->has(texName); in iterate() 1308 m_textures->make(texName, spec.textureType); in iterate() 1312 Texture& texture = m_textures->get(texName); in iterate() 1314 …m_textures->removeGarbageUntilUnder(m_maxTexMemoryUsageBytes - texture.getApproxMemUsageDiff(spec.… in iterate() 1335 …m_textures->get(textureNamePrefix + toString(texSpecIndices[i])).toUnit(programContext.textureSpec… in iterate() [all …]
|
D | glsShaderRenderCase.cpp | 161 const vector<TextureBinding>& getTextures (void) const { return m_textures; } in getTextures() 182 vector<TextureBinding> m_textures; member in deqp::gls::QuadGrid 199 , m_textures (textures) in QuadGrid() 452 …GRID_SIZE : 4, width, height, Vec4(0.125f, 0.25f, 0.5f, 1.0f), m_userAttribTransforms, m_textures); in iterate() 503 for (int ndx = 0; ndx < (int)m_textures.size(); ndx++) in setupDefaultInputs() 505 const TextureBinding& tex = m_textures[ndx]; in setupDefaultInputs()
|
D | glsStateChangePerfTestCases.hpp | 91 std::vector<deUint32> m_textures; member in deqp::gls::StateChangePerformanceCase
|
D | glsShaderRenderCase.hpp | 252 std::vector<TextureBinding> m_textures; member in deqp::gls::ShaderRenderCase
|
/external/deqp/modules/gles31/functional/ |
D | es31fLayoutBindingTests.cpp | 824 std::vector<glw::GLuint> m_textures; member in deqp::gles31::Functional::__anon95779b950111::SamplerBindingRenderCase 855 m_textures = std::vector<glw::GLuint>(m_numBindings, 0); in init() 858 for (int texNdx = 0; texNdx < (int)m_textures.size(); ++texNdx) in init() 862 gl.genTextures((glw::GLsizei)m_textures.size(), &m_textures[0]); in init() 864 for (int texNdx = 0; texNdx < (int)m_textures.size(); ++texNdx) in init() 865 initializeTexture(m_bindings[texNdx], m_textures[texNdx], m_textureColors[texNdx]); in init() 875 for (int i = 0; i < (int)m_textures.size(); ++i) in deinit() 877 if (m_textures[i]) in deinit() 879 m_context.getRenderContext().getFunctions().deleteTextures(1, &m_textures[i]); in deinit() 1122 std::vector<glw::GLuint> m_textures; member in deqp::gles31::Functional::__anon95779b950111::ImageBindingRenderCase [all …]
|
/external/deqp/framework/opengl/simplereference/ |
D | sglrReferenceContext.cpp | 460 m_textures.getAll(textures); in ~ReferenceContext() 506 m_textures.releaseReference(m_textureUnits[unitNdx].tex1DBinding); in setTex1DBinding() 512 m_textures.acquireReference(texture); in setTex1DBinding() 521 m_textures.releaseReference(m_textureUnits[unitNdx].tex2DBinding); in setTex2DBinding() 527 m_textures.acquireReference(texture); in setTex2DBinding() 536 m_textures.releaseReference(m_textureUnits[unitNdx].texCubeBinding); in setTexCubeBinding() 542 m_textures.acquireReference(texture); in setTexCubeBinding() 551 m_textures.releaseReference(m_textureUnits[unitNdx].tex2DArrayBinding); in setTex2DArrayBinding() 557 m_textures.acquireReference(texture); in setTex2DArrayBinding() 566 m_textures.releaseReference(m_textureUnits[unitNdx].tex3DBinding); in setTex3DBinding() [all …]
|