Home | History | Annotate | Download | only in functional

Lines Matching defs:m_textures

512 	glu::Texture2D*				m_textures[2];	// 2 textures, a gradient texture and a grid texture.
523 m_textures[0] = DE_NULL;
524 m_textures[1] = DE_NULL;
586 DE_ASSERT(!m_textures[i]);
587 m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight);
592 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat());
602 m_textures[0]->getRefTexture().allocLevel(levelNdx);
603 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax);
614 m_textures[1]->getRefTexture().allocLevel(levelNdx);
615 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
620 m_textures[i]->upload();
634 delete m_textures[i];
635 m_textures[i] = DE_NULL;
644 const tcu::Texture2D& refTexture = m_textures[textureNdx]->getRefTexture();
707 const Grid grid (GRID_SIZE_2D, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
766 glBindTexture(GL_TEXTURE_2D, m_textures[textureNdx]->getGLTexture());
788 computeReference(m_textures[textureNdx]->getRefTexture(), lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter), grid, dst, dstRegion);
818 glu::TextureCube* m_textures[2]; // 2 textures, a gradient texture and a grid texture.
829 m_textures[0] = DE_NULL;
830 m_textures[1] = DE_NULL;
895 DE_ASSERT(!m_textures[i]);
896 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth);
901 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat());
919 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx);
920 m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias);
934 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx);
935 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
941 m_textures[i]->upload();
955 delete m_textures[i];
956 m_textures[i] = DE_NULL;
965 const tcu::TextureCube& refTexture = m_textures[textureNdx]->getRefTexture();
1042 const Grid grid (GRID_SIZE_CUBE, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
1101 glBindTexture(GL_TEXTURE_CUBE_MAP, m_textures[textureNdx]->getGLTexture());
1126 computeReference(m_textures[textureNdx]->getRefTexture(), lod, sampler, grid, dst, dstRegion);
1156 glu::Texture2DArray* m_textures[2]; // 2 textures, a gradient texture and a grid texture.
1167 m_textures[0] = DE_NULL;
1168 m_textures[1] = DE_NULL;
1233 DE_ASSERT(!m_textures[i]);
1234 m_textures[i] = new glu::Texture2DArray(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight, texLayers);
1238 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat());
1248 m_textures[0]->getRefTexture().allocLevel(levelNdx);
1249 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax);
1260 m_textures[1]->getRefTexture().allocLevel(levelNdx);
1261 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
1266 m_textures[i]->upload();
1280 delete m_textures[i];
1281 m_textures[i] = DE_NULL;
1290 const tcu::Texture2DArray& refTexture = m_textures[textureNdx]->getRefTexture();
1382 const Grid grid (GRID_SIZE_2D_ARRAY, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
1441 glBindTexture(GL_TEXTURE_2D_ARRAY, m_textures[textureNdx]->getGLTexture());
1464 computeReference(m_textures[textureNdx]->getRefTexture(), lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter), grid, dst, dstRegion);
1495 glu::Texture3D* m_textures[2]; // 2 textures, a gradient texture and a grid texture.
1507 m_textures[0] = DE_NULL;
1508 m_textures[1] = DE_NULL;
1573 DE_ASSERT(!m_textures[i]);
1574 m_textures[i] = new glu::Texture3D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight, texDepth);
1578 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat());
1588 m_textures[0]->getRefTexture().allocLevel(levelNdx);
1589 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax);
1600 m_textures[1]->getRefTexture().allocLevel(levelNdx);
1601 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
1606 m_textures[i]->upload();
1620 delete m_textures[i];
1621 m_textures[i] = DE_NULL;
1630 const tcu::Texture3D& refTexture = m_textures[textureNdx]->getRefTexture();
1725 const Grid grid (GRID_SIZE_3D, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
1784 glBindTexture(GL_TEXTURE_3D, m_textures[textureNdx]->getGLTexture());
1808 computeReference(m_textures[textureNdx]->getRefTexture(), lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_wrapR, m_minFilter, m_magFilter), grid, dst, dstRegion);