51 fTestOffsetX = fTestWidth + kPad;
52 fTestOffsetY = fTestHeight +
kPad;
56 fWidth = 2 * fTestOffsetX +
kPad;
57 fHeight = fTestOffsetY +
kPad;
63 name.printf(
"big_rrect_%s_aa_effect", fName);
72 *errorMsg = kErrorMsg_DrawSkippedGpuOnly;
83 for (
size_t et = 0; et <
std::size(kEdgeTypes); ++et) {
113 x =
x + fTestOffsetX;
121 inline static constexpr int kPad = 7;
123 inline static constexpr int kGap = 3;
133 using INHERITED =
GM;
constexpr SkColor SK_ColorBLUE
constexpr SkColor SK_ColorWHITE
#define SkScalarCeilToInt(x)
const GrCaps * caps() const
const GrShaderCaps * shaderCaps() const
void setXPFactory(const GrXPFactory *xpFactory)
void setColor4f(const SkPMColor4f &color)
void setCoverageFragmentProcessor(std::unique_ptr< GrFragmentProcessor > fp)
static const GrXPFactory * Get(SkBlendMode blendMode)
GrRecordingContextPriv priv()
void drawRect(const SkRect &rect, const SkPaint &paint)
void translate(SkScalar dx, SkScalar dy)
static const SkMatrix & I()
static SkRRect MakeOval(const SkRect &oval)
static SkRRect MakeRect(const SkRect &r)
void offset(SkScalar dx, SkScalar dy)
static SkRRect MakeRectXY(const SkRect &rect, SkScalar xRad, SkScalar yRad)
static GrOp::Owner MakeNonAARect(GrRecordingContext *, GrPaint &&, const SkMatrix &view, const SkRect &, const GrUserStencilSettings *=nullptr)
SkString getName() const override
SkISize getISize() override
DrawResult onDraw(GrRecordingContext *rContext, SkCanvas *canvas, SkString *errorMsg) override
BigRRectAAEffectGM(const SkRRect &rrect, const char *name)
GrFPResult Make(std::unique_ptr< GrFragmentProcessor >, GrClipEdgeType, const SkRRect &, const GrShaderCaps &)
Optional< SkRect > bounds
DEF_SWITCHES_START aot vmservice shared library name
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 keep the shell running after the Dart script has completed enable serial On low power devices with low core running concurrent GC tasks on threads can cause them to contend with the UI thread which could potentially lead to jank This option turns off all concurrent GC activities domain network JSON encoded network policy per domain This overrides the DisallowInsecureConnections switch Embedder can specify whether to allow or disallow insecure connections at a domain level old gen heap size
SurfaceDrawContext * TopDeviceSurfaceDrawContext(const SkCanvas *canvas)
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)
static SkRect MakeIWH(int w, int h)