Home
last modified time | relevance | path

Searched refs:CubeFace (Results 1 – 25 of 68) sorted by relevance

123

/external/deqp/framework/common/
DtcuTexture.hpp454 enum CubeFace enum
472 CubeFace face;
476 CubeFaceCoords (CubeFace face_, T s_, T t_) : face(face_), s(s_), t(t_) {} in CubeFaceCoords()
477 CubeFaceCoords (CubeFace face_, const Vector<T, 2>& c) : face(face_), s(c.x()), t(c.y()) {} in CubeFaceCoords()
483 CubeFace selectCubeFace (const Vec3& coords);
484 Vec2 projectToFace (CubeFace face, const Vec3& coords);
773 …const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBound… in getLevelFace()
774 const ConstPixelBufferAccess* getFaceLevels (CubeFace face) const { return m_levels[face]; } in getFaceLevels()
801 …const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBound… in getLevelFace()
802 …const PixelBufferAccess& getLevelFace (int ndx, CubeFace face) { DE_ASSERT(de::inBounds(ndx, 0,… in getLevelFace()
[all …]
DtcuTexture.cpp2439 CubeFace selectCubeFace (const Vec3& coords) in selectCubeFace()
2483 Vec2 projectToFace (CubeFace face, const Vec3& coord) in projectToFace()
2515 const CubeFace face = selectCubeFace(coords); in getCubeFaceCoords()
2573 …arSamples (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, float u… in getCubeLinearSamples()
2632 …essLinear (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const S… in sampleCubeSeamlessLinear()
2663 …t ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampl… in sampleLevelArrayCubeSeamless()
2752 …arCompare (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const S… in sampleCubeSeamlessLinearCompare()
2833 …t ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampl… in sampleLevelArrayCubeSeamlessCompare()
2916 …rrayFaceAccess (const ConstPixelBufferAccess* const levels, int levelNdx, int slice, CubeFace face) in getCubeArrayFaceAccess()
2924 … (const ConstPixelBufferAccess* const levels, int numLevels, int slice, CubeFace face, const Sampl… in sampleCubeArraySeamless()
[all …]
DtcuTexVerifierUtil.hpp97 void getPossibleCubeFaces (const Vec3& coord, const IVec3& bits, CubeFace* faces, int& numFaces…
/external/deqp/modules/gles2/functional/
Des2fTextureSizeTests.cpp180 bool testFace (tcu::CubeFace face);
240 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
241 …fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face),… in init()
261 bool TextureCubeSizeCase::testFace (tcu::CubeFace face) in testFace()
308 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
Des2fTextureFormatTests.cpp220 bool testFace (tcu::CubeFace face);
294 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); in init()
295 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), g… in init()
314 bool TextureCubeFormatCase::testFace (tcu::CubeFace face) in testFace()
370 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
510 bool testFace (tcu::CubeFace face);
559 bool CompressedCubeFormatCase::testFace (tcu::CubeFace face) in testFace()
604 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
Des2fTextureMipmapTests.cpp537 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
538 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init()
638 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
694 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
975 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); in iterate()
976 fillWithGrid(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), 8, ca, cb); in iterate()
1003 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
Des2fTextureCompletenessTests.cpp216 computeQuadTexCoordCube (texCoord, (tcu::CubeFace)face); in iterate()
569 …scription, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, tcu::CubeFace invalidCubeFace);
577 tcu::CubeFace m_invalidCubeFace;
590 …escription, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, tcu::CubeFace invalidCubeFace) in IncompleteCubeSizeCase()
641 …* description, IVec2 size, deUint32 format, deUint32 invalidFormat, tcu::CubeFace invalidCubeFace);
649 tcu::CubeFace m_invalidCubeFace;
662 …r* description, IVec2 size, deUint32 format, deUint32 invalidFormat, tcu::CubeFace invalidCubeFace) in IncompleteCubeFormatCase()
713 …ar* name, const char* description, IVec2 size, int invalidLevelNdx, tcu::CubeFace invalidCubeFace);
720 tcu::CubeFace m_invalidCubeFace;
732 …har* name, const char* description, IVec2 size, int invalidLevelNdx, tcu::CubeFace invalidCubeFace) in IncompleteCubeMissingLevelCase()
Des2fTextureFilteringTests.cpp457 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
458 …ntGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[… in init()
472 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
473 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, t… in init()
516 static const char* getFaceDesc (const tcu::CubeFace face) in getFaceDesc()
568 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
Des2fVertexTextureTests.cpp160 tcu::CubeFace face;
162 …TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_, tcu::CubeFace face_) : scale(scale_), b… in TexTypeCoordParams()
816 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
817 …ntGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[… in init()
831 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
832 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, t… in init()
940 …Params<TEXTURETYPE_CUBE>(rend.texCoordScale, rend.texCoordOffset, (tcu::CubeFace)i), useSafeTexCoo… in iterate()
Des2fTextureSpecificationTests.cpp245 TexCubeShader (tcu::CubeFace face) in TexCubeShader()
327 tcu::CubeFace m_face;
378 void renderTexCube (tcu::Surface& dst, int width, int height, tcu::CubeFace face);
540 renderTexCube(result, levelW, levelH, (tcu::CubeFace)face); in verifyTexCube()
544 renderTexCube(reference, levelW, levelH, (tcu::CubeFace)face); in verifyTexCube()
547 …(), "Result", (string("Image comparison result: ") + de::toString((tcu::CubeFace)face)).c_str(), r… in verifyTexCube()
579 void TextureSpecCase::renderTexCube (tcu::Surface& dst, int width, int height, tcu::CubeFace face) in renderTexCube()
779 vector<pair<int, tcu::CubeFace> > images (numLevels*6); in createTexture()
783 images[ndx*6 + face] = std::make_pair(ndx, (tcu::CubeFace)face); in createTexture()
790 tcu::CubeFace face = images[ndx].second; in createTexture()
/external/deqp/modules/gles3/functional/
Des3fTextureSizeTests.cpp181 bool testFace (tcu::CubeFace face);
241 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
242 …fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face),… in init()
262 bool TextureCubeSizeCase::testFace (tcu::CubeFace face) in testFace()
309 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
Des3fTextureFormatTests.cpp237 bool testFace (tcu::CubeFace face);
324 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); in init()
325 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), g… in init()
344 bool TextureCubeFormatCase::testFace (tcu::CubeFace face) in testFace()
400 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
880 bool testFace (tcu::CubeFace face);
956 bool CompressedCubeFormatCase::testFace (tcu::CubeFace face) in testFace()
1006 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
1137 bool testFace (tcu::CubeFace face);
1186 bool TextureCubeFileCase::testFace (tcu::CubeFace face) in testFace()
[all …]
Des3fTextureShadowTests.cpp94 clampFloatingPointTexture(target.getLevelFace(level, (tcu::CubeFace)face)); in clampFloatingPointTexture()
510 m_gradientTex->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
511 …ntGradients(m_gradientTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[… in init()
525 m_gridTex->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
526 …tcu::fillWithGrid(m_gridTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::… in init()
581 static const char* getFaceDesc (const tcu::CubeFace face) in getFaceDesc()
637 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
Des3fTextureMipmapTests.cpp576 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
577 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init()
677 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
733 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
1013 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); in iterate()
1014 fillWithGrid(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), 8, ca, cb); in iterate()
1041 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
1790 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
1791 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init()
1845 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
[all …]
/external/deqp/framework/opengl/
DgluTextureUtil.hpp77 deUint32 getGLCubeFace (tcu::CubeFace face);
78 tcu::CubeFace getCubeFaceFromGL (deUint32 face);
DgluTextureTestUtil.hpp175 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face);
176 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bot…
177 void computeQuadTexCoordCubeArray (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& …
DgluTexture.cpp363 if (m_refTexture.isLevelEmpty((tcu::CubeFace)face, levelNdx)) in upload()
366 tcu::ConstPixelBufferAccess access = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); in upload()
368 …gl.texImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, m_format, access.getWidth(), access.ge… in upload()
390 m_refTexture.allocLevel((tcu::CubeFace)face, levelNdx); in loadCompressed()
391 tcu::PixelBufferAccess refLevelAccess = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); in loadCompressed()
397 gl.compressedTexImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, compressedFormat, in loadCompressed()
/external/deqp/modules/gles3/accuracy/
Des3aTextureFilteringTests.cpp411 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
412 …ntGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[… in init()
426 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
427 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, t… in init()
443 …ferAccess access = m_textures[texNdx]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face); in init()
504 computeQuadTexCoordCube(texCoord, (tcu::CubeFace)face, bottomLeft, topRight); in renderFaces()
Des3aTextureMipmapTests.cpp468 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
469 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init()
581 tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
/external/deqp/modules/gles31/functional/
Des31fStencilTexturingTests.cpp473 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in stencilToUnorm8()
682 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
695 …Image2D(renderCtx, glu::getGLCubeFace(tcu::CubeFace(faceNdx)), 0, 0, 0, texData.getLevelFace(0, tc… in iterate()
Des31fFboColorbufferTests.cpp76 static tcu::CubeFace getCubeFaceFromNdx (int ndx) in getCubeFaceFromNdx()
234 const tcu::CubeFace face = getCubeFaceFromNdx(layerFace % 6); in render()
Des31fFboTestUtil.hpp92 void setFace (tcu::CubeFace face);
Des31fTextureFilteringTests.cpp57 static const char* getFaceDesc (const tcu::CubeFace face) in getFaceDesc()
356 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
/external/deqp/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp481 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
482 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init()
593 tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
Des2aTextureFilteringTests.cpp425 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
426 …ntGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[… in init()
440 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
441 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, t… in init()
495 computeQuadTexCoordCube(texCoord, (tcu::CubeFace)face, bottomLeft, topRight); in renderFaces()

123