• Home
  • Raw
  • Download

Lines Matching refs:Vec2

45 using tcu::Vec2;
126 static inline Vec2 safe2DTexCoords (const Vec2& raw, const IVec2& textureSize) in safe2DTexCoords()
128 return safeCoords(raw, textureSize, Vec2(0.5f)); in safe2DTexCoords()
182 Vec2 scale;
183 Vec2 bias;
185 TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_) : scale(scale_), bias(bias_) {} in TexTypeCoordParams()
191 Vec2 scale;
192 Vec2 bias;
195 …TexTypeCoordParams (const Vec2& scale_, const Vec2& bias_, tcu::CubeFace face_) : scale(scale_), b… in TexTypeCoordParams()
246 …const float* getPositionPtr (void) const { DE_STATIC_ASSERT(sizeof(Vec2) == 2*sizeof(float)); … in getPositionPtr()
254 vector<Vec2> m_positions;
296 Vec2 quadVertices[4] = { Vec2(fx0, fy0), Vec2(fx1, fy0), Vec2(fx0, fy1), Vec2(fx1, fy1) }; in PosTexCoordQuadGrid()
301 m_positions.push_back(safeCoords(quadVertices[i], renderSize, Vec2(0.0f)) * 2.0f - 1.0f); in PosTexCoordQuadGrid()
330Vec2 rawCoord = Vec2((float)x / gridSizeFloat, (float)y / gridSizeFloat) * texCoordParams.scale + … in initializeTexCoords()
354 …const Vec2 rawFaceCoord = texCoordParams.scale * Vec2((float)x / gridSizeFloat, (float)y / gridSi… in initializeTexCoords()
355 …const Vec2 safeFaceCoord = useSafeTexCoords ? safe2DTexCoords(rawFaceCoord, textureSize) : rawFace… in initializeTexCoords()
454 static inline Vec4 sample (const tcu::Texture2D& tex, const Vec2& coord, float lod, const tcu::Sam… in sample()
501 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const;
642 float Vertex2DTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx)… in calculateLod()
645 const Vec2 srcSize = Vec2((float)refTexture.getWidth(), (float)refTexture.getHeight()); in calculateLod()
646 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
678 const Vec2 texMinScale (+1.8f, +1.8f); in iterate()
679 const Vec2 texMinOffset (-0.3f, -0.2f); in iterate()
680 const Vec2 texMagScale (+0.3f, +0.3f); in iterate()
681 const Vec2 texMagOffset (+0.9f, +0.8f); in iterate()
691 const Vec2 texCoordScale; in iterate()
692 const Vec2 texCoordOffset; in iterate()
693 …Render (const Rect& r, int tN, const Vec2& tS, const Vec2& tO) : region(r), textureNdx(tN), texCoo… in iterate()
807 float calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNdx) const;
963 float VertexCubeTextureCase::calculateLod (const Vec2& texScale, const Vec2& dstSize, int textureNd… in calculateLod()
966 const Vec2 srcSize = Vec2((float)refTexture.getSize(), (float)refTexture.getSize()); in calculateLod()
967 const Vec2 sizeRatio = texScale*srcSize / dstSize; in calculateLod()
999 const Vec2 texMinScale (1.0f, 1.0f); in iterate()
1000 const Vec2 texMinOffset (0.0f, 0.0f); in iterate()
1001 const Vec2 texMagScale (0.3f, 0.3f); in iterate()
1002 const Vec2 texMagOffset (0.5f, 0.3f); in iterate()
1026 const Vec2 texCoordScale; in iterate()
1027 const Vec2 texCoordOffset; in iterate()
1028 …Render (const Rect& r, int tN, const Vec2& tS, const Vec2& tO) : region(r), textureNdx(tN), texCoo… in iterate()
1145 float calculateLod (const Mat3& transf, const Vec2& dstSize, int textureNdx) const;
1288 float Vertex2DArrayTextureCase::calculateLod (const Mat3& transf, const Vec2& dstSize, int textureN… in calculateLod()
1295 const Vec2 trans00 = (transf * Vec3(0.0f, 0.0f, 1.0f)).xy(); in calculateLod()
1296 const Vec2 trans01 = (transf * Vec3(0.0f, 1.0f, 1.0f)).xy(); in calculateLod()
1297 const Vec2 trans10 = (transf * Vec3(1.0f, 0.0f, 1.0f)).xy(); in calculateLod()
1483 float calculateLod (const Mat3& transf, const Vec2& dstSize, int textureNdx) const;
1628 float Vertex3DTextureCase::calculateLod (const Mat3& transf, const Vec2& dstSize, int textureNdx) c… in calculateLod()