/external/deqp/modules/gles3/accuracy/ |
es3aTextureFilteringTests.cpp | 78 std::vector<glu::Texture2D*> m_textures; member in class:deqp::gles3::Accuracy::Texture2DFilteringCase 124 m_textures.reserve(1); 125 m_textures.push_back(glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), (int)m_filenames.size(), m_filenames)); 130 m_textures.reserve(2); 132 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_internalFormat, m_width, m_height)); 135 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat()); 145 m_textures[0]->getRefTexture().allocLevel(levelNdx); 146 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); 157 m_textures[1]->getRefTexture().allocLevel(levelNdx); 158 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::R (…) 333 std::vector<glu::TextureCube*> m_textures; member in class:deqp::gles3::Accuracy::TextureCubeFilteringCase [all...] |
/external/deqp/modules/gles2/accuracy/ |
es2aTextureFilteringTests.cpp | 83 std::vector<glu::Texture2D*> m_textures; member in class:deqp::gles2::Accuracy::Texture2DFilteringCase 132 m_textures.reserve(1); 133 m_textures.push_back(glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), (int)m_filenames.size(), m_filenames)); 138 m_textures.reserve(2); 140 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height)); 144 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat()); 154 m_textures[0]->getRefTexture().allocLevel(levelNdx); 155 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); 166 m_textures[1]->getRefTexture().allocLevel(levelNdx); 167 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::R (…) 344 std::vector<glu::TextureCube*> m_textures; member in class:deqp::gles2::Accuracy::TextureCubeFilteringCase [all...] |
/external/deqp/modules/gles2/functional/ |
es2fTextureFilteringTests.cpp | 109 std::vector<glu::Texture2D*> m_textures; member in class:deqp::gles2::Functional::Texture2DFilteringCase 163 m_textures.reserve(1); 164 m_textures.push_back(glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), (int)m_filenames.size(), m_filenames)); 169 m_textures.reserve(2); 171 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height)); 175 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat()); 185 m_textures[0]->getRefTexture().allocLevel(levelNdx); 186 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); 197 m_textures[1]->getRefTexture().allocLevel(levelNdx); 198 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::R (…) 372 std::vector<glu::TextureCube*> m_textures; member in class:deqp::gles2::Functional::TextureCubeFilteringCase [all...] |
es2fVertexTextureTests.cpp | 412 glu::Texture2D* m_textures[2]; // 2 textures, a gradient texture and a grid texture. member in class:deqp::gles2::Functional::Vertex2DTextureCase 423 m_textures[0] = DE_NULL; 424 m_textures[1] = DE_NULL; 483 DE_ASSERT(!m_textures[i]); 484 m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); 489 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat()); 499 m_textures[0]->getRefTexture().allocLevel(levelNdx); 500 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); 511 m_textures[1]->getRefTexture().allocLevel(levelNdx); 512 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::R (…) 715 glu::TextureCube* m_textures[2]; \/\/ 2 textures, a gradient texture and a grid texture. member in class:deqp::gles2::Functional::VertexCubeTextureCase [all...] |
/external/deqp/modules/gles2/performance/ |
es2pTextureCases.cpp | 80 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) 82 m_textures.clear(); 160 m_textures.reserve(m_numTextures); 168 m_textures.push_back(texture); 188 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) 190 m_textures.clear(); 218 gl.bindTexture(GL_TEXTURE_2D, m_textures[texNdx]->getGLTexture());
|
es2pRedundantStateChangeTests.cpp | 155 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 194 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 234 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 283 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 323 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 360 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 403 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 444 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 487 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 524 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]) [all...] |
es2pStateChangeTests.cpp | 164 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 208 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 253 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 307 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 352 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 394 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 442 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 488 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 536 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 578 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]) [all...] |
es2pTextureCases.hpp | 66 std::vector<glu::Texture2D*> m_textures; member in class:deqp::gles2::Performance::Texture2DRenderCase
|
/external/deqp/modules/gles3/functional/ |
es3fVertexTextureTests.cpp | 510 glu::Texture2D* m_textures[2]; // 2 textures, a gradient texture and a grid texture. member in class:deqp::gles3::Functional::Vertex2DTextureCase 521 m_textures[0] = DE_NULL; 522 m_textures[1] = DE_NULL; 584 DE_ASSERT(!m_textures[i]); 585 m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight); 590 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat()); 600 m_textures[0]->getRefTexture().allocLevel(levelNdx); 601 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); 612 m_textures[1]->getRefTexture().allocLevel(levelNdx); 613 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::R (…) 816 glu::TextureCube* m_textures[2]; \/\/ 2 textures, a gradient texture and a grid texture. member in class:deqp::gles3::Functional::VertexCubeTextureCase 1154 glu::Texture2DArray* m_textures[2]; \/\/ 2 textures, a gradient texture and a grid texture. member in class:deqp::gles3::Functional::Vertex2DArrayTextureCase 1493 glu::Texture3D* m_textures[2]; \/\/ 2 textures, a gradient texture and a grid texture. member in class:deqp::gles3::Functional::Vertex3DTextureCase [all...] |
es3fTextureFilteringTests.cpp | 111 std::vector<glu::Texture2D*> m_textures; member in class:deqp::gles3::Functional::Texture2DFilteringCase 163 m_textures.reserve(1); 164 m_textures.push_back(glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), (int)m_filenames.size(), m_filenames)); 169 m_textures.reserve(2); 171 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_internalFormat, m_width, m_height)); 175 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat()); 185 m_textures[0]->getRefTexture().allocLevel(levelNdx); 186 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); 197 m_textures[1]->getRefTexture().allocLevel(levelNdx); 198 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::R (…) 388 std::vector<glu::TextureCube*> m_textures; member in class:deqp::gles3::Functional::TextureCubeFilteringCase [all...] |
es3fTextureShadowTests.cpp | 197 std::vector<glu::Texture2D*> m_textures; member in class:deqp::gles3::Functional::Texture2DShadowCase 230 m_textures.reserve(2); 231 m_textures.push_back(new glu::Texture2D(m_context.getRenderContext(), m_format, m_width, m_height)); 232 m_textures.push_back(new glu::Texture2D(m_context.getRenderContext(), m_format, m_width, m_height)); 234 int numLevels = m_textures[0]->getRefTexture().getNumLevels(); 239 m_textures[0]->getRefTexture().allocLevel(levelNdx); 240 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)); 251 m_textures[1]->getRefTexture().allocLevel(levelNdx); 252 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA)), toVec4(tcu::RGBA(colorB))); 256 for (std::vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++ [all...] |
/external/deqp/modules/gles3/performance/ |
es3pStateChangeTests.cpp | 164 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 208 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 253 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 307 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 352 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 394 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 442 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 484 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 526 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 572 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]) [all...] |
es3pTextureCases.cpp | 79 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) 81 m_textures.clear(); 186 m_textures.reserve(m_numTextures); 194 m_textures.push_back(texture); 215 for (vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) 217 m_textures.clear(); 245 gl.bindTexture(GL_TEXTURE_2D, m_textures[texNdx]->getGLTexture());
|
es3pRedundantStateChangeTests.cpp | 155 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 194 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 234 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 283 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 323 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 360 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 403 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 440 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 477 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]); 518 gl.bindTexture(GL_TEXTURE_2D, m_textures[0]) [all...] |
es3pTextureCases.hpp | 71 std::vector<glu::Texture2D*> m_textures; member in class:deqp::gles3::Performance::Texture2DRenderCase
|
/external/deqp/modules/glshared/ |
glsMemoryStressCase.cpp | 455 vector<deUint32> m_textures; member in class:deqp::gls::MemObjectAllocator 553 if (!m_textures.empty()) 555 glDeleteTextures((GLsizei)m_textures.size(), &(m_textures[0])); 563 m_textures.clear(); 597 if (m_textures.size() % vectorBlockSize == 0) 598 m_textures.reserve(m_textures.size() + vectorBlockSize); 600 m_textures.push_back(tex);
|
glsStateChangePerfTestCases.cpp | 338 if ((int)m_textures.size() >= count) 341 m_textures.reserve(count); 348 while ((int)m_textures.size() < count) 373 m_textures.push_back(texture); 500 if (!m_textures.empty()) 502 gl.deleteTextures((GLsizei)m_textures.size(), &(m_textures[0])); 503 m_textures.clear();
|
glsLongStressCase.cpp | [all...] |
glsShaderRenderCase.cpp | 145 const vector<TextureBinding>& getTextures (void) const { return m_textures; } 166 vector<TextureBinding> m_textures; member in class:deqp::gls::QuadGrid 183 , m_textures (textures) 436 QuadGrid quadGrid(m_isVertexCase ? GRID_SIZE : 4, width, height, Vec4(0.125f, 0.25f, 0.5f, 1.0f), m_userAttribTransforms, m_textures); 487 for (int ndx = 0; ndx < (int)m_textures.size(); ndx++) 489 const TextureBinding& tex = m_textures[ndx];
|
glsStateChangePerfTestCases.hpp | 91 std::vector<deUint32> m_textures; member in class:deqp::gls::StateChangePerformanceCase
|
glsShaderRenderCase.hpp | 252 std::vector<TextureBinding> m_textures; member in class:deqp::gls::ShaderRenderCase
|
/external/deqp/modules/gles31/functional/ |
es31fLayoutBindingTests.cpp | 846 std::vector<glw::GLuint> m_textures; member in class:deqp::gles31::Functional::__anon10554::SamplerBindingRenderCase 877 m_textures = std::vector<glw::GLuint>(m_numBindings, 0); 880 for (int texNdx = 0; texNdx < (int)m_textures.size(); ++texNdx) 884 gl.genTextures((glw::GLsizei)m_textures.size(), &m_textures[0]); 886 for (int texNdx = 0; texNdx < (int)m_textures.size(); ++texNdx) 887 initializeTexture(m_bindings[texNdx], m_textures[texNdx], m_textureColors[texNdx]); 897 for (int i = 0; i < (int)m_textures.size(); ++i) 899 if (m_textures[i]) 901 m_context.getRenderContext().getFunctions().deleteTextures(1, &m_textures[i]) 1144 std::vector<glw::GLuint> m_textures; member in class:deqp::gles31::Functional::__anon10554::ImageBindingRenderCase [all...] |
/external/deqp/framework/opengl/simplereference/ |
sglrReferenceContext.cpp | 460 m_textures.getAll(textures); 506 m_textures.releaseReference(m_textureUnits[unitNdx].tex1DBinding); 512 m_textures.acquireReference(texture); 521 m_textures.releaseReference(m_textureUnits[unitNdx].tex2DBinding); 527 m_textures.acquireReference(texture); 536 m_textures.releaseReference(m_textureUnits[unitNdx].texCubeBinding); 542 m_textures.acquireReference(texture); 551 m_textures.releaseReference(m_textureUnits[unitNdx].tex2DArrayBinding); 557 m_textures.acquireReference(texture); 566 m_textures.releaseReference(m_textureUnits[unitNdx].tex3DBinding) [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/ |
vktShaderRender.cpp | 132 const std::vector<TextureBindingSp>& getTextures (void) const { return m_textures; } 155 const std::vector<TextureBindingSp>& m_textures; member in class:vkt::sr::QuadGrid 177 , m_textures (textures) 488 QuadGrid quadGrid (m_isVertexCase ? GRID_SIZE : 4, width, height, tcu::Vec4(0.125f, 0.25f, 0.5f, 1.0f), m_userAttribTransforms, m_textures); 941 DE_ASSERT(textureID < m_textures.size()); 945 const TextureBinding& textureBinding = *m_textures[textureID]; [all...] |
vktShaderRenderDiscardTests.cpp | 90 m_textures.push_back(brickTexture);
|