Lines Matching defs:context
52 Texture1D::Texture1D (const RenderContext& context, deUint32 format, deUint32 dataType, int width)
53 : m_context (context)
58 const glw::Functions& gl = context.getFunctions();
63 Texture1D::Texture1D (const RenderContext& context, deUint32 sizedFormat, int width)
64 : m_context (context)
69 const glw::Functions& gl = context.getFunctions();
105 Texture2D::Texture2D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height)
106 : m_context (context)
109 , m_refTexture (mapGLTransferFormat(format, dataType), width, height, isES2Context(context.getType()))
112 const glw::Functions& gl = context.getFunctions();
117 Texture2D::Texture2D (const RenderContext& context, deUint32 sizedFormat, int width, int height)
118 : m_context (context)
121 , m_refTexture (mapGLInternalFormat(sizedFormat), width, height, isES2Context(context.getType()))
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)
130 : m_context (context)
133 , m_refTexture (getUncompressedFormat(levels[0].getFormat()), levels[0].getWidth(), levels[0].getHeight(), isES2Context(context.getType()))
136 const glw::Functions& gl = context.getFunctions();
214 Texture2D* Texture2D::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* levelFileNames)
233 Texture2D* texture = new Texture2D(context, isRGBA ? GL_RGBA : GL_RGB, GL_UNSIGNED_BYTE, level.getWidth(), level.getHeight());
269 return new Texture2D(context, contextInfo, numLevels, &levels[0]);
275 Texture2D* Texture2D::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames)
283 return Texture2D::create(context, contextInfo, archive, numLevels, &charPtrs[0]);
288 ImmutableTexture2D::ImmutableTexture2D (const RenderContext& context, deUint32 sizedFormat, int width, int height)
289 : Texture2D(context, sizedFormat, width, height)
322 TextureCube::TextureCube (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams)
323 : m_context (context)
326 , m_refTexture (getUncompressedFormat(levels[0].getFormat()), levels[0].getWidth(), isES2Context(context.getType()))
350 TextureCube::TextureCube (const RenderContext& context, deUint32 format, deUint32 dataType, int size)
351 : m_context (context)
354 , m_refTexture (mapGLTransferFormat(format, dataType), size, isES2Context(context.getType()))
362 TextureCube::TextureCube (const RenderContext& context, deUint32 internalFormat, int size)
363 : m_context (context)
366 , m_refTexture (mapGLInternalFormat(internalFormat), size, isES2Context(context.getType()))
439 TextureCube* TextureCube::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const char* const* filenames)
455 return new TextureCube(context, contextInfo, numLevels, &levels[0]);
461 TextureCube* TextureCube::create (const RenderContext& context, const ContextInfo& contextInfo, const tcu::Archive& archive, int numLevels, const std::vector<std::string>& filenames)
470 return TextureCube::create(context, contextInfo, archive, numLevels, &charPtrs[0]);
475 Texture1DArray::Texture1DArray (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int numLevels)
476 : m_context (context)
486 Texture1DArray::Texture1DArray (const RenderContext& context, deUint32 sizedFormat, int width, int numLevels)
487 : m_context (context)
529 Texture2DArray::Texture2DArray (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int numLevels)
530 : m_context (context)
542 Texture2DArray::Texture2DArray (const RenderContext& context, deUint32 sizedFormat, int width, int height, int numLevels)
543 : m_context (context)
555 Texture2DArray::Texture2DArray (const RenderContext& context, const ContextInfo& contextInfo, int numLevels, const tcu::CompressedTexture* levels, const tcu::TexDecompressionParams& decompressionParams)
556 : m_context (context)
562 const glw::Functions& gl = context.getFunctions();
645 Texture3D::Texture3D (const RenderContext& context, deUint32 format, deUint32 dataType, int width, int height, int depth)
646 : m_context (context)
658 Texture3D::Texture3D (const RenderContext& context, deUint32 sizedFormat, int width, int height, int depth)
659 : m_context (context)
671 Texture3D::Texture3D (const RenderContext& context,
676 : m_context (context)
682 const glw::Functions& gl = context.getFunctions();
770 TextureCubeArray::TextureCubeArray (const RenderContext& context, deUint32 format, deUint32 dataType, int size, int numLayers)
771 : m_context (context)
782 TextureCubeArray::TextureCubeArray (const RenderContext& context, deUint32 sizedFormat, int size, int numLayers)
783 : m_context (context)
830 TextureBuffer::TextureBuffer (const RenderContext& context, deUint32 internalFormat, size_t bufferSize)
831 : m_context (context)
841 TextureBuffer::TextureBuffer (const RenderContext& context, deUint32 internalFormat, size_t bufferSize, size_t offset, size_t size, const void* data)
842 : m_context (context)