Flutter Engine
The Flutter Engine
Public Types | Public Member Functions | Static Public Attributes | Protected Member Functions | List of all members
skiagm::GM Class Referenceabstract

#include <gm.h>

Inheritance diagram for skiagm::GM:
GradientsGM AAXfermodesGM AddArcGM AlphaGradientsGM AnalyticGradientShaderGM AnimatedImageBlurs AnimatedImageGM AnimatedTiledImageBlur ArithmodeBlenderGM ArithmodeGM BadAppleGM BadPaintGM BeziersGM BigTextGM BitmapRectRounding BlurCircles2GM BlurCirclesGM BlurIgnoreXformGM BlurQuickRejectGM BlurRectGM BmpFilterQualityRepeat CTMPathEffectGM CircularClipsGM ClipCubicGM ClipErrorGM ClipStrokeRectGM ClippedCubic2GM ClippedCubicGM ColorFilterAlpha8 ColorFiltersGM ColorMatrixGM ComposeColorFilterGM ComposeShaderAlphaGM ComposeShaderBitmapGM ComposeShaderGM CompositorGM CompressedTexturesGM ConicPathsGM CrBug224618GM CubicClosePathGM CubicPathGM CubicPathShaderGM DFTextBlobPerspGM DFTextGM DRRectGM DashCircle2GM DashCircleGM Dashing2GM Dashing3GM Dashing4GM Dashing5GM DashingGM DegenerateGradientGM DrawAtlasColorsGM DrawAtlasGM DrawBitmapRect2 DrawBitmapRect3 DrawBitmapRect4 DrawBitmapRectGM DrawGlyphsGM DrawMiniBitmapRectGM DrawRegionGM DrawRegionModesGM EmbossGM FillCircleGM FillrectGradientGM FilterBugGM FilterGM FlippityGM FontCacheGM FontMgrBoundsGM FontMgrGM FontMgrMatchGM FontRegenGM GammaShaderTextGM GammaTextGM GiantBitmapGM GradientsGM GradientsManyColorsGM GradientsNoTextureGM HSLColorFilterGM HardstopGradientShaderGM HardstopGradientsManyGM HelloBazelWorldGM HighContrastFilterGM ImageCacheratorGM ImageFilterComposedTransform ImageFilterMatrixWLocalMatrix ImageFiltersBaseGM ImageFiltersCroppedGM ImageFiltersGraphGM ImageFiltersTextBaseGM ImageGM ImageMagnifierBounds ImageMakeWithFilterGM ImagePictGM ImageShaderGM ImageSourceGM KawaseBlurRT LatticeGM LatticeGM2 LcdTextGM LcdTextSizeGM LumaFilterGM NewSurfaceGM NinePatchStretchGM OffsetImageFilterGM OverdrawColorFilter PNGCodecGM ParagraphGM PathFillGM PathInteriorGM PathInverseFillGM PathMaskCache PerspTextGM PictureCullRectGM PictureGM PictureGeneratorGM PictureImageFilterGM PictureShaderCacheGM PictureShaderGM PictureShaderTileGM Poly2PolyGM PosterCircleGM RRectGM RSXShaderGM ReadPixelsCodecGM ReadPixelsGM ReadPixelsPictureGM RippleShaderGM RuntimeColorFilterGM RuntimeFunctions RuntimeShaderGM SaveLayerPreserveLCDTextGM SaveLayerWithBackdropGM ScalePixelsGM ScaledStrokesGM ScaledTiling2GM ScaledTilingGM ShallowGradientGM ShowMipLevels3 SimpleBlurRoundRectGM SimpleOffsetImageFilterGM SimpleRectGM SkottieColorizeGM SkottieExternalPropsGM SkottieMultiFrameGM SkottieWebFontGM SmallPathsGM SpriteBitmapGM SrcModeGM SrcRectConstraintGM StringArtGM StrokeCircleGM StrokeRectAnisotropicGM StrokeRectGM Strokes2GM Strokes3GM Strokes4GM Strokes5GM StrokesGM SurfacePropsGM TableColorFilterGM TallStretchedBitmapsGM TeenyStrokesGM TestExtractAlphaGM TestGradientGM TextBlobGM TextBlobShaderGM Tiling2GM TilingGM TrimGM TypefaceStylesGM UserFontGM VariedTextGM VerticesGM VeryLargeBitmapGM VideoDecoderGM XfermodesGM YUVSplitterGM ZeroLenStrokesGM skiagm::AndroidBlendModesGM skiagm::AnisoMipsGM skiagm::AnisotropicGM skiagm::ArcOfZorroGM skiagm::BC1TransparencyGM skiagm::BatchedConvexPathsGM skiagm::BigBlursGM skiagm::BigTileImageFilterGM skiagm::BitmapImageGM skiagm::BitmapPremulGM skiagm::BitmapShaderGM skiagm::BlurRectCompareGM skiagm::BlurredClippedCircleGM skiagm::ColorCubeGM skiagm::ColorEmojiGM skiagm::ColrV1GM skiagm::ComplexClip2GM skiagm::ComplexClip3GM skiagm::ComplexClip4GM skiagm::ComplexClipBlurTiledGM skiagm::ComplexClipGM skiagm::ConicalGradientsGM skiagm::ContourStartGM skiagm::ConvexLineOnlyPathsGM skiagm::ConvexPolyClip skiagm::CropImageFilterGM skiagm::CroppedRectsGM skiagm::DegenerateSegmentsGM skiagm::DiscardGM skiagm::DisplacementMapGM skiagm::DistantClipGM skiagm::DrawImageSetAlphaOnlyGM skiagm::DrawImageSetGM skiagm::DrawImageSetRectToRectGM skiagm::DrawQuadSetGM skiagm::DstReadShuffle skiagm::EmptyPathGM skiagm::EmptyShaderGM skiagm::EmptyStrokeGM skiagm::EncodeColorTypesGM skiagm::EncodeGM skiagm::EncodeJpegAlphaOptsGM skiagm::EncodePlatformGM skiagm::EncodeSRGBGM skiagm::ExoticFormatsGM skiagm::FillTypeGM skiagm::FillTypePerspGM skiagm::FontPaletteGM skiagm::FontScalerDistortableGM skiagm::FontScalerGM skiagm::FontationsFtCompareGM skiagm::FontationsTypefaceGM skiagm::GraphiteReplayGM skiagm::GraphiteStartGM skiagm::HairModesGM skiagm::HairlinesGM skiagm::ImageBlurClampModeGM skiagm::ImageBlurRepeatModeGM skiagm::ImageBlurTiledGM skiagm::ImageFilterFastBoundGM skiagm::ImageFiltersClippedGM skiagm::ImageFiltersScaledGM skiagm::ImageFiltersStrokedGM skiagm::ImageFiltersTransformedGM skiagm::ImageFromYUV skiagm::ImageLightingGM skiagm::ImageSourceGM skiagm::LcdBlendGM skiagm::LcdOverlapGM skiagm::LocalMatrixOrder skiagm::ManyCirclesGM skiagm::ManyPathAtlasesGM skiagm::ManyRRectsGM skiagm::MatrixConvolutionGM skiagm::MeshColorSpaceGM skiagm::MeshGM skiagm::MeshUniformsGM skiagm::MeshUpdateGM skiagm::MeshWithShadersGM skiagm::MeshZeroInitGM skiagm::MixedTextBlobsGM skiagm::ModeColorFilterGM skiagm::MorphologyGM skiagm::NestedGM skiagm::NonClosedPathsGM skiagm::OvalGM skiagm::PathEffectGM skiagm::PathOpsInverseGM skiagm::PerspImages skiagm::PerspShadersGM skiagm::PictureMesh skiagm::PointsGM skiagm::PolygonOffsetGM skiagm::PolygonsGM skiagm::PreserveFillRuleGM skiagm::QuadClosePathGM skiagm::QuadPathGM skiagm::RRectGM skiagm::ResizeGM skiagm::RoundRectGM skiagm::SamplerStressGM skiagm::ScaledEmojiGM skiagm::ScaledEmojiPerspectiveGM skiagm::ScaledEmojiPosGM skiagm::ScaledEmojiRenderingGM skiagm::ScaledRectsGM skiagm::ShaderPathGM skiagm::ShaderText3GM skiagm::ShapesGM skiagm::SharedCornersGM skiagm::SimpleClipGM skiagm::SimpleGM skiagm::SliverPathsGM skiagm::StLouisArchGM skiagm::StrokeRectsGM skiagm::StrokedLinesGM skiagm::TextBlobBlockReordering skiagm::TextBlobColorTrans skiagm::TextBlobGeometryChange skiagm::TextBlobMixedSizes skiagm::TextBlobRandomFont skiagm::TextBlobTransforms skiagm::TextBlobUseAfterGpuFree skiagm::ThinRectsGM skiagm::ThinStrokedRectsGM skiagm::TileImageFilterGM skiagm::TiledScaledBitmapGM skiagm::WackyYUVFormatsGM skiagm::WindowRectanglesGM skiagm::XfermodeImageFilterGM skiagm::Xfermodes2GM skiagm::Xfermodes3GM skiagm::YUVMakeColorSpaceGM skiagm::YUVtoRGBSubsetEffect

