8#ifndef SkRecorder_DEFINED
9#define SkRecorder_DEFINED
54 namespace gpu {
class Slug; }
162 template <
typename T>
165 template <
typename T>
168 template<
typename T,
typename... Args>
169 void append(Args&&...);
171 size_t fApproxBytesUsedBySubPictures;
173 std::unique_ptr<SkDrawableList> fDrawableList;
SkDrawable *const * end() const
SkBigPicture::SnapshotArray * newDrawableSnapshot()
SkDrawable *const * begin() const
void append(SkDrawable *drawable)
void didScale(SkScalar, SkScalar) override
void onDrawShadowRec(const SkPath &, const SkDrawShadowRec &) override
void didTranslate(SkScalar, SkScalar) override
void didConcat44(const SkM44 &) override
void onDrawDRRect(const SkRRect &, const SkRRect &, const SkPaint &) override
void onDrawPicture(const SkPicture *, const SkMatrix *, const SkPaint *) override
void onClipShader(sk_sp< SkShader >, SkClipOp) override
void onDrawDrawable(SkDrawable *, const SkMatrix *) override
void onDrawPatch(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkBlendMode, const SkPaint &paint) override
std::unique_ptr< SkDrawableList > detachDrawableList()
void onDrawPaint(const SkPaint &) override
void onClipRRect(const SkRRect &rrect, SkClipOp, ClipEdgeStyle) override
void onClipRegion(const SkRegion &deviceRgn, SkClipOp) override
void onDrawSlug(const sktext::gpu::Slug *slug, const SkPaint &paint) override
void onDrawPath(const SkPath &, const SkPaint &) override
void onDrawMesh(const SkMesh &, sk_sp< SkBlender >, const SkPaint &) override
void onDrawBehind(const SkPaint &) override
void onDrawImage2(const SkImage *, SkScalar, SkScalar, const SkSamplingOptions &, const SkPaint *) override
SkDrawableList * getDrawableList() const
void onDrawEdgeAAQuad(const SkRect &, const SkPoint[4], QuadAAFlags, const SkColor4f &, SkBlendMode) override
void didSetM44(const SkM44 &) override
void onDrawRegion(const SkRegion &, const SkPaint &) override
void onDrawVerticesObject(const SkVertices *, SkBlendMode, const SkPaint &) override
void onDrawRect(const SkRect &, const SkPaint &) override
void onResetClip() override
size_t approxBytesUsedBySubPictures() const
void onDrawImageLattice2(const SkImage *, const Lattice &, const SkRect &, SkFilterMode, const SkPaint *) override
void onClipRect(const SkRect &rect, SkClipOp, ClipEdgeStyle) override
sk_sp< SkSurface > onNewSurface(const SkImageInfo &, const SkSurfaceProps &) override
bool onDoSaveBehind(const SkRect *) override
void onDrawGlyphRunList(const sktext::GlyphRunList &glyphRunList, const SkPaint &paint) override
void onDrawArc(const SkRect &, SkScalar, SkScalar, bool, const SkPaint &) override
void onDrawPoints(PointMode, size_t count, const SkPoint pts[], const SkPaint &) override
void onDrawAtlas2(const SkImage *, const SkRSXform[], const SkRect[], const SkColor[], int, SkBlendMode, const SkSamplingOptions &, const SkRect *, const SkPaint *) override
void didRestore() override
void onDrawTextBlob(const SkTextBlob *blob, SkScalar x, SkScalar y, const SkPaint &paint) override
void onDrawImageRect2(const SkImage *, const SkRect &, const SkRect &, const SkSamplingOptions &, const SkPaint *, SrcRectConstraint) override
void onDrawEdgeAAImageSet2(const ImageSetEntry[], int count, const SkPoint[], const SkMatrix[], const SkSamplingOptions &, const SkPaint *, SrcRectConstraint) override
void onDrawAnnotation(const SkRect &, const char[], SkData *) override
void willRestore() override
void onClipPath(const SkPath &path, SkClipOp, ClipEdgeStyle) override
void onDrawOval(const SkRect &, const SkPaint &) override
SaveLayerStrategy getSaveLayerStrategy(const SaveLayerRec &) override
void onDrawRRect(const SkRRect &, const SkPaint &) override