/external/deqp/framework/opengl/ |
H A D | gluTexture.hpp | 49 tcu::Texture1D& getRefTexture (void) { return m_refTexture; } function in class:glu::Texture1D 50 const tcu::Texture1D& getRefTexture (void) const { return m_refTexture; } function in class:glu::Texture1D 78 tcu::Texture2D& getRefTexture (void) { return m_refTexture; } function in class:glu::Texture2D 79 const tcu::Texture2D& getRefTexture (void) const { return m_refTexture; } function in class:glu::Texture2D 118 tcu::TextureCube& getRefTexture (void) { return m_refTexture; } function in class:glu::TextureCube 119 const tcu::TextureCube& getRefTexture (void) const { return m_refTexture; } function in class:glu::TextureCube 153 tcu::Texture2DArray& getRefTexture (void) { return m_refTexture; } function in class:glu::Texture2DArray 154 const tcu::Texture2DArray& getRefTexture (void) const { return m_refTexture; } function in class:glu::Texture2DArray 182 tcu::Texture1DArray& getRefTexture (void) { return m_refTexture; } function in class:glu::Texture1DArray 183 const tcu::Texture1DArray& getRefTexture (voi function in class:glu::Texture1DArray 211 tcu::Texture3D& getRefTexture (void) { return m_refTexture; } function in class:glu::Texture3D 212 const tcu::Texture3D& getRefTexture (void) const { return m_refTexture; } function in class:glu::Texture3D 240 tcu::TextureCubeArray& getRefTexture (void) { return m_refTexture; } function in class:glu::TextureCubeArray 241 const tcu::TextureCubeArray& getRefTexture (void) const { return m_refTexture; } function in class:glu::TextureCubeArray 267 const tcu::PixelBufferAccess& getRefTexture (void) { return m_refTexture; } function in class:glu::TextureBuffer 268 const tcu::ConstPixelBufferAccess& getRefTexture (void) const { return m_refTexture; } function in class:glu::TextureBuffer [all...] |
H A D | gluTexture.cpp | 238 texture->getRefTexture().allocLevel(0); 239 tcu::copy(texture->getRefTexture().getLevel(0), level.getAccess()); 246 texture->getRefTexture().allocLevel(levelNdx); 247 tcu::copy(texture->getRefTexture().getLevel(levelNdx), level.getAccess());
|
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aTextureFilteringTests.cpp | 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::RGBA(colorB))*cScale + cBias); 192 const tcu::TextureFormat& texFmt = m_textures[0]->getRefTexture().getFormat(); 234 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); 245 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); 267 float sRange = ((float)leftWidth * 1.2f) / (float)m_textures[curTexNdx]->getRefTexture().getWidth(); 268 float tRange = ((float)topHeight * 1.1f) / (float)m_textures[curTexNdx]->getRefTexture() [all...] |
H A D | es3aTextureMipmapTests.cpp | 161 m_texture->getRefTexture().allocLevel(levelNdx); 162 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), toVec4(tcu::RGBA(color))); 244 const tcu::Texture2D& refTexture = m_texture->getRefTexture(); 277 sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getFormat()); 344 sampleTexture(idealDst, m_texture->getRefTexture(), &texCoord[0], sampleParams); 467 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); 468 tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::RGBA(color))); 517 int texWidth = m_texture->getRefTexture().getSize(); 518 int texHeight = m_texture->getRefTexture().getSize(); 608 sampleTexture(idealDst, m_texture->getRefTexture(), [all...] |
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aTextureFilteringTests.cpp | 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::RGBA(colorB))*cScale + cBias); 201 const tcu::TextureFormat& texFmt = m_textures[0]->getRefTexture().getFormat(); 243 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); 254 m_textures[curTexNdx]->getRefTexture(), &texCoord[0], refParams); 276 float sRange = ((float)leftWidth * 1.2f) / (float)m_textures[curTexNdx]->getRefTexture().getWidth(); 277 float tRange = ((float)topHeight * 1.1f) / (float)m_textures[curTexNdx]->getRefTexture() [all...] |
H A D | es2aTextureMipmapTests.cpp | 169 m_texture->getRefTexture().allocLevel(levelNdx); 170 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), toVec4(tcu::RGBA(color))); 252 const tcu::Texture2D& refTexture = m_texture->getRefTexture(); 284 sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getFormat()); 351 sampleTexture(idealDst, m_texture->getRefTexture(), &texCoord[0], sampleParams); 479 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); 480 tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::RGBA(color))); 529 int texWidth = m_texture->getRefTexture().getSize(); 530 int texHeight = m_texture->getRefTexture().getSize(); 619 sampleTexture(idealDst, m_texture->getRefTexture(), [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureFormatTests.cpp | 143 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); 146 m_texture->getRefTexture().allocLevel(0); 147 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); 182 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); 186 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 219 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); 238 return m_curLayerFace < m_texture->getRefTexture().getDepth() ? CONTINUE : STOP; 299 tcu::fillWithComponentGradients(m_texture->getRefTexture(), colorA, colorB); 320 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); 323 renderParams.samplerType = getFetchSamplerType(m_texture->getRefTexture() [all...] |
H A D | es31fTextureFilteringTests.cpp | 226 m_gradientTex->getRefTexture().allocLevel(levelNdx); 228 const tcu::PixelBufferAccess levelBuf = m_gradientTex->getRefTexture().getLevel(levelNdx); 243 m_gridTex->getRefTexture().allocLevel(levelNdx); 245 const tcu::PixelBufferAccess levelBuf = m_gridTex->getRefTexture().getLevel(levelNdx); 327 const tcu::TextureFormat texFmt = curCase.texture->getRefTexture().getFormat(); 388 const bool isHighQuality = verifyTextureResult(m_testCtx, result.getAccess(), curCase.texture->getRefTexture(), 399 const bool isOk = verifyTextureResult(m_testCtx, result.getAccess(), curCase.texture->getRefTexture(),
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fTextureSwizzleTests.cpp | 129 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); 132 m_texture->getRefTexture().allocLevel(0); 133 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); 148 RandomViewport viewport (m_context.getRenderContext().getRenderTarget(), m_texture->getRefTexture().getWidth(), m_texture->getRefTexture().getHeight(), deStringHash(getName())); 154 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); 156 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 196 sampleTexture(SurfaceAccess(referenceFrame, tcu::PixelFormat(8,8,8,8)), m_texture->getRefTexture(), &texCoord[0], renderParams);
|
H A D | es3fTextureFormatTests.cpp | 141 m_texture->getRefTexture().allocLevel(0); 142 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); 163 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); 170 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 208 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); 323 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); 324 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), gMin, gMax); 353 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); 355 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 390 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), [all...] |
H A D | es3fTextureFilteringTests.cpp | 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::RGBA(colorB))*cScale + cBias); 233 const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth()); 234 const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeight()); 265 const tcu::TextureFormat texFmt = m_textures[0]->getRefTexture().getFormat(); 311 const bool isHighQuality = verifyTextureResult(m_testCtx, rendered.getAccess(), curCase.texture->getRefTexture(), 322 const bool isOk = verifyTextureResult(m_testCtx, rendered.getAccess(), curCase.texture->getRefTexture(), [all...] |
H A D | es3fTextureSizeTests.cpp | 104 m_texture->getRefTexture().allocLevel(levelNdx); 105 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(levelNdx), tcu::Vec4(-1.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)); 154 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_2D, mapGLSampler(wrapS, wrapT, minFilter, magFilter))); 239 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); 240 fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0], gradients[face][1]); 298 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler));
|
H A D | es3fTextureShadowTests.cpp | 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))); 302 const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth()); 303 const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeight()); 374 const bool isHighQuality = verifyTexCompareResult(m_testCtx, rendered.getAccess(), curCase.texture->getRefTexture(), 385 const bool isOk = verifyTexCompareResult(m_testCtx, rendered.getAccess(), curCase.texture->getRefTexture(), 508 m_gradientTex->getRefTexture() [all...] |
H A D | es3fVertexTextureTests.cpp | 404 const tcu::Texture2D& ref = tex.getRefTexture(); 410 const tcu::TextureCube& ref = tex.getRefTexture(); 416 const tcu::Texture2DArray& ref = tex.getRefTexture(); 422 const tcu::Texture3D& ref = tex.getRefTexture(); 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::RGBA(colorB))*cScale + cBias); 642 const tcu::Texture2D& refTexture = m_textures[textureNdx]->getRefTexture(); [all...] |
H A D | es3fTextureWrapTests.cpp | 203 m_width = m_texture->getRefTexture().getWidth(); 204 m_height = m_texture->getRefTexture().getHeight(); 266 m_texture->getRefTexture().allocLevel(0); 267 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)); 299 const tcu::TextureFormat texFormat = m_texture->getRefTexture().getFormat(); 320 refParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 347 const bool isOk = verifyTextureResult(m_testCtx, renderedFrame.getAccess(), m_texture->getRefTexture(),
|
H A D | es3fTextureMipmapTests.cpp | 217 m_texture->getRefTexture().allocLevel(levelNdx); 218 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), toVec4(tcu::RGBA(color))); 296 const tcu::Texture2D& refTexture = m_texture->getRefTexture(); 325 sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getFormat()); 440 m_texture->getRefTexture(), &texCoord[0], sampleParams, 575 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); 576 tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::RGBA(color))); 623 const int texWidth = m_texture->getRefTexture().getSize(); 624 const int texHeight = m_texture->getRefTexture().getSize(); 752 sampleTexture(idealDst, m_texture->getRefTexture(), [all...] |
/external/deqp/modules/gles2/functional/ |
H A D | es2fTextureFormatTests.cpp | 124 m_texture->getRefTexture().allocLevel(0); 125 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), spec.valueMin, spec.valueMax); 146 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); 153 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 191 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], renderParams); 292 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); 293 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), gMin, gMax); 322 tcu::TextureFormatInfo spec = tcu::getTextureFormatInfo(m_texture->getRefTexture().getFormat()); 324 renderParams.samplerType = getSamplerType(m_texture->getRefTexture().getFormat()); 359 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), [all...] |
H A D | es2fTextureSizeTests.cpp | 104 m_texture->getRefTexture().allocLevel(levelNdx); 105 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(levelNdx), tcu::Vec4(-1.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)); 154 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_2D, mapGLSampler(wrapS, wrapT, minFilter, magFilter))); 239 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); 240 fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0], gradients[face][1]); 298 sampleTexture(SurfaceAccess(referenceFrame, m_renderCtx.getRenderTarget().getPixelFormat()), m_texture->getRefTexture(), &texCoord[0], ReferenceParams(TEXTURETYPE_CUBE, sampler));
|
H A D | es2fTextureWrapTests.cpp | 136 m_width = m_texture->getRefTexture().getWidth(); 137 m_height = m_texture->getRefTexture().getHeight(); 144 m_texture->getRefTexture().allocLevel(0); 145 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevel(0), tcu::Vec4(-0.5f, -0.5f, -0.5f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)); 200 m_texture->getRefTexture(), &texCoord[0], refParams); 213 m_texture->getRefTexture(), &texCoord[0], refParams);
|
H A D | es2fTextureFilteringTests.cpp | 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::RGBA(colorB))*cScale + cBias); 233 const float sX = deFloatExp2(lodX)*viewportW / float(m_textures[texNdx]->getRefTexture().getWidth()); 234 const float sY = deFloatExp2(lodY)*viewportH / float(m_textures[texNdx]->getRefTexture().getHeight()); 265 const tcu::TextureFormat texFmt = m_textures[0]->getRefTexture().getFormat(); 311 const bool isOk = verifyTextureResult(m_testCtx, rendered.getAccess(), curCase.texture->getRefTexture(), 438 tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture() [all...] |
H A D | es2fVertexTextureTests.cpp | 320 const tcu::Texture2D& ref = tex.getRefTexture(); 326 const tcu::TextureCube& ref = tex.getRefTexture(); 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::RGBA(colorB))*cScale + cBias); 541 const tcu::Texture2D& refTexture = m_textures[textureNdx]->getRefTexture(); 685 computeReference(m_textures[textureNdx]->getRefTexture(), lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter), grid, dst, dstRegion); 795 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture() [all...] |
H A D | es2fTextureMipmapTests.cpp | 173 m_texture->getRefTexture().allocLevel(levelNdx); 174 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), toVec4(tcu::RGBA(color))); 252 const tcu::Texture2D& refTexture = m_texture->getRefTexture(); 281 sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getFormat()); 396 m_texture->getRefTexture(), &texCoord[0], sampleParams, 536 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); 537 tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::RGBA(color))); 584 const int texWidth = m_texture->getRefTexture().getSize(); 585 const int texHeight = m_texture->getRefTexture().getSize(); 713 sampleTexture(idealDst, m_texture->getRefTexture(), [all...] |
/external/deqp/modules/gles2/performance/ |
H A D | es2pTextureCases.cpp | 171 int numLevels = mipmaps ? texture->getRefTexture().getNumLevels() : 1; 174 texture->getRefTexture().allocLevel(levelNdx); 175 tcu::fillWithComponentGradients(texture->getRefTexture().getLevel(levelNdx),
|
/external/deqp/modules/gles3/performance/ |
H A D | es3pTextureCases.cpp | 197 int numLevels = mipmaps ? texture->getRefTexture().getNumLevels() : 1; 201 texture->getRefTexture().allocLevel(levelNdx); 202 tcu::fillWithComponentGradients(texture->getRefTexture().getLevel(levelNdx),
|
/external/deqp/modules/glshared/ |
H A D | glsRandomShaderCase.cpp | 238 m_tex2D->getRefTexture().allocLevel(0); 239 tcu::fillWithComponentGradients(m_tex2D->getRefTexture().getLevel(0), tcu::Vec4(-1.0f, -1.0f, -1.0f, 2.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 0.0f)); 274 m_texCube->getRefTexture().allocLevel((tcu::CubeFace)face, 0); 275 tcu::fillWithComponentGradients(m_texCube->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), gradients[face][0], gradients[face][1]); 466 executor.setTexture(unitNdx, &texture->getRefTexture(), glu::mapGLSampler(TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_MIN_FILTER, TEXTURE_MAG_FILTER)); 478 executor.setTexture(unitNdx, &texture->getRefTexture(), glu::mapGLSampler(TEXTURE_WRAP_S, TEXTURE_WRAP_T, TEXTURE_MIN_FILTER, TEXTURE_MAG_FILTER));
|