Public Types

enum  Mode { kGM_Mode , kSample_Mode , kBench_Mode }
 
using DrawResult = skiagm::DrawResult
 
using GraphiteTestContext = skiatest::graphite::GraphiteTestContext
 

Public Member Functions

 GM (SkColor backgroundColor=SK_ColorWHITE)
 
virtual ~GM ()
 
void setMode (Mode mode)
 
Mode getMode () const
 
DrawResult gpuSetup (SkCanvas *, SkString *errorMsg, GraphiteTestContext *=nullptr)
 
void gpuTeardown ()
 
void onceBeforeDraw ()
 
DrawResult draw (SkCanvas *canvas)
 
DrawResult draw (SkCanvas *, SkString *errorMsg)
 
void drawBackground (SkCanvas *)
 
DrawResult drawContent (SkCanvas *canvas)
 
DrawResult drawContent (SkCanvas *, SkString *errorMsg)
 
virtual SkISize getISize ()=0
 
virtual SkString getName () const =0
 
virtual bool runAsBench () const
 
SkScalar width ()
 
SkScalar height ()
 
SkColor getBGColor () const
 
void setBGColor (SkColor)
 
void drawSizeBounds (SkCanvas *, SkColor)
 
bool animate (double)
 
virtual bool onChar (SkUnichar)
 
bool getControls (SkMetaData *controls)
 
void setControls (const SkMetaData &controls)
 
virtual void modifyGrContextOptions (GrContextOptions *)
 
virtual void modifyGraphiteContextOptions (skgpu::graphite::ContextOptions *) const
 
virtual bool isBazelOnly () const
 
virtual std::map< std::string, std::string > getGoldKeys () const
 

Static Public Attributes

static constexpr char kErrorMsg_DrawSkippedGpuOnly []
 

Protected Member Functions

virtual DrawResult onGpuSetup (SkCanvas *, SkString *, GraphiteTestContext *)
 
virtual void onGpuTeardown ()
 
virtual void onOnceBeforeDraw ()
 
virtual DrawResult onDraw (SkCanvas *, SkString *errorMsg)
 
virtual void onDraw (SkCanvas *)
 
virtual bool onAnimate (double)
 
virtual bool onGetControls (SkMetaData *)
 
virtual void onSetControls (const SkMetaData &)
 
GraphiteTestContextgraphiteTestContext () const
 

Detailed Description

Definition at line 110 of file gm.h.

Member Typedef Documentation

◆ DrawResult

Definition at line 112 of file gm.h.

◆ GraphiteTestContext

Definition at line 113 of file gm.h.

Member Enumeration Documentation

◆ Mode

Enumerator
kGM_Mode 
kSample_Mode 
kBench_Mode 

Definition at line 118 of file gm.h.

118 {
119 kGM_Mode,
122 };
@ kBench_Mode
Definition: gm.h:121
@ kGM_Mode
Definition: gm.h:119
@ kSample_Mode
Definition: gm.h:120

Constructor & Destructor Documentation

◆ GM()

GM::GM ( SkColor  backgroundColor = SK_ColorWHITE)

Definition at line 81 of file gm.cpp.

81 {
82 fMode = kGM_Mode;
83 fBGColor = bgColor;
84}
static const SkColor bgColor
Definition: BlurTest.cpp:59

◆ ~GM()

GM::~GM ( )
virtual

Definition at line 86 of file gm.cpp.

86{}

Member Function Documentation

◆ animate()

bool GM::animate ( double  nanos)

Definition at line 163 of file gm.cpp.

163{ return this->onAnimate(nanos); }
virtual bool onAnimate(double)
Definition: gm.cpp:169

