/external/skqp/src/core/ |
D | SkSpecialSurface.cpp | 18 , fCanvas(nullptr) { in SkSpecialSurface_Base() 24 void reset() { fCanvas.reset(); } in reset() 27 SkCanvas* onGetCanvas() { return fCanvas.get(); } in onGetCanvas() 32 std::unique_ptr<SkCanvas> fCanvas; // initialized by derived classes in ctors member in SkSpecialSurface_Base 75 fCanvas.reset(new SkCanvas(fBitmap, this->props())); in SkSpecialSurface_Raster() 76 fCanvas->clipRect(SkRect::Make(subset)); in SkSpecialSurface_Raster() 78 fCanvas->clear(SK_ColorRED); // catch any imageFilter sloppiness in SkSpecialSurface_Raster() 137 fCanvas.reset(new SkCanvas(device)); in SkSpecialSurface_Gpu() 138 fCanvas->clipRect(SkRect::Make(subset)); in SkSpecialSurface_Gpu() 140 fCanvas->clear(SK_ColorRED); // catch any imageFilter sloppiness in SkSpecialSurface_Gpu() [all …]
|
D | SkMultiPictureDraw.cpp | 15 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); in draw() 21 fCanvas = canvas; in init() 101 SkCanvas* canvas = data.fCanvas; in draw()
|
D | SkRecordDraw.h | 52 , fCanvas(canvas) 74 SkCanvas* fCanvas; variable
|
D | SkCanvasPriv.cpp | 15 : fCanvas(canvas) in SkAutoCanvasMatrixPaint() 34 fCanvas->restoreToCount(fSaveCount); in ~SkAutoCanvasMatrixPaint()
|
/external/skia/src/core/ |
D | SkSpecialSurface.cpp | 18 , fCanvas(nullptr) { in SkSpecialSurface_Base() 24 void reset() { fCanvas.reset(); } in reset() 27 SkCanvas* onGetCanvas() { return fCanvas.get(); } in onGetCanvas() 32 std::unique_ptr<SkCanvas> fCanvas; // initialized by derived classes in ctors member in SkSpecialSurface_Base 75 fCanvas.reset(new SkCanvas(fBitmap, this->props())); in SkSpecialSurface_Raster() 76 fCanvas->clipRect(SkRect::Make(subset)); in SkSpecialSurface_Raster() 78 fCanvas->clear(SK_ColorRED); // catch any imageFilter sloppiness in SkSpecialSurface_Raster() 141 fCanvas.reset(new SkCanvas(device)); in SkSpecialSurface_Gpu() 142 fCanvas->clipRect(SkRect::Make(subset)); in SkSpecialSurface_Gpu() 144 fCanvas->clear(SK_ColorRED); // catch any imageFilter sloppiness in SkSpecialSurface_Gpu() [all …]
|
D | SkMultiPictureDraw.cpp | 15 fCanvas->drawPicture(fPicture, &fMatrix, fPaint); in draw() 21 fCanvas = canvas; in init() 101 SkCanvas* canvas = data.fCanvas; in draw()
|
D | SkRecordDraw.h | 52 , fCanvas(canvas) 74 SkCanvas* fCanvas; variable
|
/external/skqp/src/xps/ |
D | SkXPSDocument.cpp | 24 std::unique_ptr<SkCanvas> fCanvas; member 59 fCanvas.reset(new SkCanvas(sk_ref_sp(&fDevice))); in onBeginPage() 60 return fCanvas.get(); in onBeginPage() 64 SkASSERT(fCanvas.get()); in onEndPage() 65 fCanvas->flush(); in onEndPage() 66 fCanvas.reset(nullptr); in onEndPage() 71 SkASSERT(!fCanvas.get()); in onClose()
|
/external/skia/samplecode/ |
D | SampleBigGradient.cpp | 54 SkCanvas* fCanvas; member in GraphicsPort 57 GraphicsPort(SkCanvas* canvas) : fCanvas(canvas) {} in GraphicsPort() 60 void save() { fCanvas->save(); } in save() 62 fCanvas->saveLayerAlpha(&bounds, alpha); in saveLayer() 64 void restore() { fCanvas->restore(); } in restore() 66 void translate(float x, float y) { fCanvas->translate(x, y); } in translate() 67 void scale(float s) { fCanvas->scale(s, s); } in scale() 68 void clip(const SkRect& r) { fCanvas->clipRect(r); } in clip() 73 fCanvas->drawOval(r, p); in drawOval() 79 fCanvas->drawRect(r, p); in drawRect() [all …]
|
/external/skqp/samplecode/ |
D | SampleBigGradient.cpp | 54 SkCanvas* fCanvas; member in GraphicsPort 57 GraphicsPort(SkCanvas* canvas) : fCanvas(canvas) {} in GraphicsPort() 60 void save() { fCanvas->save(); } in save() 62 fCanvas->saveLayerAlpha(&bounds, alpha); in saveLayer() 64 void restore() { fCanvas->restore(); } in restore() 66 void translate(float x, float y) { fCanvas->translate(x, y); } in translate() 67 void scale(float s) { fCanvas->scale(s, s); } in scale() 68 void clip(const SkRect& r) { fCanvas->clipRect(r); } in clip() 73 fCanvas->drawOval(r, p); in drawOval() 79 fCanvas->drawRect(r, p); in drawRect() [all …]
|
/external/skia/src/xps/ |
D | SkXPSDocument.cpp | 24 std::unique_ptr<SkCanvas> fCanvas; member 59 fCanvas.reset(new SkCanvas(sk_ref_sp(&fDevice))); in onBeginPage() 60 return fCanvas.get(); in onBeginPage() 64 SkASSERT(fCanvas.get()); in onEndPage() 65 fCanvas.reset(nullptr); in onEndPage() 70 SkASSERT(!fCanvas.get()); in onClose()
|
/external/skia/modules/sksg/src/ |
D | SkSGRenderNode.cpp | 45 : fCanvas(canvas) in ScopedRenderContext() 51 fCanvas->restoreToCount(fRestoreCount); in ~ScopedRenderContext() 80 fCanvas->saveLayer(bounds, &layer_paint); in setIsolation() 95 fCanvas->saveLayer(bounds, &layer_paint); in setFilterIsolation()
|
/external/skqp/bench/ |
D | BezierBench.cpp | 15 SkCanvas* fCanvas; member 25 SkCanvas* canvas = rec->fCanvas; in draw_quad() 37 SkCanvas* canvas = rec->fCanvas; in draw_cubic() 83 fRec.fCanvas = canvas; in onDraw()
|
/external/skia/bench/ |
D | BezierBench.cpp | 15 SkCanvas* fCanvas; member 25 SkCanvas* canvas = rec->fCanvas; in draw_quad() 37 SkCanvas* canvas = rec->fCanvas; in draw_cubic() 83 fRec.fCanvas = canvas; in onDraw()
|
/external/skqp/modules/sksg/include/ |
D | SkSGRenderNode.h | 55 fCanvas = that.fCanvas; 84 SkCanvas* fCanvas; variable
|
/external/skia/experimental/svg/model/ |
D | SkSVGRenderContext.cpp | 296 , fCanvas(canvas) in SkSVGRenderContext() 300 : SkSVGRenderContext(other.fCanvas, in SkSVGRenderContext() 312 fCanvas->restoreToCount(fCanvasSaveCount); in ~SkSVGRenderContext() 390 fCanvas->saveLayer(nullptr, &opacityPaint); in applyOpacity() 396 if (fCanvas->getSaveCount() == fCanvasSaveCount) { in saveOnce() 397 fCanvas->save(); in saveOnce() 400 SkASSERT(fCanvas->getSaveCount() > fCanvasSaveCount); in saveOnce() 424 fCanvas->clipPath(clipPath, true); in applyClip()
|
D | SkSVGRenderContext.h | 72 SkCanvas* canvas() const { return fCanvas; } in canvas() 100 SkCanvas* fCanvas; variable
|
/external/skqp/experimental/svg/model/ |
D | SkSVGRenderContext.cpp | 296 , fCanvas(canvas) in SkSVGRenderContext() 300 : SkSVGRenderContext(other.fCanvas, in SkSVGRenderContext() 312 fCanvas->restoreToCount(fCanvasSaveCount); in ~SkSVGRenderContext() 390 fCanvas->saveLayer(nullptr, &opacityPaint); in applyOpacity() 396 if (fCanvas->getSaveCount() == fCanvasSaveCount) { in saveOnce() 397 fCanvas->save(); in saveOnce() 400 SkASSERT(fCanvas->getSaveCount() > fCanvasSaveCount); in saveOnce() 424 fCanvas->clipPath(clipPath, true); in applyClip()
|
D | SkSVGRenderContext.h | 72 SkCanvas* canvas() const { return fCanvas; } in canvas() 100 SkCanvas* fCanvas; variable
|
/external/skqp/modules/sksg/src/ |
D | SkSGRenderNode.cpp | 37 : fCanvas(canvas) in ScopedRenderContext() 43 fCanvas->restoreToCount(fRestoreCount); in ~ScopedRenderContext() 66 fCanvas->saveLayer(bounds, &layer_paint); in setIsolation()
|
/external/skia/modules/sksg/include/ |
D | SkSGRenderNode.h | 63 fCanvas = that.fCanvas; 97 SkCanvas* fCanvas; variable
|
/external/skqp/src/pdf/ |
D | SkPDFDocument.cpp | 229 SkASSERT(fCanvas.imageInfo().dimensions().isZero()); in onBeginPage() 260 reset_object(&fCanvas, fPageDevice); in onBeginPage() 261 fCanvas.scale(fRasterScale, fRasterScale); in onBeginPage() 263 return &fCanvas; in onBeginPage() 267 SkASSERT(!fCanvas.imageInfo().dimensions().isZero()); in onEndPage() 268 fCanvas.flush(); in onEndPage() 269 reset_object(&fCanvas); in onEndPage() 455 SkASSERT(fCanvas.imageInfo().dimensions().isZero()); in onClose()
|
/external/skia/src/pdf/ |
D | SkPDFDocument.cpp | 229 SkASSERT(fCanvas.imageInfo().dimensions().isZero()); in onBeginPage() 260 reset_object(&fCanvas, fPageDevice); in onBeginPage() 261 fCanvas.scale(fRasterScale, fRasterScale); in onBeginPage() 263 return &fCanvas; in onBeginPage() 267 SkASSERT(!fCanvas.imageInfo().dimensions().isZero()); in onEndPage() 268 reset_object(&fCanvas); in onEndPage() 454 SkASSERT(fCanvas.imageInfo().dimensions().isZero()); in onClose()
|
/external/skqp/include/core/ |
D | SkCanvas.h | 2633 explicit AutoValidateClip(SkCanvas* canvas) : fCanvas(canvas) { in AutoValidateClip() 2634 fCanvas->validateClip(); in AutoValidateClip() 2636 ~AutoValidateClip() { fCanvas->validateClip(); } in ~AutoValidateClip() 2639 const SkCanvas* fCanvas; 2672 SkAutoCanvasRestore(SkCanvas* canvas, bool doSave) : fCanvas(canvas), fSaveCount(0) { in SkAutoCanvasRestore() 2673 if (fCanvas) { in SkAutoCanvasRestore() 2685 if (fCanvas) { in ~SkAutoCanvasRestore() 2686 fCanvas->restoreToCount(fSaveCount); in ~SkAutoCanvasRestore() 2694 if (fCanvas) { in restore() 2695 fCanvas->restoreToCount(fSaveCount); in restore() [all …]
|
/external/skia/include/core/ |
D | SkCanvas.h | 2660 explicit AutoValidateClip(SkCanvas* canvas) : fCanvas(canvas) { in AutoValidateClip() 2661 fCanvas->validateClip(); in AutoValidateClip() 2663 ~AutoValidateClip() { fCanvas->validateClip(); } in ~AutoValidateClip() 2666 const SkCanvas* fCanvas; 2699 SkAutoCanvasRestore(SkCanvas* canvas, bool doSave) : fCanvas(canvas), fSaveCount(0) { in SkAutoCanvasRestore() 2700 if (fCanvas) { in SkAutoCanvasRestore() 2712 if (fCanvas) { in ~SkAutoCanvasRestore() 2713 fCanvas->restoreToCount(fSaveCount); in ~SkAutoCanvasRestore() 2721 if (fCanvas) { in restore() 2722 fCanvas->restoreToCount(fSaveCount); in restore() [all …]
|