Lines Matching refs:m_textures

412 	glu::Texture2D*				m_textures[2];	// 2 textures, a gradient texture and a grid texture.
423 m_textures[0] = DE_NULL;
424 m_textures[1] = DE_NULL;
483 DE_ASSERT(!m_textures[i]);
484 m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight);
489 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat());
499 m_textures[0]->getRefTexture().allocLevel(levelNdx);
500 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax);
511 m_textures[1]->getRefTexture().allocLevel(levelNdx);
512 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
517 m_textures[i]->upload();
531 delete m_textures[i];
532 m_textures[i] = DE_NULL;
541 const tcu::Texture2D& refTexture = m_textures[textureNdx]->getRefTexture();
604 const Grid grid (GRID_SIZE_2D, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
663 glBindTexture(GL_TEXTURE_2D, m_textures[textureNdx]->getGLTexture());
685 computeReference(m_textures[textureNdx]->getRefTexture(), lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter), grid, dst, dstRegion);
715 glu::TextureCube* m_textures[2]; // 2 textures, a gradient texture and a grid texture.
726 m_textures[0] = DE_NULL;
727 m_textures[1] = DE_NULL;
789 DE_ASSERT(!m_textures[i]);
790 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth);
795 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat());
813 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx);
814 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias);
828 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx);
829 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, toVec4(tcu::RGBA(colorA))*cScale + cBias, toVec4(tcu::RGBA(colorB))*cScale + cBias);
835 m_textures[i]->upload();
849 delete m_textures[i];
850 m_textures[i] = DE_NULL;
859 const tcu::TextureCube& refTexture = m_textures[textureNdx]->getRefTexture();
936 const Grid grid (GRID_SIZE_CUBE, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
995 glBindTexture(GL_TEXTURE_CUBE_MAP, m_textures[textureNdx]->getGLTexture());
1019 computeReference(m_textures[textureNdx]->getRefTexture(), lod, sampler, grid, dst, dstRegion);