18#if defined(SK_GRAPHITE)
40 ctxOptions->fMaxTextureAtlasSize = fMaxAtlasSize;
43#if defined(SK_GRAPHITE)
46 options->fOptionsPriv->fMaxTextureAtlasSize = fMaxAtlasSize;
50 void onDraw(
SkCanvas* canvas)
override {
61 .
cubicTo(-50, -20, 50, -20, 50, 40)
62 .
cubicTo(20, 0, -20, 0, -50, 20);
64 for (
int i = 0;
i < 4; ++
i) {
75 path.setIsVolatile(
true);
82 const int fMaxAtlasSize;
static GrDirectContext * GrAsDirectContext(GrContext_Base *base)
static SkPath clip(const SkPath &path, const SkHalfPlane &plane)
SK_API SkString SkStringPrintf(const char *format,...) SK_PRINTF_LIKE(1
Creates a new string and writes into it using a printf()-style format.
virtual GrRecordingContext * recordingContext() const
void clear(SkColor color)
void clipPath(const SkPath &path, SkClipOp op, bool doAntiAlias)
void drawPath(const SkPath &path, const SkPaint &paint)
static SkMatrix RotateDeg(SkScalar deg)
static SkMatrix Translate(SkScalar dx, SkScalar dy)
void setAntiAlias(bool aa)
void setColor4f(const SkColor4f &color, SkColorSpace *colorSpace=nullptr)
SkPath & moveTo(SkScalar x, SkScalar y)
SkPath & lineTo(SkScalar x, SkScalar y)
SkPath & setIsVolatile(bool isVolatile)
SkPath & cubicTo(SkScalar x1, SkScalar y1, SkScalar x2, SkScalar y2, SkScalar x3, SkScalar y3)
void transform(const SkMatrix &matrix, SkPath *dst, SkApplyPerspectiveClip pc=SkApplyPerspectiveClip::kYes) const
virtual void modifyGraphiteContextOptions(skgpu::graphite::ContextOptions *) const
ManyPathAtlasesGM(int maxAtlasSize)
constexpr SkColor4f kYellow
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
DEF_GM(return F(C(clipbox), 0.0f, 0.0f, {})) DEF_GM(return F(C(clipbox)
static constexpr SkISize Make(int32_t w, int32_t h)