/third_party/vk-gl-cts/modules/gles3/accuracy/ |
D | es3aTextureFilteringTests.cpp | 79 std::vector<glu::Texture2D*> m_textures; member in deqp::gles3::Accuracy::Texture2DFilteringCase 125 m_textures.reserve(1); in init() 126 …m_textures.push_back(glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), … in init() 131 m_textures.reserve(2); in init() 133 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_internalFormat, m_width, m_height)); in init() 136 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() 146 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 147 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 158 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 159 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() [all …]
|
/third_party/vk-gl-cts/modules/gles2/accuracy/ |
D | es2aTextureFilteringTests.cpp | 85 std::vector<glu::Texture2D*> m_textures; member in deqp::gles2::Accuracy::Texture2DFilteringCase 134 m_textures.reserve(1); in init() 135 …m_textures.push_back(glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), … in init() 140 m_textures.reserve(2); in init() 142 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height)); in init() 146 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() 156 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 157 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 168 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 169 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() [all …]
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
D | es2fTextureFilteringTests.cpp | 110 std::vector<glu::Texture2D*> m_textures; member in deqp::gles2::Functional::Texture2DFilteringCase 164 m_textures.reserve(1); in init() 165 …m_textures.push_back(glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), … in init() 170 m_textures.reserve(2); in init() 172 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height)); in init() 176 …tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getForm… in init() 186 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 187 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 198 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 199 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() [all …]
|
D | es2fVertexTextureTests.cpp | 415 glu::Texture2D* m_textures[2]; // 2 textures, a gradient texture and a grid texture. member in deqp::gles2::Functional::Vertex2DTextureCase 426 m_textures[0] = DE_NULL; in Vertex2DTextureCase() 427 m_textures[1] = DE_NULL; in Vertex2DTextureCase() 486 DE_ASSERT(!m_textures[i]); in init() 487 …m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidt… in init() 492 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() 502 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 503 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 514 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 515 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() [all …]
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
D | es3fVertexTextureTests.cpp | 512 glu::Texture2D* m_textures[2]; // 2 textures, a gradient texture and a grid texture. member in deqp::gles3::Functional::Vertex2DTextureCase 523 m_textures[0] = DE_NULL; in Vertex2DTextureCase() 524 m_textures[1] = DE_NULL; in Vertex2DTextureCase() 586 DE_ASSERT(!m_textures[i]); in init() 587 …m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidt… in init() 592 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() 602 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 603 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 614 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 615 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() [all …]
|
D | es3fTextureFilteringTests.cpp | 131 std::vector<glu::Texture2D*> m_textures; member in deqp::gles3::Functional::Texture2DFilteringCase 185 m_textures.reserve(1); in init() 186 …m_textures.push_back(glu::Texture2D::create(m_renderCtx, m_renderCtxInfo, m_testCtx.getArchive(), … in init() 191 m_textures.reserve(2); in init() 193 m_textures.push_back(new glu::Texture2D(m_renderCtx, m_internalFormat, m_width, m_height)); in init() 197 …const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().g… in init() 207 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 208 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax); in init() 219 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 220 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*… in init() [all …]
|
D | es3fTextureShadowTests.cpp | 199 std::vector<glu::Texture2D*> m_textures; member in deqp::gles3::Functional::Texture2DShadowCase 232 m_textures.reserve(2); in init() 233 …m_textures.push_back(new glu::Texture2D(m_context.getRenderContext(), m_format, m_width, m_height)… in init() 234 …m_textures.push_back(new glu::Texture2D(m_context.getRenderContext(), m_format, m_width, m_height)… in init() 236 int numLevels = m_textures[0]->getRefTexture().getNumLevels(); in init() 241 m_textures[0]->getRefTexture().allocLevel(levelNdx); in init() 242 …tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), tcu::Vec4(-0.5f… in init() 253 m_textures[1]->getRefTexture().allocLevel(levelNdx); in init() 254 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec(),… in init() 258 for (std::vector<glu::Texture2D*>::iterator i = m_textures.begin(); i != m_textures.end(); i++) in init() [all …]
|
/third_party/vk-gl-cts/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
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/texture/ |
D | vktTextureShadowTests.cpp | 252 std::vector<TestTexture2DSp> m_textures; member in vkt::texture::__anon26fa1f1d0111::Texture2DShadowTestInstance 267 m_textures.reserve(2); in Texture2DShadowTestInstance() 270 …m_textures.push_back(TestTexture2DSp(new pipeline::TestTexture2D(vk::mapVkFormat(m_testParameters.… in Texture2DShadowTestInstance() 273 const int numLevels = m_textures[0]->getNumLevels(); in Texture2DShadowTestInstance() 278 …tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, 0), tcu::Vec4(-0.5f, -0.5f, -0.5… in Texture2DShadowTestInstance() 289 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec(), tcu::RGBA(co… in Texture2DShadowTestInstance() 293 for (std::vector<TestTexture2DSp>::iterator i = m_textures.begin(); i != m_textures.end(); ++i) in Texture2DShadowTestInstance() 325 const int texNdx = de::clamp(cases[caseNdx].texNdx, 0, (int)m_textures.size()-1); in Texture2DShadowTestInstance() 331 …const float sX = deFloatExp2(lodX) * float(m_renderer.getRenderWidth()) / float(m_textures[texNdx… in Texture2DShadowTestInstance() 332 …const float sY = deFloatExp2(lodY) * float(m_renderer.getRenderHeight()) / float(m_textures[texNd… in Texture2DShadowTestInstance() [all …]
|
D | vktTextureFilteringTests.cpp | 191 vector<TestTexture2DSp> m_textures; member in vkt::texture::__anond6a62ebb0111::Texture2DFilteringTestInstance 222 m_textures.reserve(2); in Texture2DFilteringTestInstance() 225 …m_textures.push_back(TestTexture2DSp(new pipeline::TestTexture2D(vk::mapVkFormat(m_testParameters.… in Texture2DFilteringTestInstance() 227 …m_textures.push_back(TestTexture2DSp(new pipeline::TestTexture2D(vk::mapVkFormat(m_testParameters.… in Texture2DFilteringTestInstance() 236 …tcu::fillWithComponentGradients(getEffectiveDepthStencilAccess(m_textures[0]->getLevel(levelNdx, 0… in Texture2DFilteringTestInstance() 238 tcu::fillWithComponentGradients(m_textures[0]->getLevel(levelNdx, 0), gMin, gMax); in Texture2DFilteringTestInstance() 250 …tcu::fillWithGrid(getEffectiveDepthStencilAccess(m_textures[1]->getLevel(levelNdx, 0), tcu::Sample… in Texture2DFilteringTestInstance() 252 …tcu::fillWithGrid(m_textures[1]->getLevel(levelNdx, 0), 4, tcu::RGBA(colorA).toVec()*cScale + cBia… in Texture2DFilteringTestInstance() 256 for (vector<TestTexture2DSp>::iterator i = m_textures.begin(); i != m_textures.end(); i++) in Texture2DFilteringTestInstance() 280 const int texNdx = de::clamp(cases[caseNdx].texNdx, 0, (int)m_textures.size()-1); in Texture2DFilteringTestInstance() [all …]
|
/third_party/vk-gl-cts/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
|
/third_party/vk-gl-cts/modules/glshared/ |
D | glsMemoryStressCase.cpp | 448 vector<deUint32> m_textures; member in deqp::gls::MemObjectAllocator 546 if (!m_textures.empty()) in clearObjects() 548 glDeleteTextures((GLsizei)m_textures.size(), &(m_textures[0])); in clearObjects() 556 m_textures.clear(); in clearObjects() 590 if (m_textures.size() % vectorBlockSize == 0) in allocateTexture() 591 m_textures.reserve(m_textures.size() + vectorBlockSize); in allocateTexture() 593 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 | 145 const vector<TextureBinding>& getTextures (void) const { return m_textures; } in getTextures() 166 vector<TextureBinding> m_textures; member in deqp::gls::QuadGrid 183 , m_textures (textures) in QuadGrid() 436 …GRID_SIZE : 4, width, height, Vec4(0.125f, 0.25f, 0.5f, 1.0f), m_userAttribTransforms, m_textures); in iterate() 487 for (int ndx = 0; ndx < (int)m_textures.size(); ndx++) in setupDefaultInputs() 489 const TextureBinding& tex = m_textures[ndx]; in setupDefaultInputs()
|
/third_party/vk-gl-cts/external/openglcts/modules/glesext/geometry_shader/ |
D | esextcGeometryShaderLimits.cpp | 2330 gl.deleteTextures(1, &m_textures[i].texture_id); in clean() 2333 m_textures.clear(); in clean() 2440 m_textures.resize(m_max_texture_units); in prepareProgramInput() 2446 m_textures[i].data = i * 2 + 1; in prepareProgramInput() 2449 gl.genTextures(1, &m_textures[i].texture_id); in prepareProgramInput() 2450 gl.bindTexture(GL_TEXTURE_2D, m_textures[i].texture_id); in prepareProgramInput() 2456 GL_RED_INTEGER, GL_INT, &m_textures[i].data); in prepareProgramInput() 2496 gl.bindTexture(GL_TEXTURE_2D, m_textures[i].texture_id); in prepareProgramInput() 2517 const glw::GLint first_value = m_textures[0].data; in verifyResult() 2518 const glw::GLint last_value = m_textures[point].data; in verifyResult() [all …]
|
/third_party/vk-gl-cts/external/openglcts/modules/common/ |
D | glcPackedDepthStencilTests.cpp | 343 GLuint m_textures[NUM_TEXTURES]; member in glcts::BaseTest 497 gl.genTextures(NUM_TEXTURES, m_textures); in createTextures() 502 gl.bindTexture(GL_TEXTURE_2D, m_textures[packedTexImage]); in createTextures() 508 …gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, m_textures[packedTexIm… in createTextures() 509 …gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, m_textures[packedTex… in createTextures() 513 gl.bindTexture(GL_TEXTURE_2D, m_textures[packedTexRender]); in createTextures() 517 …gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, m_textures[packedTexRe… in createTextures() 518 …gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_STENCIL_ATTACHMENT, GL_TEXTURE_2D, m_textures[packedTex… in createTextures() 522 gl.bindTexture(GL_TEXTURE_2D, m_textures[packedTexRenderInitStencil]); in createTextures() 527 …gl.framebufferTexture2D(GL_FRAMEBUFFER, GL_DEPTH_ATTACHMENT, GL_TEXTURE_2D, m_textures[packedTexRe… in createTextures() [all …]
|
D | glcShaderRenderCase.cpp | 179 return m_textures; in getTextures() 222 vector<TextureBinding> m_textures; member in deqp::QuadGrid 240 , m_textures(textures) in QuadGrid() 500 m_userAttribTransforms, m_textures); in iterate() 546 for (int ndx = 0; ndx < (int)m_textures.size(); ndx++) in setupDefaultInputs() 548 const TextureBinding& tex = m_textures[ndx]; in setupDefaultInputs()
|
/third_party/vk-gl-cts/modules/gles31/functional/ |
D | es31fLayoutBindingTests.cpp | 1036 std::vector<glw::GLuint> m_textures; member in deqp::gles31::Functional::__anon4f4f26f00111::SamplerBindingRenderCase 1067 m_textures = std::vector<glw::GLuint>(m_numBindings, 0); in init() 1070 for (int texNdx = 0; texNdx < (int)m_textures.size(); ++texNdx) in init() 1074 gl.genTextures((glw::GLsizei)m_textures.size(), &m_textures[0]); in init() 1076 for (int texNdx = 0; texNdx < (int)m_textures.size(); ++texNdx) in init() 1077 initializeTexture(m_bindings[texNdx], m_textures[texNdx], m_textureColors[texNdx]); in init() 1087 for (int i = 0; i < (int)m_textures.size(); ++i) in deinit() 1089 if (m_textures[i]) in deinit() 1091 m_context.getRenderContext().getFunctions().deleteTextures(1, &m_textures[i]); in deinit() 1359 std::vector<glw::GLuint> m_textures; member in deqp::gles31::Functional::__anon4f4f26f00111::ImageBindingRenderCase [all …]
|