Home
last modified time | relevance | path

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

123

/external/deqp/framework/common/
DtcuTexture.hpp449 enum CubeFace enum
467 CubeFace face;
471 CubeFaceCoords (CubeFace face_, T s_, T t_) : face(face_), s(s_), t(t_) {} in CubeFaceCoords()
472 CubeFaceCoords (CubeFace face_, const Vector<T, 2>& c) : face(face_), s(c.x()), t(c.y()) {} in CubeFaceCoords()
478 CubeFace selectCubeFace (const Vec3& coords);
479 Vec2 projectToFace (CubeFace face, const Vec3& coords);
756 …const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBound… in getLevelFace()
757 const ConstPixelBufferAccess* getFaceLevels (CubeFace face) const { return m_levels[face]; } in getFaceLevels()
784 …const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBound… in getLevelFace()
785 …const PixelBufferAccess& getLevelFace (int ndx, CubeFace face) { DE_ASSERT(de::inBounds(ndx, 0,… in getLevelFace()
[all …]
DtcuTexture.cpp2383 CubeFace selectCubeFace (const Vec3& coords) in selectCubeFace()
2427 Vec2 projectToFace (CubeFace face, const Vec3& coord) in projectToFace()
2459 const CubeFace face = selectCubeFace(coords); in getCubeFaceCoords()
2517 …arSamples (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, float u… in getCubeLinearSamples()
2576 …essLinear (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const S… in sampleCubeSeamlessLinear()
2607 …t ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampl… in sampleLevelArrayCubeSeamless()
2696 …arCompare (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const S… in sampleCubeSeamlessLinearCompare()
2777 …t ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampl… in sampleLevelArrayCubeSeamlessCompare()
2860 …rrayFaceAccess (const ConstPixelBufferAccess* const levels, int levelNdx, int slice, CubeFace face) in getCubeArrayFaceAccess()
2868 … (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.cpp179 bool testFace (tcu::CubeFace face);
239 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
240 …fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face),… in init()
260 bool TextureCubeSizeCase::testFace (tcu::CubeFace face) in testFace()
307 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
Des2fTextureFormatTests.cpp218 bool testFace (tcu::CubeFace face);
292 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); in init()
293 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), g… in init()
312 bool TextureCubeFormatCase::testFace (tcu::CubeFace face) in testFace()
368 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
508 bool testFace (tcu::CubeFace face);
557 bool CompressedCubeFormatCase::testFace (tcu::CubeFace face) in testFace()
602 if (!testFace((tcu::CubeFace)m_curFace)) 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()
Des2fTextureMipmapTests.cpp536 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
537 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::… in init()
637 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
693 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
974 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); in iterate()
975 fillWithGrid(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), 8, ca, cb); in iterate()
1002 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
Des2fTextureFilteringTests.cpp456 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
457 …ntGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[… in init()
471 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
472 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, t… in init()
515 static const char* getFaceDesc (const tcu::CubeFace face) in getFaceDesc()
567 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
Des2fVertexTextureTests.cpp157 tcu::CubeFace face;
159 …TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_, tcu::CubeFace face_) : scale(scale_), b… in TexTypeCoordParams()
813 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
814 …ntGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[… in init()
828 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
829 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, t… in init()
937 …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.cpp179 bool testFace (tcu::CubeFace face);
239 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
240 …fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face),… in init()
260 bool TextureCubeSizeCase::testFace (tcu::CubeFace face) in testFace()
307 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
Des3fTextureFormatTests.cpp236 bool testFace (tcu::CubeFace face);
323 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); in init()
324 …tcu::fillWithComponentGradients(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), g… in init()
343 bool TextureCubeFormatCase::testFace (tcu::CubeFace face) in testFace()
399 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
879 bool testFace (tcu::CubeFace face);
955 bool CompressedCubeFormatCase::testFace (tcu::CubeFace face) in testFace()
1005 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
1136 bool testFace (tcu::CubeFace face);
1185 bool TextureCubeFileCase::testFace (tcu::CubeFace face) in testFace()
[all …]
Des3fTextureShadowTests.cpp92 clampFloatingPointTexture(target.getLevelFace(level, (tcu::CubeFace)face)); in clampFloatingPointTexture()
508 m_gradientTex->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
509 …ntGradients(m_gradientTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[… in init()
523 m_gridTex->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
524 …tcu::fillWithGrid(m_gridTex->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec… in init()
579 static const char* getFaceDesc (const tcu::CubeFace face) in getFaceDesc()
635 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
Des3fTextureMipmapTests.cpp575 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
576 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::… in init()
676 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
732 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
1012 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); in iterate()
1013 fillWithGrid(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), 8, ca, cb); in iterate()
1040 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
1789 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
1790 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init()
1844 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);
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.cpp410 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
411 …ntGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[… in init()
425 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
426 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, t… in init()
442 …ferAccess access = m_textures[texNdx]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face); in init()
503 computeQuadTexCoordCube(texCoord, (tcu::CubeFace)face, bottomLeft, topRight); in renderFaces()
Des3aTextureMipmapTests.cpp467 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
468 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::… in init()
580 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.cpp56 static const char* getFaceDesc (const tcu::CubeFace face) in getFaceDesc()
355 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
/external/deqp/modules/gles2/accuracy/
Des2aTextureMipmapTests.cpp479 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
480 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::… in init()
591 tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
Des2aTextureFilteringTests.cpp423 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
424 …ntGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[… in init()
438 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx); in init()
439 …tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, t… in init()
493 computeQuadTexCoordCube(texCoord, (tcu::CubeFace)face, bottomLeft, topRight); in renderFaces()
/external/deqp/modules/glshared/
DglsTextureTestUtil.hpp367 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face);
368 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bot…
369 void computeQuadTexCoordCubeArray (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& …

123