Lines Matching refs:SkSurface_Raster
36 class SkSurface_Raster : public SkSurface_Base { class
38 SkSurface_Raster(const SkImageInfo&, void*, size_t rb,
41 SkSurface_Raster(const SkImageInfo& info, sk_sp<SkPixelRef>, const SkSurfaceProps*);
85 SkSurface_Raster::SkSurface_Raster(const SkImageInfo& info, void* pixels, size_t rb, in SkSurface_Raster() function in SkSurface_Raster
94 SkSurface_Raster::SkSurface_Raster(const SkImageInfo& info, sk_sp<SkPixelRef> pr, in SkSurface_Raster() function in SkSurface_Raster
103 SkCanvas* SkSurface_Raster::onNewCanvas() { return new SkCanvas(fBitmap, this->props()); } in onNewCanvas()
105 sk_sp<SkSurface> SkSurface_Raster::onNewSurface(const SkImageInfo& info) { in onNewSurface()
109 void SkSurface_Raster::onDraw(SkCanvas* canvas, SkScalar x, SkScalar y, in onDraw()
114 sk_sp<SkImage> SkSurface_Raster::onNewImageSnapshot(const SkIRect* subset) { in onNewImageSnapshot()
140 void SkSurface_Raster::onWritePixels(const SkPixmap& src, int x, int y) { in onWritePixels()
144 void SkSurface_Raster::onRestoreBackingMutability() { in onRestoreBackingMutability()
151 bool SkSurface_Raster::onCopyOnWrite(ContentChangeMode mode) { in onCopyOnWrite()
180 sk_sp<const SkCapabilities> SkSurface_Raster::onCapabilities() { in onCapabilities()
199 return sk_make_sp<SkSurface_Raster>(info, pixels, rb, releaseProc, context, props); in MakeRasterDirectReleaseProc()
220 return sk_make_sp<SkSurface_Raster>(info, std::move(pr), props); in MakeRaster()