skia2/gm
Michael Ludwig 144926d968 Allow subpixel nested rects to have nearly equal x/y half widths
When transforming to device space, equal local-space half widths in X
and Y might end up being fractionally different, which would prevent
optimizing the nested rect path to use the stroke aa rect op. Visually,
these very small differences are not going to be noticeable and the op
can just arbitrarily pick one of the two widths to use for coverage.

Also fixed an issue where if the aa stroke op returned null from
MakeNested(), drawSimplifiedShape() assumed it meant nothing needed to
be drawn. After https://skia-review.googlesource.com/c/skia/+/427976,
this actually isn't the case and it should attempt path rendering for
the unbalanced subpixel nested rects.

In the linked bug's case, the square rects would not transform to
identical x and y half widths depending on the UI scale of the browser
(differing by a negligible amount). This would then return a null op
and skip falling back to the path renderer so nothing would draw.

Bug: chromium:1234194
Change-Id: Ibd4254cb37e0fc01a5da342e06c4d82cb6223fe8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/447462
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2021-09-10 21:05:27 +00:00
..
verifiers drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
3d.cpp Move Sk3Perspective and Sk3Lookat into SkM44 2021-03-24 15:47:22 +00:00
aaa.cpp Move convexity enum out of public 2020-08-30 13:04:22 +00:00
aaclip.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
aarecteffect.cpp Prepare headers for making all ops V1-only 2021-08-12 15:09:11 +00:00
aarectmodes.cpp Bitmap should use sampling options 2020-12-12 15:36:21 +00:00
aaxfermodes.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
addarc.cpp Reland "Enable GrTessellationPathRenderer by default" 2021-01-04 19:43:41 +00:00
all_bitmap_configs.cpp drawBitmap is deprecated 2021-01-24 04:36:04 +00:00
alpha_image.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
alphagradients.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
analytic_gradients.cpp Convert binary unrolled gradient colorizer to GrSkSLFP 2021-07-08 13:48:05 +00:00
androidblendmodes.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
animated_gif.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
animated_image_orientation.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
animatedimageblurs.cpp move SkTPin to include/private 2020-10-16 19:45:11 +00:00
anisotropic.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
annotated_text.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
arcofzorro.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
arcto.cpp Fix cases of variable shadowing in gm/. 2021-08-02 19:02:56 +00:00
arithmode.cpp Generalize composing imagefilters and shaders to blenders 2021-07-26 21:07:51 +00:00
asyncrescaleandread.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
b_119394958.cpp Remove ableist language 2021-06-16 21:37:21 +00:00
backdrop_imagefilter_croprect.cpp hide savelayer's clipmask fields 2020-05-31 14:06:42 +00:00
backdrop.cpp Make backdrop_hintrect_clipping GM use kClamp tile mode 2020-05-04 15:25:19 +00:00
badpaint.cpp Bitmap should use sampling options 2020-12-12 15:36:21 +00:00
bc1_transparency.cpp Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +00:00
beziereffects.cpp Store the correct number of samples in GrProgramInfo 2021-08-26 17:24:47 +00:00
beziers.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
bicubic.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
bigblurs.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
bigmatrix.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
bigrect.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bigrrectaaeffect.cpp Move more Ops to skgpu::v1 namespace 2021-09-02 13:25:29 +00:00
bigtext.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
bigtileimagefilter.cpp More hiding of legacy drawImage calls 2021-01-22 13:53:42 +00:00
bitmapcopy.cpp Reland "Add sRGB 8888 colortype" 2021-08-24 12:56:32 +00:00
bitmapfilters.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
bitmapimage.cpp get image from skcodec 2021-01-25 21:50:16 +00:00
bitmappremul.cpp More hiding of legacy drawImage calls 2021-01-22 13:53:42 +00:00
bitmaprect.cpp drawBitmap is deprecated 2021-01-24 04:36:04 +00:00
bitmaprecttest.cpp drawBitmap is deprecated 2021-01-24 04:36:04 +00:00
bitmapshader.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
bitmaptiled.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
bleed.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
blend.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
blurcircles2.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
blurcircles.cpp Reland "Allow rect and circle blur fast cases to be used with rotation matrices." 2020-09-24 21:33:44 +00:00
blurignorexform.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
blurimagevmask.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
blurpositioning.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
blurquickreject.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
blurrect.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
blurredclippedcircle.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
blurroundrect.cpp Remove ableist language 2021-06-16 21:37:21 +00:00
blurs.cpp Ensure that blur result is identity if both sigmas are near-zero 2021-01-27 21:37:30 +00:00
blurtextsmallradii.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bmpfilterqualityrepeat.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
bug5252.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
bug6643.cpp Must pass filtering to picture shader 2021-03-18 22:18:47 +00:00
bug6783.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
bug9331.cpp add GM for skbug.com/9331 2019-08-12 19:32:40 +00:00
bug530095.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
bug615686.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
cgm.c Hide legacy drawImage methods 2021-01-20 00:59:26 +00:00
cgms.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
circle_sizes.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
circulararcs.cpp Fix cases of variable shadowing in gm/. 2021-08-02 19:02:56 +00:00
circularclips.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
clear_swizzle.cpp Fission GrSurfaceFillContext into skgpu:: and skgpu::v1:: versions (take 2) 2021-08-04 19:40:55 +00:00
clip_error.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
clip_sierpinski_region.cpp Support clipRegion on GPU backend 2019-12-13 17:34:33 +00:00
clip_strokerect.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
clipdrawdraw.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
clippedbitmapshaders.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
clockwise.cpp Store the correct number of samples in GrProgramInfo 2021-08-26 17:24:47 +00:00
collapsepaths.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
color4f.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
coloremoji_blendmodes.cpp Fix cases of variable shadowing in gm/. 2021-08-02 19:02:56 +00:00
coloremoji.cpp Remove ableist language 2021-06-16 21:37:21 +00:00
colorfilteralpha8.cpp More hiding of legacy drawImage calls 2021-01-22 13:53:42 +00:00
colorfilterimagefilter.cpp Remove SkShaders::Lerp 2021-06-18 16:40:08 +00:00
colorfilters.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
colormatrix.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
colorspace.cpp SkCanvas::makeSurface() can fail 2021-01-08 20:49:36 +00:00
colorwheel.cpp SkPaint: new constructor 2019-05-02 19:52:07 +00:00
colrv1.cpp [COLRv1] Fix blending and compositing 2021-09-07 15:09:58 +00:00
complexclip2.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
complexclip3.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
complexclip4.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
complexclip_blur_tiled.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
complexclip.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
composecolorfilter.cpp Convert internal SkSL to use .eval() 2021-09-03 15:54:54 +00:00
composeshader.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
compositor_quads.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
compressed_textures.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
concavepaths.cpp Use factories to avoid using (deprecated) path editing methods 2020-08-24 19:53:13 +00:00
conicpaths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
constcolorprocessor.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
convex_all_line_paths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
convexpaths.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
convexpolyclip.cpp Reland "Remove SkTLList" 2021-08-10 17:57:41 +00:00
convexpolyeffect.cpp Prepare headers for making all ops V1-only 2021-08-12 15:09:11 +00:00
copy_to_4444.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
crbug_224618.cpp Move more Ops to skgpu::v1 namespace 2021-09-02 13:25:29 +00:00
crbug_691386.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_788500.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
crbug_847759.cpp Move several more PathRenderers to skgpu::v1 namespace 2021-08-17 22:19:11 +00:00
crbug_884166.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
crbug_887103.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
crbug_892988.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_899512.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_905548.cpp Add SkImageFilters::Blend rename for Xfermode filter 2020-10-13 14:28:26 +00:00
crbug_908646.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
crbug_913349.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
crbug_918512.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_938592.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_946965.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_947055.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_996140.cpp Add arc methods to path builder 2020-08-03 15:50:01 +00:00
crbug_1041204.cpp Add GM for crbug:10141204 2020-01-23 15:06:16 +00:00
crbug_1073670.cpp Reland "fix crbug 1073670" 2020-04-24 20:52:21 +00:00
crbug_1086705.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
crbug_1113794.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
crbug_1139750.cpp Avoid infinite inverse inner-radii in eliiptical rrect op 2020-11-02 20:01:04 +00:00
crbug_1156804.cpp Improve clamp mode in GPU blur with downsampling. 2020-12-11 18:43:20 +00:00
crbug_1162942.cpp Fix DrawEdgeAAQuad degenerate issue where 3D points don't correctly project to 2D points. 2021-01-19 17:33:45 +00:00
crbug_1167277.cpp GrQuadUtils: Handle degenerate persp quads where edges intersect outside quad 2021-01-20 23:01:23 +00:00
crbug_1174186.cpp Drop AA on quads that are extremely thin before AA insetting/outsetting. 2021-02-10 02:43:35 +00:00
crbug_1174354.cpp Fix downsampled blur with clamp mode. 2021-03-03 14:15:31 +00:00
crbug_1177833.cpp Reland "Fix issues with insetting and outsetting quads." 2021-02-25 17:44:12 +00:00
croppedrects.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
crosscontextimage.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
cubicpaths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
daa.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
dashcircle.cpp fix races in dashcircle.cpp 2021-03-01 20:18:21 +00:00
dashcubics.cpp do work in onBefore, not in constructor 2020-10-30 20:54:11 +00:00
dashing.cpp Handle overflow of accumulated rect perimeter in SkDaskPath cull_path 2021-02-10 18:32:12 +00:00
degeneratesegments.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
destcolor.cpp Move ProgramImpl definitions into Processor subclass headers. 2021-08-11 19:45:56 +00:00
dftext_blob_persp.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
dftext.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
discard.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
displacement.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
distantclip.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
draw_bitmap_rect_skbug4374.cpp drawBitmap is deprecated 2021-01-24 04:36:04 +00:00
drawable.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
drawatlas.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
drawatlascolor.cpp Hide misc non-sampling draw methods 2021-01-25 17:54:56 +00:00
drawbitmaprect.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
drawglyphs.cpp Move SkSpan to include/, for use in public API 2021-05-12 13:19:32 +00:00
drawimageset.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
drawminibitmaprect.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
drawquadset.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
drawregion.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
drawregionmodes.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
dropshadowimagefilter.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
drrect_small_inner.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
drrect.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
dsl_processor_test.cpp Consistency among GrFP::ProgramImpl subclasses 2021-08-11 13:59:46 +00:00
dstreadshuffle.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
ducky_yuv_blend.cpp Pass sampling to drawimage 2021-01-24 03:07:23 +00:00
emboss.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
emptypath.cpp use pathbuilder 2020-08-25 22:27:20 +00:00
encode_alpha_jpeg.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
encode_color_types.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
encode_platform.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
encode_srgb.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
encode.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
exoticformats.cpp Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +00:00
fadefilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
fatpathfill.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
fiddle.cpp Reland "add a stub for running fiddles as GMs" 2019-08-09 16:22:51 +00:00
filltypes.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
filltypespersp.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
filterbug.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
filterfastbounds.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
filterindiabox.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
flippity.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
fontcache.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
fontmgr.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
fontregen.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
fontscaler.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
fontscalerdistortable.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
fp_sample_chaining.cpp Cruft leftover from GrSurfaceContext hierarchy v1/v2 split 2021-08-11 14:17:49 +00:00
fpcoordinateoverride.cpp Consistency among GrFP::ProgramImpl subclasses 2021-08-11 13:59:46 +00:00
fwidth_squircle.cpp Store the correct number of samples in GrProgramInfo 2021-08-26 17:24:47 +00:00
gammatext.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
getpostextpath.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
giantbitmap.cpp Stop using filterquality 2021-07-18 15:48:36 +00:00
glyph_pos.cpp GM glyph_pos correct advance placement. 2021-02-09 22:21:10 +00:00
gm.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
gm.h Revise GM infrastructure to not rely on GrSurfaceDrawContext 2021-07-21 20:59:37 +00:00
gpu_blur_utils.cpp Pipe all SDC creation through the recording context 2021-08-02 16:04:52 +00:00
gradient_dirty_laundry.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
gradient_matrix.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
gradients_2pt_conical.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
gradients_degenerate.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
gradients_no_texture.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
gradients.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
gradtext.cpp gm: virtual->override 2019-07-18 18:07:52 +00:00
grayscalejpg.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
hairlines.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
hairmodes.cpp Bitmap should use sampling options 2020-12-12 15:36:21 +00:00
hardstop_gradients.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
highcontrastfilter.cpp Migrate work from constructors to onOnceBeforeDraw. 2020-11-05 15:43:42 +00:00
hittestpath.cpp Revert "Revert "use pathbuilder"" 2020-08-26 17:35:34 +00:00
hsl.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
hugepath.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
image_pict.cpp Rename GrSurfaceContext -> skgpu::SurfaceContext 2021-08-10 19:24:53 +00:00
image_shader.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
image.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
imagealphathreshold.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
imageblur2.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imageblur.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imageblurclampmode.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
imageblurrepeatmode.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
imageblurtiled.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
imagefilters.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
imagefiltersbase.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
imagefiltersclipped.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
imagefilterscropexpand.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
imagefilterscropped.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
imagefiltersgraph.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
imagefiltersscaled.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
imagefiltersstroked.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
imagefilterstransformed.cpp Add GM for failing Image image filter 2021-05-18 20:48:44 +00:00
imagefromyuvtextures.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
imagemagnifier.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
imagemakewithfilter.cpp Guard legacy matrixtransforms, and expose new one 2021-02-01 22:10:39 +00:00
imagemasksubset.cpp Pass sampling to drawimage 2021-01-24 03:07:23 +00:00
imageresizetiled.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
imagescalealigned.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
imagesource2.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
imagesource.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
internal_links.cpp gm: virtual->override 2019-07-18 18:07:52 +00:00
inverseclip.cpp Revert "Revert "use pathbuilder"" 2020-08-26 17:35:34 +00:00
inversepaths.cpp add static factories for SkPath 2020-08-02 23:40:06 +00:00
jpg_color_cube.cpp move SkTPin to include/private 2020-10-16 19:45:11 +00:00
labyrinth.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
largeclippedpath.cpp Move tessellation ops to skgpu::v1 namespace 2021-08-26 15:17:52 +00:00
largeglyphblur.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
lattice.cpp Hide misc non-sampling draw methods 2021-01-25 17:54:56 +00:00
lazytiling.cpp Update LazySurfaceDesc to take a GrTextureType. 2021-08-16 14:17:58 +00:00
lcdblendmodes.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
lcdoverlap.cpp Fix gms placing text in bounds. 2020-09-28 16:35:13 +00:00
lcdtext.cpp Restore SkCanvas::kPreserveLCDText_SaveLayerFlag 2020-05-01 20:33:04 +00:00
lighting.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
linepaths.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
localmatriximagefilter.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
localmatriximageshader.cpp Name common cubic resamplers 2021-02-05 19:21:04 +00:00
localmatrixshader.cpp Simplify common case of linear filtering with no mips 2021-01-15 16:47:16 +00:00
lumafilter.cpp Enforce consistency in swizzle domains. 2021-07-09 20:30:22 +00:00
mac_aa_explorer.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
make_raster_image.cpp GMs: re-sort gni, script to regenerate gni, file name convention 2019-05-02 20:08:37 +00:00
makecolorspace.cpp get image from skcodec 2021-01-25 21:50:16 +00:00
mandoline.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
manypathatlases.cpp Non-substantive changes for making v1::SurfaceDrawContext V1-only 2021-08-02 19:22:58 +00:00
manypaths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
matrixconvolution.cpp don't use drawBitmap 2021-01-26 02:24:21 +00:00
matriximagefilter.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
mipmap.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
mixedtextblobs.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
mixercolorfilter.cpp promote the runtime mixer CF to the only mixer CF 2021-02-19 11:43:47 +00:00
modecolorfilters.cpp Bitmap should use sampling options 2020-12-12 15:36:21 +00:00
morphology.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
nested.cpp Allow subpixel nested rects to have nearly equal x/y half widths 2021-09-10 21:05:27 +00:00
ninepatchstretch.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
nonclosedpaths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
offsetimagefilter.cpp Hide SkImageFilter::CropRect 2021-01-30 16:10:29 +00:00
orientation.cpp Fix images used in orientation GMs 2020-12-17 15:48:25 +00:00
ovals.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
overdrawcanvas.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
overdrawcolorfilter.cpp drawBitmap is deprecated 2021-01-24 04:36:04 +00:00
overstroke.cpp Clean up remaining NVPR bits & bobs 2021-03-23 19:12:12 +00:00
p3.cpp Fix p3_ovals GM on high-DPI displays. 2021-06-18 17:30:20 +00:00
particles.cpp Move code generators to codegen/ directory. 2021-04-13 15:34:24 +00:00
patch.cpp Revert "Revert "Use explicit samplingoptions"" 2020-12-09 03:08:09 +00:00
path_stroke_with_zero_length.cpp Update error handling in DDL-averse GMs 2020-10-14 16:42:01 +00:00
patharcto.cpp Don't assume extended (check perspective) 2021-08-04 21:01:11 +00:00
pathcontourstart.cpp Migrate work from constructors to onOnceBeforeDraw. 2020-11-05 15:43:42 +00:00
patheffects.cpp Pass CTM to path effects (experimental) 2021-07-13 18:42:55 +00:00
pathfill.cpp Use Wang's formula for quadratic and cubic point counts 2021-05-12 18:33:33 +00:00
pathinterior.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
pathmaskcache.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
pathmeasure.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
pathopsinverse.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
pathreverse.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
pdf_never_embed.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
perlinnoise.cpp Remove Improved Perlin Noise 2021-01-11 15:27:26 +00:00
perspimages.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
perspshaders.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
picture.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
pictureimagefilter.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
pictureimagegenerator.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
pictureshader.cpp Must pass filtering to picture shader 2021-03-18 22:18:47 +00:00
pictureshadercache.cpp Must pass filtering to picture shader 2021-03-18 22:18:47 +00:00
pictureshadertile.cpp Must pass filtering to picture shader 2021-03-18 22:18:47 +00:00
pixelsnap.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
plus.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
points.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
poly2poly.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
polygonoffset.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
polygons.cpp Preserve winding scale for outer edges in AA triangulation 2021-04-15 20:31:12 +00:00
postercircle.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
preservefillrule.cpp Guard TopDeviceSurfaceFillContext calls for null return values. 2021-07-30 15:36:45 +00:00
quadpaths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
radial_gradient_precision.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
rasterhandleallocator.cpp Fix Wunused-but-set-variable warnings 2021-08-05 21:49:18 +00:00
readpixels.cpp get image from skcodec 2021-01-25 21:50:16 +00:00
recordopts.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
rectangletexture.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
repeated_bitmap.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
resizeimagefilter.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
roundrects.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
rrect.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
rrectclipdrawpaint.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
rrects.cpp Move more Ops to skgpu::v1 namespace 2021-09-02 13:25:29 +00:00
rsxtext.cpp Simplify common case of linear filtering with no mips 2021-01-15 16:47:16 +00:00
runtimecolorfilter.cpp Convert some SkRuntimeEffect::Make to use stage-specific factories 2021-04-21 16:19:57 +00:00
runtimeeffectimage.cpp Convert internal SkSL to use .eval() 2021-09-03 15:54:54 +00:00
runtimefunctions.cpp Convert some SkRuntimeEffect::Make to use stage-specific factories 2021-04-21 16:19:57 +00:00
runtimeimagefilter.cpp Convert internal SkSL to use .eval() 2021-09-03 15:54:54 +00:00
runtimeintrinsics.cpp Add ES3 versions of min/max/mix/clamp to public SkSL. 2021-08-24 17:14:50 +00:00
runtimeshader.cpp Convert internal SkSL to use .eval() 2021-09-03 15:54:54 +00:00
samplerstress.cpp Use sampling for bitmap shaders 2020-12-12 20:10:41 +00:00
savelayer.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
scaledemoji_rendering.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
scaledemoji.cpp handle perspective glyph drawing correctly 2021-04-27 18:16:31 +00:00
scaledstrokes.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
shadermaskfilter.cpp remove unused maskfilter helpers: Combine, Compose 2020-05-05 19:10:00 +00:00
shadertext3.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
shadowutils.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
shallowgradient.cpp gm: simplify several onName 2019-07-24 18:05:45 +00:00
shapes.cpp Remove undefined behavior from innershapes gm 2021-03-12 16:00:46 +00:00
sharedcorners.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
showmiplevels.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
simple_magnification.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
simpleaaclip.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
simplerect.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
skbug1719.cpp Revert "Revert "switch to new filltype for SkPath"" 2019-11-26 17:43:14 +00:00
skbug_257.cpp Use samplingoptions for bitmap shader 2020-12-12 17:08:11 +00:00
skbug_4868.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
skbug_5321.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
skbug_8664.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
skbug_8955.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
skbug_9319.cpp Make GrRectBlurEffect be analytical rather than use a texture LUT. 2019-08-14 13:35:37 +00:00
skbug_9819.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
skbug_12212.cpp Create test case to repro skia:12212. 2021-07-30 17:41:13 +00:00
smallarc.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
smallpaths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
spritebitmap.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
srcmode.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
srgb.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
stlouisarch.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
stringart.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
stroke_rect_shader.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
strokedlines.cpp Use samplingoptions for bitmap shader 2020-12-12 17:08:11 +00:00
strokefill.cpp Simplify firstdirection 2020-08-30 15:01:02 +00:00
strokerect_anisotropic.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
strokerect.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
strokerects.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
strokes.cpp Revert "Reland "Reland "Omit inner join geometry when possible""" 2021-08-04 20:29:09 +00:00
stroketext.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
subsetshader.cpp Use samplingoptions for bitmap shader 2020-12-12 17:08:11 +00:00
surface.cpp Copy on write for wrapped backend texture surfaces. 2021-03-05 19:50:05 +00:00
swizzle.cpp Fission GrSurfaceFillContext into skgpu:: and skgpu::v1:: versions (take 2) 2021-08-04 19:40:55 +00:00
tablecolorfilter.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
tallstretchedbitmaps.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
tessellation.cpp Store the correct number of samples in GrProgramInfo 2021-08-26 17:24:47 +00:00
testgradient.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
texelsubset.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
text_scale_skew.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
textblob.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
textblobblockreordering.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
textblobcolortrans.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
textblobgeometrychange.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
textblobmixedsizes.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
textblobrandomfont.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
textblobshader.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
textblobtransforms.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
textblobuseaftergpufree.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
texteffects.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
thinconcavepaths.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
thinrects.cpp Account for hairline mode in rect op bounds for clipping 2021-07-13 17:33:13 +00:00
thinstrokedrects.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
tiledscaledbitmap.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
tileimagefilter.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
tilemodes_alpha.cpp Revert "Revert "Use explicit samplingoptions"" 2020-12-09 03:08:09 +00:00
tilemodes_scaled.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
tilemodes.cpp Fix cases of variable shadowing in test code. 2021-08-11 20:38:09 +00:00
tinybitmap.cpp Use samplingoptions for bitmap shader 2020-12-12 17:08:11 +00:00
transparency.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
trickycubicstrokes.cpp Move the GrTessellationPathRenderer into the skgpu::v1 namespace 2021-08-25 17:16:28 +00:00
typeface.cpp Fix typeface GMs to draw or skip 2021-08-10 21:36:55 +00:00
unpremul.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
userfont.cpp SkCustomTypefaceBuilder to set SkFontStyle 2020-08-19 00:09:55 +00:00
variedtext.cpp Fix gms placing text in bounds. 2020-09-28 16:35:13 +00:00
vertices.cpp Fix cases of variable shadowing in gm/. 2021-08-02 19:02:56 +00:00
verylargebitmap.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
video_decoder.cpp Fix video_decoder GM 2021-01-31 00:29:20 +00:00
wacky_yuv_formats.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
widebuttcaps.cpp Move the GrTessellationPathRenderer into the skgpu::v1 namespace 2021-08-25 17:16:28 +00:00
windowrectangles.cpp Delete GrClipStackClip and GrReducedClip 2021-08-09 18:53:58 +00:00
xfermodeimagefilter.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
xfermodes2.cpp Use samplingoptions for bitmap shader 2020-12-12 17:08:11 +00:00
xfermodes3.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
xfermodes.cpp Fix cases of variable shadowing in test code. 2021-08-11 20:38:09 +00:00
xform.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
ycbcrimage.cpp Retract the SDC from GMs where possible (take 2) 2021-06-03 16:21:27 +00:00
yuv420_odd_dim.cpp skip, don't fail, yuva420_odd_dim_repeat on abandoned context. 2021-05-24 20:16:14 +00:00
yuvtorgbsubset.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00