Home | History | Annotate | Download | only in functional

Lines Matching full:m_texture

161 	glu::Texture2D*				m_texture;
189 , m_texture (DE_NULL)
204 m_texture = new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height);
217 m_texture->getRefTexture().allocLevel(levelNdx);
218 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), toVec4(tcu::RGBA(color)));
224 delete m_texture;
225 m_texture = DE_NULL;
296 const tcu::Texture2D& refTexture = m_texture->getRefTexture();
325 sampleParams.samplerType = gls::TextureTestUtil::getSamplerType(m_texture->getRefTexture().getFormat());
330 m_texture->upload();
333 gl.bindTexture (GL_TEXTURE_2D, m_texture->getGLTexture());
440 m_texture->getRefTexture(), &texCoord[0], sampleParams,
508 glu::TextureCube* m_texture;
534 , m_texture (DE_NULL)
549 m_texture = new glu::TextureCube(m_renderCtx, m_format, m_dataType, m_size);
575 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx);
576 tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), toVec4(tcu::RGBA(color)));
583 delete m_texture;
584 m_texture = DE_NULL;
623 const int texWidth = m_texture->getRefTexture().getSize();
624 const int texHeight = m_texture->getRefTexture().getSize();
642 m_texture->upload();
645 gl.bindTexture (GL_TEXTURE_CUBE_MAP, m_texture->getGLTexture());
752 sampleTexture(idealDst, m_texture->getRefTexture(), &texCoord[0], params);
759 m_texture->getRefTexture(), &texCoord[0], params,
812 glu::Texture2D* m_texture;
824 , m_texture (DE_NULL)
836 DE_ASSERT(!m_texture);
837 m_texture = new glu::Texture2D(m_renderCtx, m_format, m_dataType, m_width, m_height);
842 delete m_texture;
843 m_texture = DE_NULL;
859 tcu::Texture2D resultTexture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), m_texture->getRefTexture().getWidth(), m_texture->getRefTexture().getHeight());
864 m_texture->getRefTexture().allocLevel(0);
865 tcu::fillWithGrid(m_texture->getRefTexture().getLevel(0), 8, tcu::Vec4(1.0f, 0.5f, 0.0f, 0.5f), tcu::Vec4(0.0f, 0.0f, 1.0f, 1.0f));
868 m_texture->upload();
870 gl.bindTexture (GL_TEXTURE_2D, m_texture->getGLTexture());
911 const qpTestResult compareResult = compareGenMipmapResult(m_testCtx.getLog(), resultTexture, m_texture->getRefTexture(), comparePrec);
945 glu::TextureCube* m_texture;
956 , m_texture (DE_NULL)
971 DE_ASSERT(!m_texture);
972 m_texture = new glu::TextureCube(m_renderCtx, m_format, m_dataType, m_size);
977 delete m_texture;
978 m_texture = DE_NULL;
1012 m_texture->getRefTexture().allocLevel((tcu::CubeFace)face, 0);
1013 fillWithGrid(m_texture->getRefTexture().getLevelFace(0, (tcu::CubeFace)face), 8, ca, cb);
1017 m_texture->upload();
1019 gl.bindTexture (GL_TEXTURE_CUBE_MAP, m_texture->getGLTexture());
1064 const qpTestResult compareResult = compareGenMipmapResult(m_testCtx.getLog(), resultTexture, m_texture->getRefTexture(), comparePrec);
1112 glu::Texture3D* m_texture;
1127 , m_texture (DE_NULL)
1148 m_texture = new glu::Texture3D(m_context.getRenderContext(), m_internalFormat, m_width, m_height, m_depth);
1159 m_texture->getRefTexture().allocLevel(levelNdx);
1160 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()*cScale + cBias);
1163 m_texture->upload();
1168 delete m_texture;
1169 m_texture = DE_NULL;
1245 const tcu::Texture3D& refTexture = m_texture->getRefTexture();
1277 gl.bindTexture (GL_TEXTURE_3D, m_texture->getGLTexture());
1386 m_texture->getRefTexture(), &texCoord[0], sampleParams,
1441 glu::Texture2D* m_texture;
1450 , m_texture (DE_NULL)
1465 m_texture = new glu::Texture2D(m_context.getRenderContext(), format, m_texWidth, m_texHeight);
1476 m_texture->getRefTexture().allocLevel(levelNdx);
1477 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec());
1483 delete m_texture;
1484 m_texture = DE_NULL;
1497 const tcu::Texture2D& refTexture = m_texture->getRefTexture();
1515 m_texture->upload();
1518 gl.bindTexture (GL_TEXTURE_2D, m_texture->getGLTexture());
1588 m_texture->getRefTexture(), &texCoord[0], sampleParams,
1742 glu::TextureCube* m_texture;
1750 , m_texture (DE_NULL)
1765 m_texture = new glu::TextureCube(m_context.getRenderContext(), format, m_texSize);
1789 m_texture->getRefTexture().allocLevel((tcu::CubeFace)faceNdx, levelNdx);
1790 tcu::clear(m_texture->getRefTexture().getLevelFace(levelNdx, (tcu::CubeFace)faceNdx), tcu::RGBA(color).toVec());
1797 delete m_texture;
1798 m_texture = DE_NULL;
1809 const int texWidth = m_texture->getRefTexture().getSize();
1810 const int texHeight = m_texture->getRefTexture().getSize();
1823 m_texture->upload();
1826 gl.bindTexture (GL_TEXTURE_CUBE_MAP, m_texture->getGLTexture());
1897 sampleTexture(idealDst, m_texture->getRefTexture(), &texCoord[0], params);
1904 m_texture->getRefTexture(), &texCoord[0], params,
2059 glu::Texture3D* m_texture;
2069 , m_texture (DE_NULL)
2088 m_texture = new glu::Texture3D(m_context.getRenderContext(), format, m_texWidth, m_texHeight, m_texDepth);
2099 m_texture->getRefTexture().allocLevel(levelNdx);
2100 tcu::clear(m_texture->getRefTexture().getLevel(levelNdx), tcu::RGBA(color).toVec()*cScale + cBias);
2103 m_texture->upload();
2108 delete m_texture;
2109 m_texture = DE_NULL;
2122 const tcu::Texture3D& refTexture = m_texture->getRefTexture();
2148 gl.bindTexture (GL_TEXTURE_3D, m_texture->getGLTexture());
2220 m_texture->getRefTexture(), &texCoord[0], sampleParams,