◆ draw() [1/2]

DrawResult GM::draw ( SkCanvas canvas,
SkString errorMsg 
)

Definition at line 116 of file gm.cpp.

116 {
117 TRACE_EVENT1("GM", TRACE_FUNC, "name", TRACE_STR_COPY(this->getName().c_str()));
118 this->drawBackground(canvas);
119 return this->drawContent(canvas, errorMsg);
120}
#define TRACE_STR_COPY(str)
Definition: SkTraceEvent.h:63
#define TRACE_FUNC
Definition: SkTraceEvent.h:30
DrawResult drawContent(SkCanvas *canvas)
Definition: gm.h:147
virtual SkString getName() const =0
void drawBackground(SkCanvas *)
Definition: gm.cpp:133
#define TRACE_EVENT1(category_group, name, arg1_name, arg1_val)
Definition: trace_event.h:141

◆ draw() [2/2]

DrawResult skiagm::GM::draw ( SkCanvas canvas)
inline

Definition at line 140 of file gm.h.

140 {
141 SkString errorMsg;
142 return this->draw(canvas, &errorMsg);
143 }
DrawResult draw(SkCanvas *canvas)
Definition: gm.h:140

◆ drawBackground()

void GM::drawBackground ( SkCanvas canvas)

Definition at line 133 of file gm.cpp.

133 {
135 this->onceBeforeDraw();
136 canvas->drawColor(fBGColor, SkBlendMode::kSrc);
137}
void drawColor(SkColor color, SkBlendMode mode=SkBlendMode::kSrcOver)
Definition: SkCanvas.h:1182
void onceBeforeDraw()
Definition: gm.h:133
#define TRACE_EVENT0(category_group, name)
Definition: trace_event.h:131

◆ drawContent() [1/2]

DrawResult GM::drawContent ( SkCanvas canvas,
SkString errorMsg 
)

Definition at line 122 of file gm.cpp.

122 {
124 this->onceBeforeDraw();
125 SkAutoCanvasRestore acr(canvas, true);
126 DrawResult drawResult = this->onDraw(canvas, errorMsg);
127 if (DrawResult::kOk != drawResult) {
128 handle_gm_failure(canvas, drawResult, *errorMsg);
129 }
130 return drawResult;
131}
virtual DrawResult onDraw(SkCanvas *, SkString *errorMsg)
Definition: gm.cpp:139
static void handle_gm_failure(SkCanvas *canvas, DrawResult result, const SkString &errorMsg)
Definition: gm.cpp:71
DrawResult
Definition: gm.h:104

◆ drawContent() [2/2]

DrawResult skiagm::GM::drawContent ( SkCanvas canvas)
inline

Definition at line 147 of file gm.h.

147 {
148 SkString errorMsg;
149 return this->drawContent(canvas, &errorMsg);
150 }

◆ drawSizeBounds()

void GM::drawSizeBounds ( SkCanvas canvas,
SkColor  color 
)

Definition at line 179 of file gm.cpp.

179 {
180 canvas->drawRect(SkRect::Make(this->getISize()), SkPaint(SkColor4f::FromColor(color)));
181}
void drawRect(const SkRect &rect, const SkPaint &paint)
Definition: SkCanvas.cpp:1673
virtual SkISize getISize()=0
DlColor color
static SkRect Make(const SkISize &size)
Definition: SkRect.h:669

◆ getBGColor()

SkColor skiagm::GM::getBGColor ( ) const
inline

Definition at line 166 of file gm.h.

166{ return fBGColor; }

◆ getControls()

bool skiagm::GM::getControls ( SkMetaData controls)
inline

Definition at line 175 of file gm.h.

175{ return this->onGetControls(controls); }
virtual bool onGetControls(SkMetaData *)
Definition: gm.cpp:173

◆ getGoldKeys()

virtual std::map< std::string, std::string > skiagm::GM::getGoldKeys ( ) const
inlinevirtual

Reimplemented in PNGCodecGM.

Definition at line 207 of file gm.h.

207 {
208 return std::map<std::string, std::string>{
209 {"name", getName().c_str()},
210 {"source_type", "gm"},
211 };
212 }
const char * c_str() const
Definition: SkString.h:133

◆ getISize()

virtual SkISize skiagm::GM::getISize ( )
pure virtual

