Home | History | Annotate | Download | only in functional

Lines Matching refs:m_textures

510 	glu::Texture2D*				m_textures[2];	// 2 textures, a gradient texture and a grid texture.
521 m_textures[0] = DE_NULL;
522 m_textures[1] = DE_NULL;
584 DE_ASSERT(!m_textures[i]);
585 m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight);
590 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat());
600 m_textures[0]->getRefTexture().allocLevel(levelNdx);
601 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax);
612 m_textures[1]->getRefTexture().allocLevel(levelNdx);
613 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
618 m_textures[i]->upload();
632 delete m_textures[i];
633 m_textures[i] = DE_NULL;
642 const tcu::Texture2D& refTexture = m_textures[textureNdx]->getRefTexture();
705 const Grid grid (GRID_SIZE_2D, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
764 glBindTexture(GL_TEXTURE_2D, m_textures[textureNdx]->getGLTexture());
786 computeReference(m_textures[textureNdx]->getRefTexture(), lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter), grid, dst, dstRegion);
816 glu::TextureCube* m_textures[2]; // 2 textures, a gradient texture and a grid texture.
827 m_textures[0] = DE_NULL;
828 m_textures[1] = DE_NULL;
893 DE_ASSERT(!m_textures[i]);
894 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth);
899 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat());
917 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx);
918 tcu::fillWithComponentGradients(m_textures
932 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx);
933 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
939 m_textures[i]->upload();
953 delete m_textures[i];
954 m_textures[i] = DE_NULL;
963 const tcu::TextureCube& refTexture = m_textures[textureNdx]->getRefTexture();
1040 const Grid grid (GRID_SIZE_CUBE, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
1099 glBindTexture(GL_TEXTURE_CUBE_MAP, m_textures[textureNdx]->getGLTexture());
1124 computeReference(m_textures[textureNdx]->getRefTexture(), lod, sampler, grid, dst, dstRegion);
1154 glu::Texture2DArray* m_textures[2]; // 2 textures, a gradient texture and a grid texture.
1165 m_textures[0] = DE_NULL;
1166 m_textures[1] = DE_NULL;
1231 DE_ASSERT(!m_textures[i]);
1232 m_textures[i] = new glu::Texture2DArray(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight, texLayers);
1236 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat());
1246 m_textures[0]->getRefTexture().allocLevel(levelNdx);
1247 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax);
1258 m_textures[1]->getRefTexture().allocLevel(levelNdx);
1259 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
1264 m_textures[i]->upload();
1278 delete m_textures[i];
1279 m_textures[i] = DE_NULL;
1288 const tcu::Texture2DArray& refTexture = m_textures[textureNdx]->getRefTexture();
1380 const Grid grid (GRID_SIZE_2D_ARRAY, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
1439 glBindTexture(GL_TEXTURE_2D_ARRAY, m_textures[textureNdx]->getGLTexture());
1462 computeReference(m_textures[textureNdx]->getRefTexture(), lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter), grid, dst, dstRegion);
1493 glu::Texture3D* m_textures[2]; // 2 textures, a gradient texture and a grid texture.
1505 m_textures[0] = DE_NULL;
1506 m_textures[1] = DE_NULL;
1571 DE_ASSERT(!m_textures[i]);
1572 m_textures[i] = new glu::Texture3D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight, texDepth);
1576 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat());
1586 m_textures[0]->getRefTexture().allocLevel(levelNdx);
1587 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax);
1598 m_textures[1]->getRefTexture().allocLevel(levelNdx);
1599 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
1604 m_textures[i]->upload();
1618 delete m_textures[i];
1619 m_textures[i] = DE_NULL;
1628 const tcu::Texture3D& refTexture = m_textures[textureNdx]->getRefTexture();
1723 const Grid grid (GRID_SIZE_3D, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
1782 glBindTexture(GL_TEXTURE_3D, m_textures[textureNdx]->getGLTexture());
1806 computeReference(m_textures[textureNdx]->getRefTexture(), lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_wrapR, m_minFilter, m_magFilter), grid, dst, dstRegion);