Home | History | Annotate | Download | only in functional

Lines Matching defs:m_textures

415 	glu::Texture2D*				m_textures[2];	// 2 textures, a gradient texture and a grid texture.
426 m_textures[0] = DE_NULL;
427 m_textures[1] = DE_NULL;
486 DE_ASSERT(!m_textures[i]);
487 m_textures[i] = new glu::Texture2D(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth, texHeight);
492 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat());
502 m_textures[0]->getRefTexture().allocLevel(levelNdx);
503 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevel(levelNdx), gMin, gMax);
514 m_textures[1]->getRefTexture().allocLevel(levelNdx);
515 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevel(levelNdx), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
520 m_textures[i]->upload();
534 delete m_textures[i];
535 m_textures[i] = DE_NULL;
544 const tcu::Texture2D& refTexture = m_textures[textureNdx]->getRefTexture();
607 const Grid grid (GRID_SIZE_2D, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
666 glBindTexture(GL_TEXTURE_2D, m_textures[textureNdx]->getGLTexture());
688 computeReference(m_textures[textureNdx]->getRefTexture(), lod, glu::mapGLSampler(m_wrapS, m_wrapT, m_minFilter, m_magFilter), grid, dst, dstRegion);
718 glu::TextureCube* m_textures[2]; // 2 textures, a gradient texture and a grid texture.
729 m_textures[0] = DE_NULL;
730 m_textures[1] = DE_NULL;
792 DE_ASSERT(!m_textures[i]);
793 m_textures[i] = new glu::TextureCube(m_context.getRenderContext(), GL_RGB, GL_UNSIGNED_BYTE, texWidth);
798 const tcu::TextureFormatInfo fmtInfo = tcu::getTextureFormatInfo(m_textures[0]->getRefTexture().getFormat());
816 m_textures[0]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx);
817 tcu::fillWithComponentGradients(m_textures[0]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), gradients[face][0]*cScale + cBias, gradients[face][1]*cScale + cBias);
831 m_textures[1]->getRefTexture().allocLevel((tcu::CubeFace)face, levelNdx);
832 tcu::fillWithGrid(m_textures[1]->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)face), 4, tcu::RGBA(colorA).toVec()*cScale + cBias, tcu::RGBA(colorB).toVec()*cScale + cBias);
838 m_textures[i]->upload();
852 delete m_textures[i];
853 m_textures[i] = DE_NULL;
862 const tcu::TextureCube& refTexture = m_textures[textureNdx]->getRefTexture();
939 const Grid grid (GRID_SIZE_CUBE, rend.region.size(), getTextureSize(*m_textures[rend.textureNdx]),
998 glBindTexture(GL_TEXTURE_CUBE_MAP, m_textures[textureNdx]->getGLTexture());
1022 computeReference(m_textures[textureNdx]->getRefTexture(), lod, sampler, grid, dst, dstRegion);