Implemented in ClipCubicGM, AAXfermodesGM, AddArcGM, StrokeCircleGM, FillCircleGM, AlphaGradientsGM, AnalyticGradientShaderGM, skiagm::AndroidBlendModesGM, AnimatedImageGM, AnimatedImageBlurs, AnimatedTiledImageBlur, skiagm::AnisotropicGM, skiagm::AnisoMipsGM, skiagm::ArcOfZorroGM, BadPaintGM, skiagm::BC1TransparencyGM, BeziersGM, skiagm::BigBlursGM, BigTextGM, skiagm::BigTileImageFilterGM, FilterGM, TestExtractAlphaGM, skiagm::BitmapImageGM, skiagm::BitmapPremulGM, DrawBitmapRect2, DrawBitmapRect3, DrawBitmapRect4, BitmapRectRounding, skiagm::BitmapShaderGM, SrcRectConstraintGM, BlurCirclesGM, BlurCircles2GM, BlurIgnoreXformGM, BlurQuickRejectGM, skiagm::BlurRectCompareGM, skiagm::BlurredClippedCircleGM, BmpFilterQualityRepeat, CircularClipsGM, ClipErrorGM, ClipStrokeRectGM, skiagm::ColorEmojiGM, ColorFilterAlpha8, HSLColorFilterGM, ColorMatrixGM, skiagm::ColrV1GM, skiagm::ComplexClipGM, skiagm::ComplexClip2GM, skiagm::ComplexClip3GM, skiagm::ComplexClip4GM, skiagm::ComplexClipBlurTiledGM, ComposeShaderGM, ComposeShaderAlphaGM, ComposeShaderBitmapGM, CompositorGM, CompressedTexturesGM, ConicPathsGM, skiagm::ConvexLineOnlyPathsGM, skiagm::ConvexPolyClip, CrBug224618GM, skiagm::CropImageFilterGM, DashCircleGM, DashCircle2GM, TrimGM, DFTextGM, DFTextBlobPerspGM, skiagm::DiscardGM, skiagm::DisplacementMapGM, DrawAtlasGM, DrawAtlasColorsGM, DrawBitmapRectGM, DrawGlyphsGM, DrawMiniBitmapRectGM, DrawRegionGM, DrawRegionModesGM, DRRectGM, skiagm::DstReadShuffle, EmbossGM, skiagm::EmptyShaderGM, skiagm::EncodeGM, skiagm::EncodeJpegAlphaOptsGM, skiagm::EncodeColorTypesGM, skiagm::EncodePlatformGM, skiagm::EncodeSRGBGM, skiagm::ExoticFormatsGM, FillrectGradientGM, skiagm::FillTypeGM, skiagm::FillTypePerspGM, FilterBugGM, skiagm::ImageFilterFastBoundGM, skiagm::FontationsTypefaceGM, skiagm::FontationsFtCompareGM, FontCacheGM, skiagm::FontScalerGM, GammaTextGM, GammaShaderTextGM, GiantBitmapGM, skiagm::SimpleGM, GradientsGM, DegenerateGradientGM, GradientsNoTextureGM, GradientsManyColorsGM, skiagm::GraphiteReplayGM, skiagm::GraphiteStartGM, skiagm::HairlinesGM, skiagm::HairModesGM, HardstopGradientShaderGM, HardstopGradientsManyGM, HelloBazelWorldGM, HighContrastFilterGM, ImageGM, ScalePixelsGM, ImagePictGM, ImageCacheratorGM, ImageShaderGM, skiagm::ImageBlurClampModeGM, skiagm::ImageBlurRepeatModeGM, skiagm::ImageBlurTiledGM, SaveLayerWithBackdropGM, ImageFiltersBaseGM, ImageFiltersTextBaseGM, skiagm::ImageFiltersClippedGM, ImageFiltersCroppedGM, ImageFiltersGraphGM, skiagm::ImageFiltersScaledGM, skiagm::ImageFiltersStrokedGM, skiagm::ImageFiltersTransformedGM, ImageFilterMatrixWLocalMatrix, ImageFilterComposedTransform, skiagm::ImageFromYUV, ImageMagnifierBounds, ImageMakeWithFilterGM, ImageSourceGM, skiagm::ImageSourceGM, skiagm::ColorCubeGM, KawaseBlurRT, LatticeGM, LatticeGM2, skiagm::LcdBlendGM, skiagm::LcdOverlapGM, skiagm::ImageLightingGM, skiagm::LocalMatrixOrder, LumaFilterGM, skiagm::SliverPathsGM, skiagm::ManyCirclesGM, skiagm::ManyRRectsGM, skiagm::MatrixConvolutionGM, skiagm::MeshGM, skiagm::MeshColorSpaceGM, skiagm::MeshUniformsGM, skiagm::MeshUpdateGM, skiagm::MeshZeroInitGM, skiagm::PictureMesh, skiagm::MeshWithShadersGM, skiagm::MixedTextBlobsGM, skiagm::ModeColorFilterGM, skiagm::MorphologyGM, skiagm::NestedGM, NinePatchStretchGM, skiagm::NonClosedPathsGM, OffsetImageFilterGM, SimpleOffsetImageFilterGM, skiagm::OvalGM, OverdrawColorFilter, skiagm::FontPaletteGM, skiagm::ContourStartGM, skiagm::PathEffectGM, CTMPathEffectGM, PathFillGM, PathInverseFillGM, PathInteriorGM, PathMaskCache, skiagm::PathOpsInverseGM, skiagm::PerspImages, skiagm::PerspShadersGM, PerspTextGM, PictureGM, PictureCullRectGM, PictureImageFilterGM, PictureGeneratorGM, PictureShaderGM, PictureShaderCacheGM, PictureShaderTileGM, PNGCodecGM, skiagm::PointsGM, Poly2PolyGM, skiagm::PolygonOffsetGM, skiagm::PolygonsGM, PosterCircleGM, skiagm::QuadPathGM, skiagm::QuadClosePathGM, ReadPixelsGM, ReadPixelsCodecGM, ReadPixelsPictureGM, skiagm::ResizeGM, RippleShaderGM, skiagm::RoundRectGM, RRectGM, skiagm::RRectGM, RuntimeColorFilterGM, RuntimeShaderGM, skiagm::SamplerStressGM, skiagm::ScaledEmojiGM, skiagm::ScaledEmojiPosGM, skiagm::ScaledEmojiPerspectiveGM, skiagm::ScaledEmojiRenderingGM, skiagm::ScaledRectsGM, ScaledStrokesGM, skiagm::ShaderPathGM, skiagm::ShaderText3GM, skiagm::ShapesGM, skiagm::SharedCornersGM, skiagm::SimpleClipGM, SimpleRectGM, SmallPathsGM, SpriteBitmapGM, skiagm::StLouisArchGM, StringArtGM, skiagm::StrokedLinesGM, StrokeRectGM, StrokeRectAnisotropicGM, skiagm::StrokeRectsGM, StrokesGM, ZeroLenStrokesGM, Strokes2GM, Strokes3GM, Strokes4GM, Strokes5GM, SurfacePropsGM, NewSurfaceGM, TableColorFilterGM, TallStretchedBitmapsGM, TestGradientGM, TextBlobGM, skiagm::TextBlobBlockReordering, skiagm::TextBlobColorTrans, skiagm::TextBlobGeometryChange, skiagm::TextBlobMixedSizes, skiagm::TextBlobRandomFont, skiagm::TextBlobTransforms, skiagm::TextBlobUseAfterGpuFree, skiagm::ThinRectsGM, skiagm::ThinStrokedRectsGM, skiagm::TiledScaledBitmapGM, skiagm::TileImageFilterGM, TilingGM, ScaledTilingGM, TypefaceStylesGM, UserFontGM, VariedTextGM, VerticesGM, VideoDecoderGM, skiagm::WackyYUVFormatsGM, skiagm::YUVMakeColorSpaceGM, YUVSplitterGM, skiagm::XfermodeImageFilterGM, XfermodesGM, skiagm::Xfermodes2GM, skiagm::Xfermodes3GM, skiagm::YUVtoRGBSubsetEffect, SkottieExternalPropsGM, SkottieWebFontGM, SkottieColorizeGM, SkottieMultiFrameGM, and ParagraphGM.

◆ getMode()

Mode skiagm::GM::getMode ( ) const
inline

Definition at line 125 of file gm.h.

125{ return fMode; }

◆ getName()

virtual SkString skiagm::GM::getName ( ) const
pure virtual

