Lines Matching refs:SkSurface_Raster
16 class SkSurface_Raster : public SkSurface_Base { class
20 SkSurface_Raster(const SkImageInfo&, void*, size_t rb,
23 SkSurface_Raster(SkPixelRef*, const SkSurfaceProps*);
42 bool SkSurface_Raster::Valid(const SkImageInfo& info, size_t rowBytes) { in Valid()
89 SkSurface_Raster::SkSurface_Raster(const SkImageInfo& info, void* pixels, size_t rb, in SkSurface_Raster() function in SkSurface_Raster
99 SkSurface_Raster::SkSurface_Raster(SkPixelRef* pr, const SkSurfaceProps* props) in SkSurface_Raster() function in SkSurface_Raster
110 SkCanvas* SkSurface_Raster::onNewCanvas() { return new SkCanvas(fBitmap, this->props()); } in onNewCanvas()
112 SkSurface* SkSurface_Raster::onNewSurface(const SkImageInfo& info) { in onNewSurface()
116 void SkSurface_Raster::onDraw(SkCanvas* canvas, SkScalar x, SkScalar y, in onDraw()
121 SkImage* SkSurface_Raster::onNewImageSnapshot(SkBudgeted, ForceCopyMode forceCopyMode) { in onNewImageSnapshot()
137 void SkSurface_Raster::onRestoreBackingMutability() { in onRestoreBackingMutability()
144 void SkSurface_Raster::onCopyOnWrite(ContentChangeMode mode) { in onCopyOnWrite()
178 if (!SkSurface_Raster::Valid(info, rb)) { in NewRasterDirectReleaseProc()
185 return new SkSurface_Raster(info, pixels, rb, releaseProc, context, props); in NewRasterDirectReleaseProc()
195 if (!SkSurface_Raster::Valid(info)) { in NewRaster()
206 return new SkSurface_Raster(pr, props); in NewRaster()