Lines Matching defs:const
41 static inline int computePixelStore (const tcu::TextureFormat& format)
52 Texture1D::Texture1D (const RenderContext& context, deUint32 format, deUint32 dataType, int width)
58 const glw::Functions& gl = context.getFunctions();
63 Texture1D::Texture1D (const RenderContext& context, deUint32 sizedFormat, int width)
69 const glw::Functions& gl = context.getFunctions();
82 const glw::Functions& gl = m_context.getFunctions();
105 Texture2D::Texture2D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height)
112 const glw::Functions& gl = context.getFunctions();
117 Texture2D::Texture2D (const RenderContext& context, deUint32 sizedFormat, int width, int height)
124 const glw::Functions& gl = context.getFunctions();
129 Texture2D::Texture2D (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams)
136 const glw::Functions& gl = context.getFunctions();
148 catch (const std::exception&)
163 const glw::Functions& gl = m_context.getFunctions();
187 void Texture2D::loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams)
189 const glw::Functions& gl = m_context.getFunctions();
197 const tcu::CompressedTexture& level = levels[levelNdx];
214 Texture2D* Texture2D::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* levelFileNames)
253 catch (const std::exception&)
275 Texture2D* Texture2D::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames)
279 std::vector<const char*> charPtrs(filenames.size());
288 ImmutableTexture2D::ImmutableTexture2D (const RenderContext& context, deUint32 sizedFormat, int width, int height)
295 const glw::Functions& gl = m_context.getFunctions();
322 TextureCube::TextureCube (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams)
329 const glw::Functions& gl = m_context.getFunctions();
343 catch (const std::exception&)
350 TextureCube::TextureCube (const RenderContext& context, deUint32 format, deUint32 dataType, int size)
357 const glw::Functions& gl = m_context.getFunctions();
362 TextureCube::TextureCube (const RenderContext& context, deUint32 internalFormat, int size)
369 const glw::Functions& gl = m_context.getFunctions();
382 const glw::Functions& gl = m_context.getFunctions();
409 void TextureCube::loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams)
411 const glw::Functions& gl = m_context.getFunctions();
421 const tcu::CompressedTexture& level = levels[levelNdx*tcu::CUBEFACE_LAST + face];
439 TextureCube* TextureCube::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* filenames)
461 TextureCube* TextureCube::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames)
466 std::vector<const char*> charPtrs(filenames.size());
475 Texture1DArray::Texture1DArray (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int numLevels)
481 const glw::Functions& gl = m_context.getFunctions();
486 Texture1DArray::Texture1DArray (const RenderContext& context, deUint32 sizedFormat, int width, int numLevels)
492 const glw::Functions& gl = m_context.getFunctions();
505 const glw::Functions& gl = m_context.getFunctions();
529 Texture2DArray::Texture2DArray (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int numLevels)
537 const glw::Functions& gl = m_context.getFunctions();
542 Texture2DArray::Texture2DArray (const RenderContext& context, deUint32 sizedFormat, int width, int height, int numLevels)
550 const glw::Functions& gl = m_context.getFunctions();
555 Texture2DArray::Texture2DArray (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams)
562 const glw::Functions& gl = context.getFunctions();
574 catch (const std::exception&)
589 const glw::Functions& gl = m_context.getFunctions();
615 void Texture2DArray::loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams)
617 const glw::Functions& gl = m_context.getFunctions();
625 const tcu::CompressedTexture& level = levels[levelNdx];
645 Texture3D::Texture3D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int depth)
653 const glw::Functions& gl = m_context.getFunctions();
658 Texture3D::Texture3D (const RenderContext& context, deUint32 sizedFormat, int width, int height, int depth)
666 const glw::Functions& gl = m_context.getFunctions();
671 Texture3D::Texture3D (const RenderContext& context,
672 const ContextInfo& contextInfo,
674 const tcu::CompressedTexture* levels,
675 const tcu::TexDecompressionParams& decompressionParams)
682 const glw::Functions& gl = context.getFunctions();
694 catch (const std::exception&)
709 const glw::Functions& gl = m_context.getFunctions();
737 void Texture3D::loadCompressed (int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams)
739 const glw::Functions& gl = m_context.getFunctions();
750 const tcu::CompressedTexture& level = levels[levelNdx];
770 TextureCubeArray::TextureCubeArray (const RenderContext& context, deUint32 format, deUint32 dataType, int size, int numLayers)
777 const glw::Functions& gl = m_context.getFunctions();
782 TextureCubeArray::TextureCubeArray (const RenderContext& context, deUint32 sizedFormat, int size, int numLayers)
789 const glw::Functions& gl = m_context.getFunctions();
802 const glw::Functions& gl = m_context.getFunctions();
830 TextureBuffer::TextureBuffer (const RenderContext& context, deUint32 internalFormat, size_t bufferSize)
841 TextureBuffer::TextureBuffer (const RenderContext& context, deUint32 internalFormat, size_t bufferSize, size_t offset, size_t size, const void* data)
852 void TextureBuffer::init (deUint32 internalFormat, size_t bufferSize, size_t offset, size_t size, const void* data)
854 const glw::Functions& gl = m_context.getFunctions();
920 const tcu::PixelBufferAccess TextureBuffer::getFullRefTexture (void)
922 const tcu::TextureFormat format = mapGLInternalFormat(m_format);
923 const size_t bufferLengthBytes = (m_size != 0) ? (m_size) : (m_refBuffer.size());
924 const int bufferLengthPixels = (int)bufferLengthBytes / format.getPixelSize();
931 const tcu::ConstPixelBufferAccess TextureBuffer::getFullRefTexture (void) const
938 const glw::Functions& gl = m_context.getFunctions();