Implemented in ClipCubicGM, AAXfermodesGM, AddArcGM, StrokeCircleGM, FillCircleGM, AlphaGradientsGM, AnalyticGradientShaderGM, skiagm::AndroidBlendModesGM, AnimatedImageGM, AnimatedImageBlurs, AnimatedTiledImageBlur, skiagm::AnisotropicGM, skiagm::AnisoMipsGM, skiagm::ArcOfZorroGM, BadPaintGM, skiagm::BC1TransparencyGM, BeziersGM, skiagm::BigBlursGM, BigTextGM, skiagm::BigTileImageFilterGM, FilterGM, TestExtractAlphaGM, skiagm::BitmapImageGM, skiagm::BitmapPremulGM, DrawBitmapRect2, DrawBitmapRect3, DrawBitmapRect4, BitmapRectRounding, skiagm::BitmapShaderGM, SrcRectConstraintGM, BlurCirclesGM, BlurCircles2GM, BlurIgnoreXformGM, BlurQuickRejectGM, skiagm::BlurRectCompareGM, skiagm::BlurredClippedCircleGM, BmpFilterQualityRepeat, CircularClipsGM, ClipErrorGM, ClipStrokeRectGM, skiagm::ColorEmojiGM, ColorFilterAlpha8, HSLColorFilterGM, ColorMatrixGM, skiagm::ColrV1GM, skiagm::ComplexClipGM, skiagm::ComplexClip2GM, skiagm::ComplexClip3GM, skiagm::ComplexClip4GM, skiagm::ComplexClipBlurTiledGM, ComposeShaderGM, ComposeShaderAlphaGM, ComposeShaderBitmapGM, CompositorGM, CompressedTexturesGM, ConicPathsGM, skiagm::ConvexLineOnlyPathsGM, skiagm::ConvexPolyClip, CrBug224618GM, skiagm::CropImageFilterGM, DashCircleGM, DashCircle2GM, TrimGM, DFTextGM, DFTextBlobPerspGM, skiagm::DiscardGM, skiagm::DisplacementMapGM, DrawAtlasGM, DrawAtlasColorsGM, DrawBitmapRectGM, DrawGlyphsGM, DrawMiniBitmapRectGM, DrawRegionGM, DrawRegionModesGM, DRRectGM, skiagm::DstReadShuffle, EmbossGM, skiagm::EmptyShaderGM, skiagm::EncodeGM, skiagm::EncodeJpegAlphaOptsGM, skiagm::EncodeColorTypesGM, skiagm::EncodePlatformGM, skiagm::EncodeSRGBGM, skiagm::ExoticFormatsGM, FillrectGradientGM, skiagm::FillTypeGM, skiagm::FillTypePerspGM, FilterBugGM, skiagm::ImageFilterFastBoundGM, skiagm::FontationsTypefaceGM, skiagm::FontationsFtCompareGM, FontCacheGM, skiagm::FontScalerGM, GammaTextGM, GammaShaderTextGM, GiantBitmapGM, skiagm::SimpleGM, GradientsGM, DegenerateGradientGM, GradientsNoTextureGM, GradientsManyColorsGM, skiagm::GraphiteReplayGM, skiagm::GraphiteStartGM, skiagm::HairlinesGM, skiagm::HairModesGM, HardstopGradientShaderGM, HardstopGradientsManyGM, HelloBazelWorldGM, HighContrastFilterGM, ImageGM, ScalePixelsGM, ImagePictGM, ImageCacheratorGM, ImageShaderGM, skiagm::ImageBlurClampModeGM, skiagm::ImageBlurRepeatModeGM, skiagm::ImageBlurTiledGM, SaveLayerWithBackdropGM, ImageFiltersBaseGM, ImageFiltersTextBaseGM, skiagm::ImageFiltersClippedGM, ImageFiltersCroppedGM, ImageFiltersGraphGM, skiagm::ImageFiltersScaledGM, skiagm::ImageFiltersStrokedGM, skiagm::ImageFiltersTransformedGM, ImageFilterMatrixWLocalMatrix, ImageFilterComposedTransform, skiagm::ImageFromYUV, ImageMagnifierBounds, ImageMakeWithFilterGM, ImageSourceGM, skiagm::ImageSourceGM, skiagm::ColorCubeGM, KawaseBlurRT, LatticeGM, LatticeGM2, skiagm::LcdBlendGM, skiagm::LcdOverlapGM, skiagm::ImageLightingGM, skiagm::LocalMatrixOrder, LumaFilterGM, skiagm::SliverPathsGM, skiagm::ManyCirclesGM, skiagm::ManyRRectsGM, skiagm::MatrixConvolutionGM, skiagm::MeshGM, skiagm::MeshColorSpaceGM, skiagm::MeshUniformsGM, skiagm::MeshUpdateGM, skiagm::MeshZeroInitGM, skiagm::PictureMesh, skiagm::MeshWithShadersGM, skiagm::MixedTextBlobsGM, skiagm::ModeColorFilterGM, skiagm::MorphologyGM, skiagm::NestedGM, NinePatchStretchGM, skiagm::NonClosedPathsGM, OffsetImageFilterGM, SimpleOffsetImageFilterGM, skiagm::OvalGM, OverdrawColorFilter, skiagm::FontPaletteGM, skiagm::ContourStartGM, skiagm::PathEffectGM, CTMPathEffectGM, PathFillGM, PathInverseFillGM, PathInteriorGM, PathMaskCache, skiagm::PathOpsInverseGM, skiagm::PerspImages, skiagm::PerspShadersGM, PerspTextGM, PictureGM, PictureCullRectGM, PictureImageFilterGM, PictureGeneratorGM, PictureShaderGM, PictureShaderCacheGM, PictureShaderTileGM, PNGCodecGM, skiagm::PointsGM, Poly2PolyGM, skiagm::PolygonOffsetGM, skiagm::PolygonsGM, PosterCircleGM, skiagm::QuadPathGM, skiagm::QuadClosePathGM, ReadPixelsGM, ReadPixelsCodecGM, ReadPixelsPictureGM, skiagm::ResizeGM, RippleShaderGM, skiagm::RoundRectGM, RRectGM, skiagm::RRectGM, RuntimeColorFilterGM, RuntimeShaderGM, skiagm::SamplerStressGM, skiagm::ScaledEmojiGM, skiagm::ScaledEmojiPosGM, skiagm::ScaledEmojiPerspectiveGM, skiagm::ScaledEmojiRenderingGM, skiagm::ScaledRectsGM, ScaledStrokesGM, skiagm::ShaderPathGM, skiagm::ShaderText3GM, skiagm::ShapesGM, skiagm::SharedCornersGM, skiagm::SimpleClipGM, SimpleRectGM, SmallPathsGM, SpriteBitmapGM, skiagm::StLouisArchGM, StringArtGM, skiagm::StrokedLinesGM, StrokeRectGM, StrokeRectAnisotropicGM, skiagm::StrokeRectsGM, StrokesGM, ZeroLenStrokesGM, Strokes2GM, Strokes3GM, Strokes4GM, Strokes5GM, SurfacePropsGM, NewSurfaceGM, TableColorFilterGM, TallStretchedBitmapsGM, TestGradientGM, TextBlobGM, skiagm::TextBlobBlockReordering, skiagm::TextBlobColorTrans, skiagm::TextBlobGeometryChange, skiagm::TextBlobMixedSizes, skiagm::TextBlobRandomFont, skiagm::TextBlobTransforms, skiagm::TextBlobUseAfterGpuFree, skiagm::ThinRectsGM, skiagm::ThinStrokedRectsGM, skiagm::TiledScaledBitmapGM, skiagm::TileImageFilterGM, TilingGM, ScaledTilingGM, TypefaceStylesGM, UserFontGM, VariedTextGM, VerticesGM, VideoDecoderGM, skiagm::WackyYUVFormatsGM, skiagm::YUVMakeColorSpaceGM, YUVSplitterGM, skiagm::XfermodeImageFilterGM, XfermodesGM, skiagm::Xfermodes2GM, skiagm::Xfermodes3GM, skiagm::YUVtoRGBSubsetEffect, SkottieExternalPropsGM, SkottieWebFontGM, SkottieColorizeGM, SkottieMultiFrameGM, and ParagraphGM.

