Home
last modified time | relevance | path

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

123

/external/deqp/framework/common/
DtcuTexture.hpp470 enum CubeFace enum
488 CubeFace face;
492 CubeFaceCoords (CubeFace face_, T s_, T t_) : face(face_), s(s_), t(t_) {} in CubeFaceCoords()
493 CubeFaceCoords (CubeFace face_, const Vector<T, 2>& c) : face(face_), s(c.x()), t(c.y()) {} in CubeFaceCoords()
499 CubeFace selectCubeFace (const Vec3& coords);
500 Vec2 projectToFace (CubeFace face, const Vec3& coords);
790 …const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBound… in getLevelFace()
791 const ConstPixelBufferAccess* getFaceLevels (CubeFace face) const { return m_levels[face]; } in getFaceLevels()
818 …const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBound… in getLevelFace()
819 …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.cpp185 bool testFace (tcu::CubeFace face);
245 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
246 …fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face),… in init()
266 bool TextureCubeSizeCase::testFace (tcu::CubeFace face) in testFace()
318 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()
646 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
703 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
984 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); in iterate()
985 fillWithGrid(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), 8, ca, cb); in iterate()
1012 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
Des2fTextureCompletenessTests.cpp223 computeQuadTexCoordCube (texCoord, (tcu::CubeFace)face); in iterate()
566 …scription, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, tcu::CubeFace invalidCubeFace);
574 tcu::CubeFace m_invalidCubeFace;
587 …escription, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, tcu::CubeFace invalidCubeFace) in IncompleteCubeSizeCase()
636 …* description, IVec2 size, deUint32 format, deUint32 invalidFormat, tcu::CubeFace invalidCubeFace);
644 tcu::CubeFace m_invalidCubeFace;
657 …r* description, IVec2 size, deUint32 format, deUint32 invalidFormat, tcu::CubeFace invalidCubeFace) in IncompleteCubeFormatCase()
706 …ar* name, const char* description, IVec2 size, int invalidLevelNdx, tcu::CubeFace invalidCubeFace);
713 tcu::CubeFace m_invalidCubeFace;
725 …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()
825 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
826 …ntGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[… in init()
840 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
841 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, t… in init()
949 …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;
380 void renderTexCube (tcu::Surface& dst, int width, int height, tcu::CubeFace face);
544 renderTexCube(result, levelW, levelH, (tcu::CubeFace)face); in verifyTexCube()
548 renderTexCube(reference, levelW, levelH, (tcu::CubeFace)face); in verifyTexCube()
551 …(), "Result", (string("Image comparison result: ") + de::toString((tcu::CubeFace)face)).c_str(), r… in verifyTexCube()
583 void TextureSpecCase::renderTexCube (tcu::Surface& dst, int width, int height, tcu::CubeFace face) in renderTexCube()
795 vector<pair<int, tcu::CubeFace> > images (numLevels*6); in createTexture()
799 images[ndx*6 + face] = std::make_pair(ndx, (tcu::CubeFace)face); in createTexture()
806 tcu::CubeFace face = images[ndx].second; in createTexture()
/external/deqp/modules/gles3/functional/
Des3fTextureSizeTests.cpp186 bool testFace (tcu::CubeFace face);
246 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
247 …fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face),… in init()
267 bool TextureCubeSizeCase::testFace (tcu::CubeFace face) in testFace()
319 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
Des3fTextureFormatTests.cpp258 bool testFace (tcu::CubeFace face);
350 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); in init()
351 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), g… in init()
370 bool TextureCubeFormatCase::testFace (tcu::CubeFace face) in testFace()
426 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
916 bool testFace (tcu::CubeFace face);
992 bool CompressedCubeFormatCase::testFace (tcu::CubeFace face) in testFace()
1042 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
1173 bool testFace (tcu::CubeFace face);
1222 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.hpp178 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face);
179 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bot…
180 void computeQuadTexCoordCubeArray (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& …
DgluTexture.cpp397 if (m_refTexture.isLevelEmpty((tcu::CubeFace)face, levelNdx)) in upload()
400 tcu::ConstPixelBufferAccess access = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); in upload()
402 …gl.texImage2D(getGLCubeFace((tcu::CubeFace)face), levelNdx, m_format, access.getWidth(), access.ge… in upload()
424 m_refTexture.allocLevel((tcu::CubeFace)face, levelNdx); in loadCompressed()
425 tcu::PixelBufferAccess refLevelAccess = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); in loadCompressed()
431 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()
Des31fTextureFilteringTests.cpp57 static const char* getFaceDesc (const tcu::CubeFace face) in getFaceDesc()
361 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()
/external/deqp/external/vulkancts/modules/vulkan/texture/
DvktTextureMipmapTests.cpp460 tcu::clear(m_texture->getLevel(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(color).toVec()); in TextureCubeMipmapTestInstance()
542 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
593 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
1235 tcu::clear(m_texture->getLevel(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(color).toVec()); in TextureCubeLodControlTestInstance()
1273 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
1313 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()

123