Lines Matching refs:Texture2D
9 // Texture2D and TextureCubeMap. Implements GL texture objects and related
458 Texture2D::Texture2D(rx::Renderer *renderer, GLuint id) : Texture(renderer, id, GL_TEXTURE_2D)
469 Texture2D::~Texture2D()
486 GLsizei Texture2D::getWidth(GLint level) const
494 GLsizei Texture2D::getHeight(GLint level) const
502 GLenum Texture2D::getInternalFormat(GLint level) const
510 GLenum Texture2D::getActualFormat(GLint level) const
518 void Texture2D::redefineImage(GLint level, GLenum internalformat, GLsizei width, GLsizei height)
550 void Texture2D::setImage(GLint level, GLsizei width, GLsizei height, GLenum internalFormat, GLenum format, GLenum type, const PixelUnpackState &unpack, const void *pixels)
581 void Texture2D::bindTexImage(egl::Surface *surface)
597 void Texture2D::releaseTexImage()
617 void Texture2D::setCompressedImage(GLint level, GLenum format, GLsizei width, GLsizei height, GLsizei imageSize, const void *pixels)
625 void Texture2D::commitRect(GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height)
637 void Texture2D::subImage(GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const PixelUnpackState &unpack, const void *pixels)
661 void Texture2D::subImageCompressed(GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *pixels)
669 void Texture2D::copyImage(GLint level, GLenum format, GLint x, GLint y, GLsizei width, GLsizei height, Framebuffer *source)
699 void Texture2D::copySubImage(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height, Framebuffer *source)
733 void Texture2D::storage(GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)
752 void Texture2D::setCompleteTexStorage(rx::TextureStorageInterface2D *newCompleteTexStorage)
769 bool Texture2D::isSamplerComplete(const SamplerState &samplerState) const
837 bool Texture2D::isMipmapComplete() const
852 bool Texture2D::isLevelComplete(int level) const
896 bool Texture2D::isCompressed(GLint level) const
901 bool Texture2D::isDepth(GLint level) const
907 void Texture2D::initializeStorage(bool renderTarget)
930 rx::TextureStorageInterface2D *Texture2D::createCompleteStorage(bool renderTarget) const
943 void Texture2D::updateStorage()
956 void Texture2D::updateStorageLevel(int level)
967 bool Texture2D::ensureRenderTarget()
991 void Texture2D::generateMipmaps()
1020 const rx::Image *Texture2D::getBaseLevelImage() const
1025 rx::TextureStorageInterface *Texture2D::getBaseLevelStorage()
1030 FramebufferAttachment *Texture2D::getAttachment(GLint level)
1042 unsigned int Texture2D::getRenderTargetSerial(GLint level)
1047 rx::RenderTarget *Texture2D::getRenderTarget(GLint level)
1066 rx::RenderTarget *Texture2D::getDepthSencil(GLint level)
1085 bool Texture2D::isValidLevel(int level) const