Home
last modified time | relevance | path

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

123

/external/deqp/framework/common/
DtcuTexture.hpp374 enum CubeFace enum
392 CubeFace face;
396 CubeFaceCoords (CubeFace face_, T s_, T t_) : face(face_), s(s_), t(t_) {} in CubeFaceCoords()
397 CubeFaceCoords (CubeFace face_, const Vector<T, 2>& c) : face(face_), s(c.x()), t(c.y()) {} in CubeFaceCoords()
403 CubeFace selectCubeFace (const Vec3& coords);
404 Vec2 projectToFace (CubeFace face, const Vec3& coords);
681 …const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { DE_ASSERT(de::inBound… in getLevelFace()
682 const ConstPixelBufferAccess* getFaceLevels (CubeFace face) const { return m_levels[face]; } in getFaceLevels()
709 …const ConstPixelBufferAccess& getLevelFace (int ndx, CubeFace face) const { return m_access[face]… in getLevelFace()
710 const PixelBufferAccess& getLevelFace (int ndx, CubeFace face) { return m_access[face][ndx]; } in getLevelFace()
[all …]
DtcuTexture.cpp2235 CubeFace selectCubeFace (const Vec3& coords) in selectCubeFace()
2279 Vec2 projectToFace (CubeFace face, const Vec3& coord) in projectToFace()
2311 const CubeFace face = selectCubeFace(coords); in getCubeFaceCoords()
2369 …arSamples (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, float u… in getCubeLinearSamples()
2428 …essLinear (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const S… in sampleCubeSeamlessLinear()
2459 …t ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampl… in sampleLevelArrayCubeSeamless()
2548 …arCompare (const ConstPixelBufferAccess (&faceAccesses)[CUBEFACE_LAST], CubeFace baseFace, const S… in sampleCubeSeamlessLinearCompare()
2629 …t ConstPixelBufferAccess* const (&faces)[CUBEFACE_LAST], int numLevels, CubeFace face, const Sampl… in sampleLevelArrayCubeSeamlessCompare()
2712 …rrayFaceAccess (const ConstPixelBufferAccess* const levels, int levelNdx, int slice, CubeFace face) in getCubeArrayFaceAccess()
2720 … (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…
DtcuTextureUtil.hpp102 int getCubeArrayFaceIndex (CubeFace face);
/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.cpp219 computeQuadTexCoordCube (texCoord, (tcu::CubeFace)face); in iterate()
562 …scription, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, tcu::CubeFace invalidCubeFace);
570 tcu::CubeFace m_invalidCubeFace;
583 …escription, IVec2 size, IVec2 invalidLevelSize, int invalidLevelNdx, tcu::CubeFace invalidCubeFace) in IncompleteCubeSizeCase()
634 …* description, IVec2 size, deUint32 format, deUint32 invalidFormat, tcu::CubeFace invalidCubeFace);
642 tcu::CubeFace m_invalidCubeFace;
655 …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()
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()
976 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); in iterate()
977 fillWithGrid(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), 8, ca, cb); in iterate()
1004 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.cpp246 TexCubeShader (tcu::CubeFace face) in TexCubeShader()
328 tcu::CubeFace m_face;
379 void renderTexCube (tcu::Surface& dst, int width, int height, tcu::CubeFace face);
541 renderTexCube(result, levelW, levelH, (tcu::CubeFace)face); in verifyTexCube()
545 renderTexCube(reference, levelW, levelH, (tcu::CubeFace)face); in verifyTexCube()
548 …(), "Result", (string("Image comparison result: ") + de::toString((tcu::CubeFace)face)).c_str(), r… in verifyTexCube()
580 void TextureSpecCase::renderTexCube (tcu::Surface& dst, int width, int height, tcu::CubeFace face) in renderTexCube()
780 vector<pair<int, tcu::CubeFace> > images (numLevels*6); in createTexture()
784 images[ndx*6 + face] = std::make_pair(ndx, (tcu::CubeFace)face); in createTexture()
791 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()
878 bool testFace (tcu::CubeFace face);
954 bool CompressedCubeFormatCase::testFace (tcu::CubeFace face) in testFace()
1004 if (!testFace((tcu::CubeFace)m_curFace)) in iterate()
1135 bool testFace (tcu::CubeFace face);
1184 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()
1016 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0); in iterate()
1017 fillWithGrid(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), 8, ca, cb); in iterate()
1044 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
1793 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx); in init()
1794 …tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(co… in init()
1848 const tcu::CubeFace cubeFace = (tcu::CubeFace)(cellNdx % tcu::CUBEFACE_LAST); in iterate()
[all …]
/external/deqp/framework/opengl/
DgluTexture.cpp346 static deUint32 cubeFaceToGLFace (tcu::CubeFace face) in cubeFaceToGLFace()
379 if (m_refTexture.isLevelEmpty((tcu::CubeFace)face, levelNdx)) in upload()
382 tcu::ConstPixelBufferAccess access = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); in upload()
384 …gl.texImage2D(cubeFaceToGLFace((tcu::CubeFace)face), levelNdx, m_format, access.getWidth(), access… in upload()
406 m_refTexture.allocLevel((tcu::CubeFace)face, levelNdx); in loadCompressed()
407 tcu::PixelBufferAccess refLevelAccess = m_refTexture.getLevelFace(levelNdx, (tcu::CubeFace)face); in loadCompressed()
413 gl.compressedTexImage2D(cubeFaceToGLFace((tcu::CubeFace)face), levelNdx, compressedFormat, in loadCompressed()
DgluTextureUtil.hpp75 deUint32 getGLCubeFace (tcu::CubeFace face);
/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()
504 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/
Des31fFboColorbufferTests.cpp76 static tcu::CubeFace getCubeFaceFromNdx (int ndx) in getCubeFaceFromNdx()
234 const tcu::CubeFace face = getCubeFaceFromNdx(layerFace % 6); in render()
Des31fStencilTexturingTests.cpp471 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in stencilToUnorm8()
680 const tcu::CubeFace face = tcu::CubeFace(faceNdx); in iterate()
693 …Image2D(renderCtx, glu::getGLCubeFace(tcu::CubeFace(faceNdx)), 0, 0, 0, texData.getLevelFace(0, tc… in iterate()
Des31fFboTestUtil.hpp92 void setFace (tcu::CubeFace face);
/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.hpp375 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face);
376 void computeQuadTexCoordCube (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& bot…
377 void computeQuadTexCoordCubeArray (std::vector<float>& dst, tcu::CubeFace face, const tcu::Vec2& …

123