virtual GrBackendTexture getBackendTexture() const =0
int maxMipmapLevel() const
virtual void textureParamsModified()=0
skgpu::Mipmapped mipmapped() const
GrMipmapStatus mipmapStatus() const
virtual bool onStealBackendTexture(GrBackendTexture *, SkImages::BackendTextureReleaseProc *)=0
GrTexture(GrGpu *, const SkISize &, GrProtected, GrTextureType, GrMipmapStatus, std::string_view label)
static bool StealBackendTexture(sk_sp< GrTexture >, GrBackendTexture *, SkImages::BackendTextureReleaseProc *)
const GrTexture * asTexture() const override
bool hasRestrictedSampling() const
GrTextureType textureType() const
static void ComputeScratchKey(const GrCaps &caps, const GrBackendFormat &format, SkISize dimensions, GrRenderable, int sampleCnt, skgpu::Mipmapped, GrProtected, skgpu::ScratchKey *key)
GrTexture * asTexture() override
bool mipmapsAreDirty() const
void computeScratchKey(skgpu::ScratchKey *) const override
uint32_t uint32_t * format