◆ gpuSetup()

DrawResult GM::gpuSetup ( SkCanvas canvas,
SkString errorMsg,
GraphiteTestContext graphiteTestContext = nullptr 
)

Definition at line 88 of file gm.cpp.

90 {
91 TRACE_EVENT1("GM", TRACE_FUNC, "name", TRACE_STR_COPY(this->getName().c_str()));
92 if (!fGpuSetup) {
93 // When drawn in viewer, gpuSetup will be called multiple times with the same
94 // GrContext or graphite::Context.
95 fGpuSetup = true;
96 fGpuSetupResult = this->onGpuSetup(canvas, errorMsg, graphiteTestContext);
97 }
98 if (fGpuSetupResult == DrawResult::kOk) {
99 fGraphiteTestContext = graphiteTestContext;
100 } else {
101 handle_gm_failure(canvas, fGpuSetupResult, *errorMsg);
102 }
103
104 return fGpuSetupResult;
105}
GraphiteTestContext * graphiteTestContext() const
Definition: gm.h:228
virtual DrawResult onGpuSetup(SkCanvas *, SkString *, GraphiteTestContext *)
Definition: gm.h:216

◆ gpuTeardown()

void GM::gpuTeardown ( )

Definition at line 107 of file gm.cpp.

107 {
108 this->onGpuTeardown();
109
110 // After 'gpuTeardown' a GM can be reused with a different GrContext or graphite::Context. Reset
111 // the flag so 'onGpuSetup' will be called.
112 fGpuSetup = false;
113 fGraphiteTestContext = nullptr;
114}
virtual void onGpuTeardown()
Definition: gm.h:219

◆ graphiteTestContext()

GraphiteTestContext * skiagm::GM::graphiteTestContext ( ) const
inlineprotected

Definition at line 228 of file gm.h.

228{ return fGraphiteTestContext; }

◆ height()

SkScalar skiagm::GM::height ( )
inline

Definition at line 162 of file gm.h.

162 {
163 return SkIntToScalar(this->getISize().height());
164 }
#define SkIntToScalar(x)
Definition: SkScalar.h:57
SkScalar height()
Definition: gm.h:162

◆ isBazelOnly()

virtual bool skiagm::GM::isBazelOnly ( ) const
inlinevirtual

Reimplemented in HelloBazelWorldGM, and PNGCodecGM.

Definition at line 202 of file gm.h.

202{ return false; }

◆ modifyGraphiteContextOptions()

virtual void skiagm::GM::modifyGraphiteContextOptions ( skgpu::graphite::ContextOptions ) const
inlinevirtual

Definition at line 179 of file gm.h.

179{}

◆ modifyGrContextOptions()

virtual void skiagm::GM::modifyGrContextOptions ( GrContextOptions )
inlinevirtual

Reimplemented in skiagm::ColorEmojiGM, SrcRectConstraintGM, FontCacheGM, and PathMaskCache.

Definition at line 178 of file gm.h.

178{}

◆ onAnimate()

bool GM::onAnimate ( double  )
protectedvirtual

◆ onceBeforeDraw()

void skiagm::GM::onceBeforeDraw ( )
inline

Definition at line 133 of file gm.h.

133 {
134 if (!fHaveCalledOnceBeforeDraw) {
135 fHaveCalledOnceBeforeDraw = true;
136 this->onOnceBeforeDraw();
137 }
138 }
virtual void onOnceBeforeDraw()
Definition: gm.cpp:167

◆ onChar()

bool GM::onChar ( SkUnichar  uni)
virtual

Reimplemented in SkottieColorizeGM.

Definition at line 171 of file gm.cpp.

171{ return false; }

◆ onDraw() [1/2]

void GM::onDraw ( SkCanvas )
protectedvirtual

