Lines Matching refs:grid
334 …Vec4>& quadColors, const Rect& region, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst) in setPixelColors() argument
336 const int gridSize = grid.getSize(); in setPixelColors()
342 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1] in setPixelColors()
363 …oat lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst,… in computeReference() argument
365 const int gridSize = grid.getSize(); in computeReference()
372 const typename TexTypeCoordVec<TexType>::t& coord = grid.getQuadTexCoord(x, y); in computeReference()
377 setPixelColors(quadColors, dstRegion, grid, dst); in computeReference()
405 void setupShaderInputs (int textureNdx, float lod, const Grid& grid) const;
406 void renderCell (int textureNdx, float lod, const Grid& grid) const;
407 …void computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, co…
607 …const Grid grid (GRID_SIZE_2D, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]… in iterate() local
611 renderCell (rend.textureNdx, lod, grid); in iterate()
612 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
633 void Vertex2DTextureCase::setupShaderInputs (int textureNdx, float lod, const Grid& grid) const in setupShaderInputs()
644 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
653 glVertexAttribPointer(texCoordLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getTexCoordPtr()); in setupShaderInputs()
680 void Vertex2DTextureCase::renderCell (int textureNdx, float lod, const Grid& grid) const in renderCell()
682 setupShaderInputs(textureNdx, lod, grid); in renderCell()
683 glDrawElements(GL_TRIANGLES, grid.getNumIndices(), GL_UNSIGNED_SHORT, grid.getIndexPtr()); in renderCell()
686 void Vertex2DTextureCase::computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::S… in computeReferenceCell() argument
688 …xture(), lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter), grid, dst, dstRegion); in computeReferenceCell()
708 void setupShaderInputs (int textureNdx, float lod, const Grid& grid) const;
709 void renderCell (int textureNdx, float lod, const Grid& grid) const;
710 …void computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, co…
948 …const Grid grid (GRID_SIZE_CUBE, rend.region.size(), getTextureSize(*m_textures[rend.textureNd… in iterate() local
952 renderCell (rend.textureNdx, lod, grid); in iterate()
953 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
974 void VertexCubeTextureCase::setupShaderInputs (int textureNdx, float lod, const Grid& grid) const in setupShaderInputs()
985 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
994 glVertexAttribPointer(texCoordLoc, 3, GL_FLOAT, GL_FALSE, 0, grid.getTexCoordPtr()); in setupShaderInputs()
1021 void VertexCubeTextureCase::renderCell (int textureNdx, float lod, const Grid& grid) const in renderCell()
1023 setupShaderInputs(textureNdx, lod, grid); in renderCell()
1024 glDrawElements(GL_TRIANGLES, grid.getNumIndices(), GL_UNSIGNED_SHORT, grid.getIndexPtr()); in renderCell()
1028 void VertexCubeTextureCase::computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu:… in computeReferenceCell() argument
1032 computeReference(m_textures[textureNdx]->getRefTexture(), lod, sampler, grid, dst, dstRegion); in computeReferenceCell()