Home | History | Annotate | Download | only in image

Lines Matching defs:SkSurface_Raster

16 class SkSurface_Raster : public SkSurface_Base {
20 SkSurface_Raster(const SkImageInfo&, void*, size_t rb);
21 SkSurface_Raster(const SkImageInfo&, SkPixelRef*, size_t rb);
39 bool SkSurface_Raster::Valid(const SkImageInfo& info, size_t rowBytes) {
83 SkSurface_Raster::SkSurface_Raster(const SkImageInfo& info, void* pixels, size_t rb)
91 SkSurface_Raster::SkSurface_Raster(const SkImageInfo& info, SkPixelRef* pr, size_t rb)
103 SkCanvas* SkSurface_Raster::onNewCanvas() {
107 SkSurface* SkSurface_Raster::onNewSurface(const SkImageInfo& info) {
111 void SkSurface_Raster::onDraw(SkCanvas* canvas, SkScalar x, SkScalar y,
116 SkImage* SkSurface_Raster::onNewImageSnapshot() {
120 void SkSurface_Raster::onCopyOnWrite(ContentChangeMode mode) {
143 if (!SkSurface_Raster::Valid(info, rowBytes)) {
150 return SkNEW_ARGS(SkSurface_Raster, (info, pixels, rowBytes));
154 if (!SkSurface_Raster::Valid(info)) {
162 return SkNEW_ARGS(SkSurface_Raster, (info, pr, info.minRowBytes()));