Reimplemented in ClipCubicGM, AAXfermodesGM, AddArcGM, StrokeCircleGM, FillCircleGM, AlphaGradientsGM, AnalyticGradientShaderGM, skiagm::AndroidBlendModesGM, AnimatedImageGM, AnimatedImageBlurs, AnimatedTiledImageBlur, skiagm::AnisotropicGM, skiagm::AnisoMipsGM, skiagm::ArcOfZorroGM, BadPaintGM, skiagm::BC1TransparencyGM, BeziersGM, skiagm::BigBlursGM, BigTextGM, skiagm::BigTileImageFilterGM, FilterGM, TestExtractAlphaGM, skiagm::BitmapPremulGM, DrawBitmapRect2, DrawBitmapRect3, DrawBitmapRect4, BitmapRectRounding, skiagm::BitmapShaderGM, SrcRectConstraintGM, BlurCirclesGM, BlurCircles2GM, BlurIgnoreXformGM, BlurQuickRejectGM, skiagm::BlurredClippedCircleGM, BmpFilterQualityRepeat, CircularClipsGM, ClipErrorGM, ClipStrokeRectGM, ColorFilterAlpha8, HSLColorFilterGM, ColorMatrixGM, skiagm::ComplexClipGM, skiagm::ComplexClip2GM, skiagm::ComplexClip3GM, skiagm::ComplexClip4GM, skiagm::ComplexClipBlurTiledGM, ComposeShaderGM, ComposeShaderAlphaGM, ComposeShaderBitmapGM, CompositorGM, CompressedTexturesGM, ConicPathsGM, skiagm::ConvexLineOnlyPathsGM, skiagm::ConvexPolyClip, CrBug224618GM, skiagm::CropImageFilterGM, DashCircleGM, DashCircle2GM, TrimGM, skiagm::DisplacementMapGM, DrawAtlasGM, DrawAtlasColorsGM, DrawGlyphsGM, DrawMiniBitmapRectGM, DrawRegionGM, DrawRegionModesGM, DRRectGM, skiagm::DstReadShuffle, EmbossGM, skiagm::EmptyShaderGM, skiagm::EncodeGM, skiagm::EncodeSRGBGM, skiagm::ExoticFormatsGM, FillrectGradientGM, skiagm::FillTypeGM, skiagm::FillTypePerspGM, FilterBugGM, skiagm::ImageFilterFastBoundGM, FontCacheGM, skiagm::FontScalerGM, GammaTextGM, GammaShaderTextGM, GiantBitmapGM, GradientsGM, DegenerateGradientGM, GradientsNoTextureGM, GradientsManyColorsGM, skiagm::GraphiteStartGM, skiagm::HairlinesGM, skiagm::HairModesGM, HardstopGradientShaderGM, HardstopGradientsManyGM, HelloBazelWorldGM, HighContrastFilterGM, ImageGM, ScalePixelsGM, ImagePictGM, ImageShaderGM, skiagm::ImageBlurClampModeGM, skiagm::ImageBlurRepeatModeGM, skiagm::ImageBlurTiledGM, SaveLayerWithBackdropGM, ImageFiltersBaseGM, ImageFiltersTextBaseGM, skiagm::ImageFiltersClippedGM, ImageFiltersCroppedGM, ImageFiltersGraphGM, skiagm::ImageFiltersScaledGM, skiagm::ImageFiltersStrokedGM, skiagm::ImageFiltersTransformedGM, ImageFilterMatrixWLocalMatrix, ImageFilterComposedTransform, skiagm::ImageFromYUV, ImageMagnifierBounds, ImageSourceGM, skiagm::ImageSourceGM, skiagm::ColorCubeGM, KawaseBlurRT, LatticeGM2, skiagm::LcdBlendGM, skiagm::LcdOverlapGM, skiagm::ImageLightingGM, skiagm::LocalMatrixOrder, LumaFilterGM, skiagm::SliverPathsGM, skiagm::ManyCirclesGM, skiagm::ManyRRectsGM, skiagm::MatrixConvolutionGM, skiagm::MixedTextBlobsGM, skiagm::ModeColorFilterGM, skiagm::MorphologyGM, skiagm::NestedGM, NinePatchStretchGM, skiagm::NonClosedPathsGM, OffsetImageFilterGM, SimpleOffsetImageFilterGM, skiagm::OvalGM, OverdrawColorFilter, skiagm::ContourStartGM, skiagm::PathEffectGM, CTMPathEffectGM, PathFillGM, PathInverseFillGM, PathInteriorGM, PathMaskCache, skiagm::PathOpsInverseGM, skiagm::PerspImages, skiagm::PerspShadersGM, PerspTextGM, PictureGM, PictureCullRectGM, PictureImageFilterGM, PictureGeneratorGM, PictureShaderGM, PictureShaderCacheGM, PictureShaderTileGM, skiagm::PointsGM, Poly2PolyGM, skiagm::PolygonOffsetGM, skiagm::PolygonsGM, PosterCircleGM, skiagm::QuadPathGM, skiagm::QuadClosePathGM, ReadPixelsGM, skiagm::ResizeGM, RippleShaderGM, skiagm::RoundRectGM, RRectGM, RuntimeColorFilterGM, SimpleRT, ThresholdRT, SpiralRT, UnsharpRT, ColorCubeRT, ColorCubeColorFilterRT, ClipSuperRRect, LinearGradientRT, skiagm::SamplerStressGM, skiagm::ScaledEmojiRenderingGM, skiagm::ScaledRectsGM, ScaledStrokesGM, skiagm::ShaderPathGM, skiagm::ShaderText3GM, skiagm::ShapesGM, skiagm::SharedCornersGM, skiagm::SimpleClipGM, SimpleRectGM, SmallPathsGM, SpriteBitmapGM, skiagm::StLouisArchGM, StringArtGM, skiagm::StrokedLinesGM, StrokeRectGM, StrokeRectAnisotropicGM, skiagm::StrokeRectsGM, StrokesGM, ZeroLenStrokesGM, Strokes2GM, Strokes3GM, Strokes4GM, Strokes5GM, SurfacePropsGM, NewSurfaceGM, TableColorFilterGM, TallStretchedBitmapsGM, TestGradientGM, TextBlobGM, skiagm::TextBlobBlockReordering, skiagm::TextBlobColorTrans, skiagm::TextBlobGeometryChange, skiagm::TextBlobTransforms, skiagm::TextBlobUseAfterGpuFree, skiagm::ThinRectsGM, skiagm::ThinStrokedRectsGM, skiagm::TiledScaledBitmapGM, skiagm::TileImageFilterGM, TilingGM, ScaledTilingGM, TypefaceStylesGM, UserFontGM, VariedTextGM, VerticesGM, VideoDecoderGM, skiagm::WackyYUVFormatsGM, YUVSplitterGM, skiagm::XfermodeImageFilterGM, XfermodesGM, skiagm::Xfermodes2GM, skiagm::Xfermodes3GM, DFTextGM, DFTextBlobPerspGM, and skiagm::TextBlobMixedSizes.

Definition at line 143 of file gm.cpp.

143{ SK_ABORT("Not implemented."); }
#define SK_ABORT(message,...)
Definition: SkAssert.h:70

◆ onDraw() [2/2]

