8#ifndef SKDRAWCOMMAND_H_
9#define SKDRAWCOMMAND_H_
659 uint32_t fSaveLayerFlags;
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
static bool left(const SkPoint &p0, const SkPoint &p1)
bool render(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
BeginDrawPictureCommand(const SkPicture *picture, const SkMatrix *matrix, const SkPaint *paint)
void execute(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
ClearCommand(SkColor color)
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
void execute(SkCanvas *canvas) const override
ClipPathCommand(const SkPath &path, SkClipOp op, bool doAA)
bool render(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
ClipRRectCommand(const SkRRect &rrect, SkClipOp op, bool doAA)
void execute(SkCanvas *canvas) const override
bool render(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
void execute(SkCanvas *canvas) const override
ClipRectCommand(const SkRect &rect, SkClipOp op, bool doAA)
void execute(SkCanvas *canvas) const override
ClipRegionCommand(const SkRegion ®ion, SkClipOp op)
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
ClipShaderCommand(sk_sp< SkShader >, SkClipOp)
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
bool render(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
Concat44Command(const SkM44 &matrix)
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
ConcatCommand(const SkMatrix &matrix)
void execute(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
DrawAnnotationCommand(const SkRect &, const char key[], sk_sp< SkData > value)
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
DrawArcCommand(const SkRect &oval, SkScalar startAngle, SkScalar sweepAngle, bool useCenter, const SkPaint &paint)
void execute(SkCanvas *canvas) const override
bool render(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
DrawAtlasCommand(const SkImage *, const SkRSXform[], const SkRect[], const SkColor[], int, SkBlendMode, const SkSamplingOptions &, const SkRect *, const SkPaint *)
bool render(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
DrawBehindCommand(const SkPaint &paint)
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
static void MakeJsonMatrix44(SkJSONWriter &, const SkM44 &)
static void MakeJsonPoint3(SkJSONWriter &, const SkPoint3 &point)
static void MakeJsonPoint(SkJSONWriter &, const SkPoint &point)
static void MakeJsonColor(SkJSONWriter &, const SkColor color)
@ kDrawImageLattice_OpType
@ kDrawEdgeAAImageSet_OpType
@ kDrawImageRectLayer_OpType
@ kBeginDrawPicture_OpType
DrawCommand(OpType opType)
static const int kOpTypeCount
static void MakeJsonPaint(SkJSONWriter &, const SkPaint &paint, UrlDataManager &urlDataManager)
void setVisible(bool toggle)
virtual void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const
static void MakeJsonRect(SkJSONWriter &, const SkRect &rect)
virtual bool render(SkCanvas *canvas) const
static void flatten(const SkFlattenable *flattenable, SkJSONWriter &writer, UrlDataManager &urlDataManager)
static void MakeJsonSampling(SkJSONWriter &, const SkSamplingOptions &sampling)
static const char * GetCommandString(OpType type)
static void MakeJsonMatrix(SkJSONWriter &, const SkMatrix &)
virtual void execute(SkCanvas *) const =0
static void MakeJsonIRect(SkJSONWriter &, const SkIRect &)
static void MakeJsonRegion(SkJSONWriter &, const SkRegion ®ion)
static void MakeJsonLattice(SkJSONWriter &, const SkCanvas::Lattice &lattice)
static void MakeJsonColor4f(SkJSONWriter &, const SkColor4f &color)
static void MakeJsonPath(SkJSONWriter &, const SkPath &path)
static void WritePNG(const SkBitmap &bitmap, SkWStream &out)
DrawDRRectCommand(const SkRRect &outer, const SkRRect &inner, const SkPaint &paint)
void execute(SkCanvas *canvas) const override
bool render(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
DrawDrawableCommand(SkDrawable *, const SkMatrix *)
void execute(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
DrawEdgeAAImageSetCommand(const SkCanvas::ImageSetEntry[], int count, const SkPoint[], const SkMatrix[], const SkSamplingOptions &, const SkPaint *, SkCanvas::SrcRectConstraint)
DrawEdgeAAQuadCommand(const SkRect &rect, const SkPoint clip[4], SkCanvas::QuadAAFlags aa, const SkColor4f &color, SkBlendMode mode)
void execute(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
bool render(SkCanvas *canvas) const override
uint64_t imageId(UrlDataManager &udb) const
DrawImageCommand(const SkImage *image, SkScalar left, SkScalar top, const SkSamplingOptions &, const SkPaint *paint)
uint64_t imageId(UrlDataManager &udb) const
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
DrawImageLatticeCommand(const SkImage *image, const SkCanvas::Lattice &lattice, const SkRect &dst, SkFilterMode, const SkPaint *paint)
bool render(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
bool render(SkCanvas *canvas) const override
DrawImageRectCommand(const SkImage *image, const SkRect &src, const SkRect &dst, const SkSamplingOptions &sampling, const SkPaint *paint, SkCanvas::SrcRectConstraint constraint)
uint64_t imageId(UrlDataManager &udm) const
void execute(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
bool render(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
DrawImageRectLayerCommand(DebugLayerManager *layerManager, const int nodeId, const int frame, const SkRect &src, const SkRect &dst, const SkSamplingOptions &sampling, const SkPaint *paint, SkCanvas::SrcRectConstraint constraint)
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
void execute(SkCanvas *canvas) const override
DrawOvalCommand(const SkRect &oval, const SkPaint &paint)
bool render(SkCanvas *canvas) const override
DrawPaintCommand(const SkPaint &paint)
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
bool render(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
DrawPatchCommand(const SkPoint cubics[12], const SkColor colors[4], const SkPoint texCoords[4], SkBlendMode bmode, const SkPaint &paint)
void execute(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
bool render(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
DrawPathCommand(const SkPath &path, const SkPaint &paint)
bool render(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
void execute(SkCanvas *canvas) const override
DrawPointsCommand(SkCanvas::PointMode mode, size_t count, const SkPoint pts[], const SkPaint &paint)
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
bool render(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
DrawRRectCommand(const SkRRect &rrect, const SkPaint &paint)
void execute(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
DrawRectCommand(const SkRect &rect, const SkPaint &paint)
bool render(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
DrawRegionCommand(const SkRegion ®ion, const SkPaint &paint)
bool render(SkCanvas *canvas) const override
DrawShadowCommand(const SkPath &path, const SkDrawShadowRec &rec)
void execute(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
void execute(SkCanvas *canvas) const override
DrawTextBlobCommand(sk_sp< SkTextBlob > blob, SkScalar x, SkScalar y, const SkPaint &paint)
bool render(SkCanvas *canvas) const override
DrawVerticesCommand(sk_sp< SkVertices >, SkBlendMode, const SkPaint &)
void execute(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
EndDrawPictureCommand(bool restore)
void execute(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
void execute(SkCanvas *canvas) const override
SaveLayerCommand(const SkCanvas::SaveLayerRec &)
void execute(SkCanvas *canvas) const override
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
void execute(SkCanvas *canvas) const override
SetM44Command(const SkM44 &matrix)
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
SetMatrixCommand(const SkMatrix &matrix)
void toJSON(SkJSONWriter &writer, UrlDataManager &urlDataManager) const override
void execute(SkCanvas *canvas) const override
unsigned useCenter Optional< SkMatrix > matrix
sk_sp< const SkImage > image
ClipOpAndAA opAA SkRegion region
sk_sp< const SkPicture > picture
sk_sp< SkBlender > blender SkRect rect
PODArray< SkColor > colors
SkSamplingOptions sampling
DEF_SWITCHES_START aot vmservice shared library Name of the *so containing AOT compiled Dart assets for launching the service isolate vm snapshot The VM snapshot data that will be memory mapped as read only SnapshotAssetPath must be present isolate snapshot The isolate snapshot data that will be memory mapped as read only SnapshotAssetPath must be present cache dir path
it will be possible to load the file into Perfetto s trace viewer disable asset Prevents usage of any non test fonts unless they were explicitly Loaded via prefetched default font Indicates whether the embedding started a prefetch of the default font manager before creating the engine run In non interactive mode