Lines Matching refs:TextureMtl
7 // TextureMtl.mm:
8 // Implements the class methods for TextureMtl.
11 #include "libANGLE/renderer/metal/TextureMtl.h"
482 // TextureMtl implementation
483 TextureMtl::TextureMtl(const gl::TextureState &state) : TextureImpl(state) {}
485 TextureMtl::~TextureMtl() = default;
487 void TextureMtl::onDestroy(const gl::Context *context)
492 void TextureMtl::releaseTexture(bool releaseImages)
497 void TextureMtl::releaseTexture(bool releaseImages, bool releaseTextureObjectsOnly)
536 angle::Result TextureMtl::ensureTextureCreated(const gl::Context *context)
558 angle::Result TextureMtl::createNativeTexture(const gl::Context *context,
642 angle::Result TextureMtl::ensureSamplerStateCreated(const gl::Context *context)
680 angle::Result TextureMtl::onBaseMaxLevelsChanged(const gl::Context *context)
700 angle::Result TextureMtl::ensureImageCreated(const gl::Context *context,
713 angle::Result TextureMtl::ensureNativeLevelViewsCreated()
739 mtl::TextureRef TextureMtl::createImageViewFromNativeTexture(
765 void TextureMtl::retainImageDefinitions()
800 bool TextureMtl::isIndexWithinMinMaxLevels(const gl::ImageIndex &imageIndex) const
806 mtl::MipmapNativeLevel TextureMtl::getNativeLevel(const gl::ImageIndex &imageIndex) const
812 mtl::TextureRef &TextureMtl::getImage(const gl::ImageIndex &imageIndex)
817 ImageDefinitionMtl &TextureMtl::getImageDefinition(const gl::ImageIndex &imageIndex)
846 RenderTargetMtl &TextureMtl::getRenderTarget(const gl::ImageIndex &imageIndex)
873 angle::Result TextureMtl::setImage(const gl::Context *context,
889 angle::Result TextureMtl::setSubImage(const gl::Context *context,
903 angle::Result TextureMtl::setCompressedImage(const gl::Context *context,
919 angle::Result TextureMtl::setCompressedSubImage(const gl::Context *context,
937 angle::Result TextureMtl::copyImage(const gl::Context *context,
977 angle::Result TextureMtl::copySubImage(const gl::Context *context,
990 angle::Result TextureMtl::copyTexture(const gl::Context *context,
1020 angle::Result TextureMtl::copySubTexture(const gl::Context *context,
1036 angle::Result TextureMtl::copyCompressedTexture(const gl::Context *context,
1044 angle::Result TextureMtl::setStorage(const gl::Context *context,
1059 angle::Result TextureMtl::setStorageExternalMemory(const gl::Context *context,
1074 angle::Result TextureMtl::setStorageMultisample(const gl::Context *context,
1086 angle::Result TextureMtl::setEGLImageTarget(const gl::Context *context,
1118 angle::Result TextureMtl::setImageExternal(const gl::Context *context,
1127 angle::Result TextureMtl::generateMipmap(const gl::Context *context)
1166 angle::Result TextureMtl::generateMipmapCPU(const gl::Context *context)
1236 angle::Result TextureMtl::setBaseLevel(const gl::Context *context, GLuint baseLevel)
1241 angle::Result TextureMtl::bindTexImage(const gl::Context *context, egl::Surface *surface)
1259 angle::Result TextureMtl::releaseTexImage(const gl::Context *context)
1265 angle::Result TextureMtl::getAttachmentRenderTarget(const gl::Context *context,
1281 angle::Result TextureMtl::syncState(const gl::Context *context,
1334 angle::Result TextureMtl::bindToShader(const gl::Context *context,
1400 angle::Result TextureMtl::redefineImage(const gl::Context *context,
1480 angle::Result TextureMtl::setStorageImpl(const gl::Context *context,
1501 angle::Result TextureMtl::setImageImpl(const gl::Context *context,
1538 angle::Result TextureMtl::setSubImageImpl(const gl::Context *context,
1626 angle::Result TextureMtl::setPerSliceSubImage(const gl::Context *context,
1698 angle::Result TextureMtl::convertAndSetPerSliceSubImage(const gl::Context *context,
1852 angle::Result TextureMtl::checkForEmulatedChannels(const gl::Context *context,
1879 angle::Result TextureMtl::initializeContents(const gl::Context *context,
1933 angle::Result TextureMtl::copySubImageImpl(const gl::Context *context,
1974 angle::Result TextureMtl::copySubImageWithDraw(const gl::Context *context,
2008 angle::Result TextureMtl::copySubImageCPU(const gl::Context *context,
2069 angle::Result TextureMtl::copySubTextureImpl(const gl::Context *context,
2086 TextureMtl *sourceMtl = mtl::GetImpl(source);
2109 angle::Result TextureMtl::copySubTextureWithDraw(const gl::Context *context,
2157 angle::Result TextureMtl::copySubTextureCPU(const gl::Context *context,