Lines Matching refs:SkImage
23 virtual SkSurface* onNewSurface(const SkImage::Info&) SK_OVERRIDE;
24 virtual SkImage* onNewImageShapshot() SK_OVERRIDE;
27 virtual void onCopyOnWrite(SkImage*, SkCanvas*) SK_OVERRIDE;
55 SkSurface* SkSurface_Picture::onNewSurface(const SkImage::Info& info) {
59 SkImage* SkSurface_Picture::onNewImageShapshot() {
63 SkImage::Info info;
65 info.fColorType = SkImage::kPMColor_ColorType;
66 info.fAlphaType = SkImage::kOpaque_AlphaType;
67 return SkImage::NewRasterCopy(info, NULL, 0);
79 void SkSurface_Picture::onCopyOnWrite(SkImage* cachedImage, SkCanvas*) {