~AutoDeinstantiateTextureProxy()
AutoDeinstantiateTextureProxy(TextureProxy *textureProxy)
Mipmapped mipmapped() const
uint32_t numSamples() const
bool lazyInstantiate(ResourceProvider *)
bool instantiate(ResourceProvider *)
static bool InstantiateIfNotLazy(ResourceProvider *, TextureProxy *)
SkISize dimensions() const
std::function< sk_sp< Texture >(ResourceProvider *)> LazyInstantiateCallback
static sk_sp< TextureProxy > Wrap(sk_sp< Texture >)
static sk_sp< TextureProxy > Make(const Caps *, ResourceProvider *, SkISize dimensions, const TextureInfo &, std::string_view label, skgpu::Budgeted)
const char * label() const
Mipmapped mipmapped() const
const TextureInfo & textureInfo() const
sk_sp< Texture > refTexture() const
static sk_sp< TextureProxy > MakeFullyLazy(const TextureInfo &, skgpu::Budgeted, Volatile, LazyInstantiateCallback &&)
const Texture * texture() const
static sk_sp< TextureProxy > MakeLazy(const Caps *, SkISize dimensions, const TextureInfo &, skgpu::Budgeted, Volatile, LazyInstantiateCallback &&)
bool isInstantiated() const
size_t uninstantiatedGpuMemorySize() const