8#ifndef GrDynamicAtlas_DEFINED
9#define GrDynamicAtlas_DEFINED
82 Node* makeNode(
Node* previous,
int l,
int t,
int r,
int b);
87 const int fMaxAtlasSize;
94 Node* fTopNode =
nullptr;
@ kTopLeft_GrSurfaceOrigin
virtual ~GrDynamicAtlas()
GrColorType colorType() const
GrSurfaceProxyView writeView(const GrCaps &) const
GrTextureProxy * textureProxy() const
const SkISize & drawBounds()
static constexpr GrSurfaceOrigin kTextureOrigin
static constexpr int kPadding
bool instantiate(GrOnFlushResourceProvider *, sk_sp< GrTexture > backingTexture=nullptr)
GrSurfaceProxy::LazyInstantiateCallback LazyInstantiateAtlasCallback
static sk_sp< GrTextureProxy > MakeLazyAtlasProxy(LazyInstantiateAtlasCallback &&, GrColorType colorType, InternalMultisample, const GrCaps &, GrSurfaceProxy::UseAllocator)
bool addRect(int width, int height, SkIPoint16 *location)
bool isInstantiated() const
GrSurfaceProxyView readView(const GrCaps &) const
std::function< LazyCallbackResult(GrResourceProvider *, const LazySurfaceDesc &)> LazyInstantiateCallback
bool isInstantiated() const