DrawResult GM::onDraw ( SkCanvas canvas,
SkString errorMsg 
)
protectedvirtual

◆ onGetControls()

bool GM::onGetControls ( SkMetaData )
protectedvirtual

Reimplemented in skiagm::ColrV1GM.

Definition at line 173 of file gm.cpp.

173{ return false; }

◆ onGpuSetup()

virtual DrawResult skiagm::GM::onGpuSetup ( SkCanvas ,
SkString ,
GraphiteTestContext  
)
inlineprotectedvirtual

◆ onGpuTeardown()

virtual void skiagm::GM::onGpuTeardown ( )
inlineprotectedvirtual

◆ onOnceBeforeDraw()

void GM::onOnceBeforeDraw ( )
protectedvirtual

Reimplemented in AAXfermodesGM, skiagm::AndroidBlendModesGM, AnimatedImageBlurs, AnimatedTiledImageBlur, skiagm::AnisotropicGM, BadPaintGM, skiagm::BigTileImageFilterGM, BitmapRectRounding, skiagm::BitmapShaderGM, BlurCirclesGM, BlurIgnoreXformGM, skiagm::BlurRectCompareGM, BmpFilterQualityRepeat, CircularClipsGM, skiagm::ColorEmojiGM, HSLColorFilterGM, ColorMatrixGM, skiagm::ColrV1GM, skiagm::ComplexClip2GM, ComposeShaderGM, CompositorGM, ConicPathsGM, skiagm::ConvexPolyClip, CrBug224618GM, TrimGM, DFTextGM, DFTextBlobPerspGM, skiagm::DisplacementMapGM, DrawGlyphsGM, DrawRegionGM, DrawRegionModesGM, FilterBugGM, skiagm::FontationsTypefaceGM, FontCacheGM, GammaShaderTextGM, skiagm::GraphiteReplayGM, skiagm::GraphiteStartGM, skiagm::HairlinesGM, skiagm::HairModesGM, HighContrastFilterGM, ImagePictGM, ImageCacheratorGM, ImageShaderGM, skiagm::ImageFiltersClippedGM, ImageFiltersCroppedGM, ImageFiltersGraphGM, skiagm::ImageFiltersScaledGM, skiagm::ImageFiltersTransformedGM, ImageFilterMatrixWLocalMatrix, ImageFilterComposedTransform, ImageMakeWithFilterGM, ImageSourceGM, skiagm::ImageSourceGM, skiagm::ColorCubeGM, KawaseBlurRT, skiagm::LcdBlendGM, skiagm::LcdOverlapGM, skiagm::ImageLightingGM, skiagm::LocalMatrixOrder, LumaFilterGM, skiagm::MatrixConvolutionGM, skiagm::MeshGM, skiagm::MeshColorSpaceGM, skiagm::MeshUniformsGM, skiagm::MeshUpdateGM, skiagm::MeshZeroInitGM, skiagm::PictureMesh, skiagm::MeshWithShadersGM, skiagm::MixedTextBlobsGM, skiagm::MorphologyGM, OffsetImageFilterGM, skiagm::FontPaletteGM, skiagm::ContourStartGM, PathFillGM, PathInverseFillGM, skiagm::PathOpsInverseGM, skiagm::PerspImages, skiagm::PerspShadersGM, PictureGM, PictureCullRectGM, PictureImageFilterGM, PictureGeneratorGM, PictureShaderGM, PictureShaderCacheGM, PictureShaderTileGM, Poly2PolyGM, skiagm::PolygonsGM, PosterCircleGM, RippleShaderGM, skiagm::RRectGM, RuntimeColorFilterGM, RuntimeShaderGM, ThresholdRT, UnsharpRT, ColorCubeRT, ColorCubeColorFilterRT, skiagm::ScaledEmojiGM, skiagm::ScaledEmojiPosGM, skiagm::ScaledEmojiPerspectiveGM, skiagm::ScaledEmojiRenderingGM, skiagm::ShaderPathGM, skiagm::ShaderText3GM, skiagm::ShapesGM, skiagm::SharedCornersGM, skiagm::SimpleClipGM, SmallPathsGM, skiagm::StLouisArchGM, skiagm::StrokedLinesGM, ZeroLenStrokesGM, Strokes2GM, TallStretchedBitmapsGM, TextBlobGM, skiagm::TextBlobBlockReordering, skiagm::TextBlobColorTrans, skiagm::TextBlobMixedSizes, skiagm::TextBlobRandomFont, skiagm::TextBlobTransforms, skiagm::TiledScaledBitmapGM, skiagm::TileImageFilterGM, TilingGM, ScaledTilingGM, TypefaceStylesGM, UserFontGM, VariedTextGM, VerticesGM, VideoDecoderGM, YUVSplitterGM, skiagm::XfermodeImageFilterGM, SkottieExternalPropsGM, SkottieWebFontGM, SkottieColorizeGM, SkottieMultiFrameGM, and ParagraphGM.

Definition at line 167 of file gm.cpp.

167{}

◆ onSetControls()

void GM::onSetControls ( const SkMetaData )
protectedvirtual

Reimplemented in skiagm::ColrV1GM.

Definition at line 175 of file gm.cpp.

175{}

◆ runAsBench()

bool GM::runAsBench ( ) const
virtual

◆ setBGColor()

void GM::setBGColor ( SkColor  color)

Definition at line 159 of file gm.cpp.

159 {
160 fBGColor = color;
161}

◆ setControls()

void skiagm::GM::setControls ( const SkMetaData controls)
inline

Definition at line 176 of file gm.h.

176{ this->onSetControls(controls); }
virtual void onSetControls(const SkMetaData &)
Definition: gm.cpp:175

◆ setMode()

void skiagm::GM::setMode ( Mode  mode)
inline

Definition at line 124 of file gm.h.

124{ fMode = mode; }
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
Definition: switches.h:228

◆ width()

SkScalar skiagm::GM::width ( )
inline

Definition at line 159 of file gm.h.

159 {
160 return SkIntToScalar(this->getISize().width());
161 }
SkScalar width()
Definition: gm.h:159

Member Data Documentation

◆ kErrorMsg_DrawSkippedGpuOnly

constexpr char skiagm::GM::kErrorMsg_DrawSkippedGpuOnly[]
inlinestaticconstexpr
Initial value:
=
"This test is for GPU configs only."

Definition at line 127 of file gm.h.


The documentation for this class was generated from the following files: