Lines Matching refs:grid
429 …Vec4>& quadColors, const Rect& region, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst) in setPixelColors() argument
431 const int gridSize = grid.getSize(); in setPixelColors()
437 const Vec4 ldru = grid.getQuadLDRU(x, y) * 0.5f + 0.5f; // [-1, 1] -> [0, 1] in setPixelColors()
460 …oat lod, const tcu::Sampler& sampler, const PosTexCoordQuadGrid<TexType>& grid, tcu::Surface& dst,… in computeReference() argument
462 const int gridSize = grid.getSize(); in computeReference()
469 const typename TexTypeCoordVec<TexType>::t& coord = grid.getQuadTexCoord(x, y); in computeReference()
474 setPixelColors(quadColors, dstRegion, grid, dst); in computeReference()
502 void setupShaderInputs (int textureNdx, float lod, const Grid& grid) const;
503 void renderCell (int textureNdx, float lod, const Grid& grid) const;
504 …void computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, co…
707 …const Grid grid (GRID_SIZE_2D, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]… in iterate() local
711 renderCell (rend.textureNdx, lod, grid); in iterate()
712 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
733 void Vertex2DTextureCase::setupShaderInputs (int textureNdx, float lod, const Grid& grid) const in setupShaderInputs()
744 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
753 glVertexAttribPointer(texCoordLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getTexCoordPtr()); in setupShaderInputs()
780 void Vertex2DTextureCase::renderCell (int textureNdx, float lod, const Grid& grid) const in renderCell()
782 setupShaderInputs(textureNdx, lod, grid); in renderCell()
783 glDrawElements(GL_TRIANGLES, grid.getNumIndices(), GL_UNSIGNED_SHORT, grid.getIndexPtr()); in renderCell()
786 void Vertex2DTextureCase::computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::S… in computeReferenceCell() argument
788 …xture(), lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter), grid, dst, dstRegion); in computeReferenceCell()
808 void setupShaderInputs (int textureNdx, float lod, const Grid& grid) const;
809 void renderCell (int textureNdx, float lod, const Grid& grid) const;
810 …void computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, co…
1042 …const Grid grid (GRID_SIZE_CUBE, rend.region.size(), getTextureSize(*m_textures[rend.textureNd… in iterate() local
1046 renderCell (rend.textureNdx, lod, grid); in iterate()
1047 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
1068 void VertexCubeTextureCase::setupShaderInputs (int textureNdx, float lod, const Grid& grid) const in setupShaderInputs()
1079 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
1088 glVertexAttribPointer(texCoordLoc, 3, GL_FLOAT, GL_FALSE, 0, grid.getTexCoordPtr()); in setupShaderInputs()
1115 void VertexCubeTextureCase::renderCell (int textureNdx, float lod, const Grid& grid) const in renderCell()
1117 setupShaderInputs(textureNdx, lod, grid); in renderCell()
1118 glDrawElements(GL_TRIANGLES, grid.getNumIndices(), GL_UNSIGNED_SHORT, grid.getIndexPtr()); in renderCell()
1122 void VertexCubeTextureCase::computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu:… in computeReferenceCell() argument
1126 computeReference(m_textures[textureNdx]->getRefTexture(), lod, sampler, grid, dst, dstRegion); in computeReferenceCell()
1146 void setupShaderInputs (int textureNdx, float lod, const Grid& grid) const;
1147 void renderCell (int textureNdx, float lod, const Grid& grid) const;
1148 …void computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, c…
1382 …const Grid grid (GRID_SIZE_2D_ARRAY, rend.region.size(), getTextureSize(*m_textures[rend.textu… in iterate() local
1386 renderCell (rend.textureNdx, lod, grid); in iterate()
1387 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
1408 void Vertex2DArrayTextureCase::setupShaderInputs (int textureNdx, float lod, const Grid& grid) const in setupShaderInputs()
1419 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
1428 glVertexAttribPointer(texCoordLoc, 3, GL_FLOAT, GL_FALSE, 0, grid.getTexCoordPtr()); in setupShaderInputs()
1455 void Vertex2DArrayTextureCase::renderCell (int textureNdx, float lod, const Grid& grid) const in renderCell()
1457 setupShaderInputs(textureNdx, lod, grid); in renderCell()
1458 glDrawElements(GL_TRIANGLES, grid.getNumIndices(), GL_UNSIGNED_SHORT, grid.getIndexPtr()); in renderCell()
1462 void Vertex2DArrayTextureCase::computeReferenceCell (int textureNdx, float lod, const Grid& grid, t… in computeReferenceCell() argument
1464 …xture(), lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter), grid, dst, dstRegion); in computeReferenceCell()
1484 void setupShaderInputs (int textureNdx, float lod, const Grid& grid) const;
1485 void renderCell (int textureNdx, float lod, const Grid& grid) const;
1486 …void computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::Surface& dst, co…
1725 …const Grid grid (GRID_SIZE_3D, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]… in iterate() local
1729 renderCell (rend.textureNdx, lod, grid); in iterate()
1730 computeReferenceCell (rend.textureNdx, lod, grid, refImage, rend.region); in iterate()
1751 void Vertex3DTextureCase::setupShaderInputs (int textureNdx, float lod, const Grid& grid) const in setupShaderInputs()
1762 glVertexAttribPointer(positionLoc, 2, GL_FLOAT, GL_FALSE, 0, grid.getPositionPtr()); in setupShaderInputs()
1771 glVertexAttribPointer(texCoordLoc, 3, GL_FLOAT, GL_FALSE, 0, grid.getTexCoordPtr()); in setupShaderInputs()
1799 void Vertex3DTextureCase::renderCell (int textureNdx, float lod, const Grid& grid) const in renderCell()
1801 setupShaderInputs(textureNdx, lod, grid); in renderCell()
1802 glDrawElements(GL_TRIANGLES, grid.getNumIndices(), GL_UNSIGNED_SHORT, grid.getIndexPtr()); in renderCell()
1806 void Vertex3DTextureCase::computeReferenceCell (int textureNdx, float lod, const Grid& grid, tcu::S… in computeReferenceCell() argument
1808 …lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_wrapR, m_minFilter, m_magFilter), grid, dst, dstRegion); in computeReferenceCell()