/external/deqp/modules/glshared/ |
H A D | glsSamplerObjectTest.cpp | 382 tcu::Texture2D refTexture (tcu::TextureFormat(tcu::TextureFormat::RGBA, tcu::TextureFormat::UNORM_INT8), TEXTURE2D_WIDTH, TEXTURE2D_HEIGHT); 384 refTexture.allocLevel(0); 385 tcu::fillWithComponentGradients(refTexture.getLevel(0), tcu::Vec4(0.0f, 0.0f, 0.0f, 0.0f), tcu::Vec4(1.0f, 1.0f, 1.0f, 1.0f)); 393 gl.texImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, refTexture.getWidth(), refTexture.getHeight(), 0, GL_RGBA, GL_UNSIGNED_BYTE, refTexture.getLevel(0).getDataPtr()); 394 GLU_EXPECT_NO_ERROR(gl.getError(), "glTexImage2D(GL_TEXTURE_2D, 0, GL_RGBA8, refTexture.getWidth(), refTexture.getHeight(), 0, GL_RGBA, GL_UNSIGNED_BYTE, refTexture.getLevel(0).getDataPtr())"); 408 tcu::Texture3D refTexture (tc [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fTextureGatherTests.cpp | 1678 tcu::Texture2D& refTexture = m_texture->getRefTexture(); local 1680 const int levelEnd = isMipmapFilter(m_minFilter) && !(m_flags & GATHERCASE_MIPMAP_INCOMPLETE) ? refTexture.getNumLevels() : m_baseLevel+1; 1681 DE_ASSERT(m_baseLevel < refTexture.getNumLevels()); 1685 refTexture.allocLevel(levelNdx); 1686 const PixelBufferAccess& level = refTexture.getLevel(levelNdx); 1692 swizzleTexture(m_swizzledTexture, refTexture, m_textureSwizzle); 1805 tcu::Texture2DArray& refTexture = m_texture->getRefTexture(); 1807 const int levelEnd = isMipmapFilter(m_minFilter) && !(m_flags & GATHERCASE_MIPMAP_INCOMPLETE) ? refTexture.getNumLevels() : m_baseLevel+1; 1808 DE_ASSERT(m_baseLevel < refTexture.getNumLevels()); 1812 refTexture [all...] |
H A D | es31fCopyImageTests.cpp | 871 const tcu::Texture2DView& refTexture) 876 const tcu::TextureFormat format = refTexture.getLevel(0).getFormat(); 922 sampleTexture(SurfaceAccess(referenceFrame, renderContext.getRenderTarget().getPixelFormat()), refTexture, &texCoord[0], renderParams); local 1004 const tcu::Texture2DView refTexture((int)levelAccesses.size(), &(levelAccesses[0])); 1006 verifyTexture2DView(testContext, renderContext, textureRenderer, results, rng, name, info, refTexture); 1012 const tcu::Texture2DView refTexture ((int)levelAccesses.size(), &(levelAccesses[0])); 1014 verifyTexture2DView(testContext, renderContext, textureRenderer, results, rng, name, info, refTexture); 1025 const tcu::Texture3DView& refTexture) 1030 const tcu::TextureFormat format = refTexture.getLevel(0).getFormat(); 1080 sampleTexture(SurfaceAccess(referenceFrame, renderContext.getRenderTarget().getPixelFormat()), refTexture, local 864 verifyTexture2DView(tcu::TestContext& testContext, glu::RenderContext& renderContext, TextureRenderer& renderer, tcu::ResultCollector& results, de::Random& rng, deUint32 name, const ImageInfo& info, const tcu::Texture2DView& refTexture) argument 1018 verifyTexture3DView(tcu::TestContext& testContext, glu::RenderContext& renderContext, TextureRenderer& renderer, tcu::ResultCollector& results, de::Random& rng, deUint32 name, const ImageInfo& info, const tcu::Texture3DView& refTexture) argument 1128 verifyTextureCubemapView(tcu::TestContext& testContext, glu::RenderContext& renderContext, TextureRenderer& renderer, tcu::ResultCollector& results, de::Random& rng, deUint32 name, const ImageInfo& info, const tcu::TextureCubeView& refTexture) argument 1193 sampleTexture(SurfaceAccess(referenceFrame, renderContext.getRenderTarget().getPixelFormat()), refTexture, &texCoord[0], renderParams); local 1301 verifyTexture2DArrayView(tcu::TestContext& testContext, glu::RenderContext& renderContext, TextureRenderer& renderer, tcu::ResultCollector& results, de::Random& rng, deUint32 name, const ImageInfo& info, const tcu::Texture2DArrayView& refTexture) argument 1361 sampleTexture(SurfaceAccess(referenceFrame, renderContext.getRenderTarget().getPixelFormat()), refTexture, &texCoord[0], renderParams); local [all...] |
H A D | es31fProgramUniformTests.cpp | 1231 tcu::Texture2D& refTexture = texture->getRefTexture(); local 1234 refTexture.allocLevel(0); 1235 fillWithColor(refTexture.getLevel(0), color); 1249 tcu::TextureCube& refTexture = texture->getRefTexture(); local 1254 refTexture.allocLevel((tcu::CubeFace)face, 0); 1255 fillWithColor(refTexture.getLevelFace(0, (tcu::CubeFace)face), color);
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fVertexTextureTests.cpp | 642 const tcu::Texture2D& refTexture = m_textures[textureNdx]->getRefTexture(); local 643 const Vec2 srcSize = Vec2((float)refTexture.getWidth(), (float)refTexture.getHeight()); 963 const tcu::TextureCube& refTexture = m_textures[textureNdx]->getRefTexture(); local 964 const Vec2 srcSize = Vec2((float)refTexture.getSize(), (float)refTexture.getSize()); 1288 const tcu::Texture2DArray& refTexture = m_textures[textureNdx]->getRefTexture(); local 1289 const int texWidth = refTexture.getWidth(); 1290 const int texHeight = refTexture.getHeight(); 1628 const tcu::Texture3D& refTexture local [all...] |
H A D | es3fTextureMipmapTests.cpp | 296 const tcu::Texture2D& refTexture = m_texture->getRefTexture(); local 299 const int texWidth = refTexture.getWidth(); 300 const int texHeight = refTexture.getHeight(); 434 refTexture, &texCoord[0], sampleParams); local 1245 const tcu::Texture3D& refTexture = m_texture->getRefTexture(); local 1246 const tcu::TextureFormat& texFmt = refTexture.getFormat(); 1248 const int texWidth = refTexture.getWidth(); 1249 const int texHeight = refTexture.getHeight(); 1380 refTexture, &texCoord[0], sampleParams); local 1497 const tcu::Texture2D& refTexture local 1582 refTexture, &texCoord[0], sampleParams); local 2122 const tcu::Texture3D& refTexture = m_texture->getRefTexture(); local 2214 refTexture, &texCoord[0], sampleParams); local [all...] |
H A D | es3fUniformApiTests.cpp | 1415 tcu::Texture2D& refTexture = texture->getRefTexture(); local 1418 refTexture.allocLevel(0); 1419 fillWithColor(refTexture.getLevel(0), color); 1434 tcu::TextureCube& refTexture = texture->getRefTexture(); local 1439 refTexture.allocLevel((tcu::CubeFace)face, 0); 1440 fillWithColor(refTexture.getLevelFace(0, (tcu::CubeFace)face), color);
|
/external/deqp/modules/gles2/functional/ |
H A D | es2fVertexTextureTests.cpp | 541 const tcu::Texture2D& refTexture = m_textures[textureNdx]->getRefTexture(); local 542 const Vec2 srcSize = Vec2((float)refTexture.getWidth(), (float)refTexture.getHeight()); 859 const tcu::TextureCube& refTexture = m_textures[textureNdx]->getRefTexture(); local 860 const Vec2 srcSize = Vec2((float)refTexture.getSize(), (float)refTexture.getSize());
|
H A D | es2fTextureMipmapTests.cpp | 252 const tcu::Texture2D& refTexture = m_texture->getRefTexture(); local 255 const int texWidth = refTexture.getWidth(); 256 const int texHeight = refTexture.getHeight(); 390 refTexture, &texCoord[0], sampleParams); local
|
H A D | es2fUniformApiTests.cpp | 1217 tcu::Texture2D& refTexture = texture->getRefTexture(); local 1220 refTexture.allocLevel(0); 1221 fillWithColor(refTexture.getLevel(0), color); 1236 tcu::TextureCube& refTexture = texture->getRefTexture(); local 1241 refTexture.allocLevel((tcu::CubeFace)face, 0); 1242 fillWithColor(refTexture.getLevelFace(0, (tcu::CubeFace)face), color);
|
/external/deqp/modules/gles2/accuracy/ |
H A D | es2aTextureMipmapTests.cpp | 252 const tcu::Texture2D& refTexture = m_texture->getRefTexture(); local 253 const tcu::TextureFormat& texFmt = refTexture.getFormat(); 256 int texWidth = refTexture.getWidth(); 257 int texHeight = refTexture.getHeight();
|
H A D | es2aTextureFilteringTests.cpp | 468 const tcu::TextureCube& refTexture, 509 sampleTexture(SurfaceAccess(dstRef, curX, curY, curW, curH), refTexture, &texCoord[0], params); local 465 renderFaces( const glw::Functions& gl, const SurfaceAccess& dstRef, const tcu::TextureCube& refTexture, const ReferenceParams& params, TextureRenderer& renderer, int x, int y, int width, int height, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight, const tcu::Vec2& texCoordTopRightFactor) argument
|
/external/deqp/modules/gles3/accuracy/ |
H A D | es3aTextureMipmapTests.cpp | 244 const tcu::Texture2D& refTexture = m_texture->getRefTexture(); local 245 const tcu::TextureFormat& texFmt = refTexture.getFormat(); 248 int texWidth = refTexture.getWidth(); 249 int texHeight = refTexture.getHeight();
|
H A D | es3aTextureFilteringTests.cpp | 478 const tcu::TextureCube& refTexture, 519 sampleTexture(SurfaceAccess(dstRef, curX, curY, curW, curH), refTexture, &texCoord[0], params); local 475 renderFaces( const glw::Functions& gl, const SurfaceAccess& dstRef, const tcu::TextureCube& refTexture, const ReferenceParams& params, TextureRenderer& renderer, int x, int y, int width, int height, const tcu::Vec2& bottomLeft, const tcu::Vec2& topRight, const tcu::Vec2& texCoordTopRightFactor) argument
|