/external/deqp/framework/opengl/ |
gluTextureUtil.hpp | 76 deUint32 getGLCubeFace (tcu::CubeFace face); 77 tcu::CubeFace getCubeFaceFromGL (deUint32 face);
|
gluTexture.cpp | 363 if (m_refTexture.isLevelEmpty((tcu::CubeFace)face, levelNdx)) 366 tcu::ConstPixelBufferAccess access = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); 368 gl.texImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, m_format, access.getWidth(), access.getHeight(), 0 /* border */, transferFormat.format, transferFormat.dataType, access.getDataPtr()); 390 m_refTexture.allocLevel((tcu::CubeFace)face, levelNdx); 391 tcu::PixelBufferAccess refLevelAccess = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); 397 gl.compressedTexImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, compressedFormat,
|
/external/deqp/framework/common/ |
tcuTexVerifierUtil.hpp | 97 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces);
|
tcuTexture.hpp | 431 enum CubeFace 449 CubeFace face; 453 CubeFaceCoords (CubeFace face_, T s_, T t_) : face(face_), s(s_), t(t_) {} 454 CubeFaceCoords (CubeFace face_, const Vector<T, 2>& c) : face(face_), s(c.x()), t(c.y()) {} 460 CubeFace selectCubeFace (const Vec3& coords); 461 Vec2 projectToFace (CubeFace face, const Vec3& coords); 738 const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBounds(ndx, 0, m_numLevels)); return m_levels[face][ndx]; } 739 const ConstPixelBufferAccess* getFaceLevels (CubeFace face) const { return m_levels[face]; } 766 const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { return m_access[face][ndx]; } 767 const PixelBufferAccess& getLevelFace (int ndx, CubeFace face) { return m_access[face][ndx]; [all...] |
tcuTexVerifierUtil.cpp | 61 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces)
|
tcuTexture.cpp | [all...] |
tcuTextureUtil.hpp | 109 int getCubeArrayFaceIndex (CubeFace face);
|
/external/deqp/modules/gles2/functional/ |
es2fTextureSizeTests.cpp | 179 bool testFace (tcu::CubeFace face); 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]); 260 bool TextureCubeSizeCase::testFace (tcu::CubeFace face) 307 if (!testFace((tcu::CubeFace)m_curFace))
|
es2fTextureFormatTests.cpp | 218 bool testFace (tcu::CubeFace face); 292 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); 293 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), gMin, gMax); 312 bool TextureCubeFormatCase::testFace (tcu::CubeFace face) 368 if (!testFace((tcu::CubeFace)m_curFace)) 508 bool testFace (tcu::CubeFace face); 557 bool CompressedCubeFormatCase::testFace (tcu::CubeFace face) 602 if (!testFace((tcu::CubeFace)m_curFace))
|
es2fTextureCompletenessTests.cpp | 217 computeQuadTexCoordCube (texCoord, (tcu::CubeFace)face); 570 IncompleteCubeSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, tcu::CubeFace invalidCubeFace); 578 tcu::CubeFace m_invalidCubeFace; 591 IncompleteCubeSizeCase::IncompleteCubeSizeCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, tcu::CubeFace invalidCubeFace) 642 IncompleteCubeFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, deUint32 format, deUint32 invalidFormat, tcu::CubeFace invalidCubeFace); 650 tcu::CubeFace m_invalidCubeFace; 663 IncompleteCubeFormatCase::IncompleteCubeFormatCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, deUint32 format, deUint32 invalidFormat, tcu::CubeFace invalidCubeFace) 714 IncompleteCubeMissingLevelCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, int invalidLevelNdx, tcu::CubeFace invalidCubeFace); 721 tcu::CubeFace m_invalidCubeFace; 733 IncompleteCubeMissingLevelCase::IncompleteCubeMissingLevelCase (tcu::TestContext& testCtx, glu::RenderContext& renderCtx, const char* name, const char* description, IVec2 size, int invalidLevelNdx, tcu::CubeFace invalidCubeFace [all...] |
es2fTextureMipmapTests.cpp | 536 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); 537 tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::RGBA(color))); 637 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); 641 computeQuadTexCoordCube(texCoord, cubeFace); 693 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); 696 computeQuadTexCoordCube(texCoord, cubeFace); [all...] |
es2fTextureFilteringTests.cpp | 456 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); 457 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 471 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); 472 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 515 static const char* getFaceDesc (const tcu::CubeFace face) 567 const tcu::CubeFace face = tcu::CubeFace(faceNdx);
|
es2fVertexTextureTests.cpp | 157 tcu::CubeFace face; 159 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_, tcu::CubeFace face_) : scale(scale_), bias(bias_), face(face_) {} 813 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); 814 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 828 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); 829 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); [all...] |
/external/deqp/modules/gles3/functional/ |
es3fTextureSizeTests.cpp | 179 bool testFace (tcu::CubeFace face); 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]); 260 bool TextureCubeSizeCase::testFace (tcu::CubeFace face) 307 if (!testFace((tcu::CubeFace)m_curFace))
|
es3fTextureShadowTests.cpp | 92 clampFloatingPointTexture(target.getLevelFace(level, (tcu::CubeFace)face)); 508 m_gradientTex->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); 509 tcu::fillWithComponentGradients(m_gradientTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 523 m_gridTex->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); 524 tcu::fillWithGrid(m_gridTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 579 static const char* getFaceDesc (const tcu::CubeFace face) 635 const tcu::CubeFace face = tcu::CubeFace(faceNdx); [all...] |
es3fTextureFormatTests.cpp | 236 bool testFace (tcu::CubeFace face); 323 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); 324 tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), gMin, gMax); 343 bool TextureCubeFormatCase::testFace (tcu::CubeFace face) 399 if (!testFace((tcu::CubeFace)m_curFace)) 879 bool testFace (tcu::CubeFace face); [all...] |
/external/deqp/modules/gles31/functional/ |
es31fFboTestUtil.hpp | 92 void setFace (tcu::CubeFace face);
|
es31fFboColorbufferTests.cpp | 76 static tcu::CubeFace getCubeFaceFromNdx (int ndx) 234 const tcu::CubeFace face = getCubeFaceFromNdx(layerFace % 6);
|
es31fTextureFilteringTests.cpp | 56 static const char* getFaceDesc (const tcu::CubeFace face) 355 const tcu::CubeFace face = tcu::CubeFace(faceNdx);
|
es31fStencilTexturingTests.cpp | 473 const tcu::CubeFace face = tcu::CubeFace(faceNdx); 682 const tcu::CubeFace face = tcu::CubeFace(faceNdx); 695 glu::texSubImage2D(renderCtx, glu::getGLCubeFace(tcu::CubeFace(faceNdx)), 0, 0, 0, texData.getLevelFace(0, tcu::CubeFace(faceNdx))); [all...] |
/external/deqp/modules/gles3/accuracy/ |
es3aTextureFilteringTests.cpp | 410 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); 411 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 425 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); 426 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 442 tcu::PixelBufferAccess access = m_textures[texNdx]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face); 503 computeQuadTexCoordCube(texCoord, (tcu::CubeFace)face, bottomLeft, topRight);
|
es3aTextureMipmapTests.cpp | 467 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); 468 tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::RGBA(color))); 580 tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); 586 computeQuadTexCoordCube(texCoord, cubeFace);
|
/external/deqp/modules/gles2/accuracy/ |
es2aTextureFilteringTests.cpp | 423 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); 424 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias); 438 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); 439 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias); 493 computeQuadTexCoordCube(texCoord, (tcu::CubeFace)face, bottomLeft, topRight);
|
es2aTextureMipmapTests.cpp | 479 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); 480 tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::RGBA(color))); 591 tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); 597 computeQuadTexCoordCube(texCoord, cubeFace);
|
/external/deqp/modules/glshared/ |
glsTextureTestUtil.hpp | 375 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face); 376 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight); 377 void computeQuadTexCoordCubeArray (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight, const tcu::Vec2& layerRange);
|