8#ifndef SkSurface_Raster_DEFINED
9#define SkSurface_Raster_DEFINED
33 void (*
releaseProc)(
void* pixels,
void* context),
void* context,
static void info(const char *fmt,...) SK_PRINTF_LIKE(1
static void releaseProc(const void *ptr, void *context)
const SkImageInfo & info() const
SkSurface_Base(int width, int height, const SkSurfaceProps *)
SkSurface_Base::Type type() const override
void onDraw(SkCanvas *, SkScalar, SkScalar, const SkSamplingOptions &, const SkPaint *) override
SkCanvas * onNewCanvas() override
SkSurface_Raster(const SkImageInfo &, void *, size_t rb, void(*releaseProc)(void *pixels, void *context), void *context, const SkSurfaceProps *)
sk_sp< const SkCapabilities > onCapabilities() override
sk_sp< SkSurface > onNewSurface(const SkImageInfo &) override
bool onCopyOnWrite(ContentChangeMode) override
SkImageInfo imageInfo() const override
void onWritePixels(const SkPixmap &, int x, int y) override
void onRestoreBackingMutability() override
sk_sp< SkImage > onNewImageSnapshot(const SkIRect *subset) override