8#ifndef SkPictureShader_DEFINED
9#define SkPictureShader_DEFINED
66 const int maxTextureSize,
76#ifdef SK_ENABLE_LEGACY_SHADERCONTEXT
#define SK_FLATTENABLE_HOOKS(type)
SkTileMode tileModeY() const
SkTileMode tileModeX() const
bool appendStages(const SkStageRec &, const SkShaders::MatrixRec &) const override
static sk_sp< SkShader > Make(sk_sp< SkPicture >, SkTileMode, SkTileMode, SkFilterMode, const SkMatrix *, const SkRect *)
SkFilterMode filter() const
SkPictureShader(SkReadBuffer &)
sk_sp< SkPicture > picture() const
ShaderType type() const override
void flatten(SkWriteBuffer &) const override
SkPictureShader(sk_sp< SkPicture >, SkTileMode, SkTileMode, SkFilterMode, const SkRect *)
Optional< SkRect > bounds
static CachedImageInfo Make(const SkRect &bounds, const SkMatrix &totalM, SkColorType dstColorType, SkColorSpace *dstColorSpace, const int maxTextureSize, const SkSurfaceProps &propsIn)
sk_sp< SkImage > makeImage(sk_sp< SkSurface > surf, const SkPicture *pict) const