Lines Matching defs:texture
447 // Stencil-only texture should be provided if (and only if) the image has a combined DS format
544 // Stencil-only texture should be provided if (and only if) the image has a combined DS format
637 DE_FATAL("Unexpected source texture format.");
685 DE_FATAL("Unexpected source texture format.");
731 void allocateLevels (TcuTextureType& texture)
733 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); levelNdx++)
734 texture.allocLevel(levelNdx);
738 std::vector<tcu::PixelBufferAccess> getLevelsVector (const TcuTextureType& texture)
740 std::vector<tcu::PixelBufferAccess> levels(texture.getNumLevels());
742 for (int levelNdx = 0; levelNdx < texture.getNumLevels(); levelNdx++)
743 levels[levelNdx] = *reinterpret_cast<const tcu::PixelBufferAccess*>(&texture.getLevel(levelNdx));
1101 de::MovePtr<TestTexture> texture (new TestTexture1D(format, m_texture.getWidth()));
1103 copyToTexture(*texture);
1105 return texture;
1178 de::MovePtr<TestTexture> texture (new TestTexture1DArray(format, m_texture.getWidth(), getArraySize()));
1180 copyToTexture(*texture);
1182 return texture;
1249 de::MovePtr<TestTexture> texture (new TestTexture2D(format, m_texture.getWidth(), m_texture.getHeight(), m_texture.getNumLevels()));
1251 copyToTexture(*texture);
1253 return texture;
1326 de::MovePtr<TestTexture> texture (new TestTexture2DArray(format, m_texture.getWidth(), m_texture.getHeight(), getArraySize()));
1328 copyToTexture(*texture);
1330 return texture;
1388 de::MovePtr<TestTexture> texture (new TestTexture3D(format, m_texture.getWidth(), m_texture.getHeight(), m_texture.getDepth()));
1390 copyToTexture(*texture);
1392 return texture;
1477 de::MovePtr<TestTexture> texture (new TestTextureCube(format, m_texture.getSize()));
1479 copyToTexture(*texture);
1481 return texture;
1556 de::MovePtr<TestTexture> texture (new TestTextureCubeArray(format, m_texture.getSize(), getArraySize()));
1558 copyToTexture(*texture);
1560 return texture;