Lines Matching refs:fCanvas
21 , fCanvas(nullptr) { in SkSpecialSurface_Base()
25 void reset() { fCanvas.reset(); } in reset()
28 SkCanvas* onGetCanvas() { return fCanvas.get(); } in onGetCanvas()
33 std::unique_ptr<SkCanvas> fCanvas; // initialized by derived classes in ctors member in SkSpecialSurface_Base
76 fCanvas = std::make_unique<SkCanvas>(fBitmap, this->props()); in SkSpecialSurface_Raster()
77 fCanvas->clipRect(SkRect::Make(subset)); in SkSpecialSurface_Raster()
79 fCanvas->clear(SK_ColorRED); // catch any imageFilter sloppiness in SkSpecialSurface_Raster()
130 fCanvas = std::make_unique<SkCanvas>(std::move(device)); in SkSpecialSurface_Gpu()
131 fCanvas->clipRect(SkRect::Make(subset)); in SkSpecialSurface_Gpu()
133 fCanvas->clear(SK_ColorRED); // catch any imageFilter sloppiness in SkSpecialSurface_Gpu()
141 GrColorType ct = SkColorTypeToGrColorType(fCanvas->imageInfo().colorType()); in onMakeImageSnapshot()
145 return SkSpecialImage::MakeDeferredFromGpu(fCanvas->recordingContext(), in onMakeImageSnapshot()
149 fCanvas->imageInfo().refColorSpace(), in onMakeImageSnapshot()