skia2/gm
Michael Ludwig 4e9d5e2bdf Use Wang's formula for quadratic and cubic point counts
- most of the small diffs are because I moved GrWangsFormula.h out
   of the tessellate/ directory and into the geometry/ directory since
   it's more general than HW tessellation.

The previous implementation was based on the heuristic that the distance
from the true curve to the line segment would be divided by 4 every time
the curve was recursively subdivided. This was a reasonable
approximation if the curve had balanced curvature on both sides of the
split. However, in the case of the new GM's curve, the left half was
already very linear and the right half had much higher curves.

This lead to the approximation reporting fewer points than required.
Theoretically, those few points that weren't utilized by the left half
of the curve could have been made available to the right half, but the
implementation of that would be tricky.

Instead, it now uses Wang's formula to compute the number of points.
Since recursive subdivision leads to linearly spaced samples assuming it
can't stop early, this point count represents a valid upper bound on
what's needed. It also then ensures both left and right halves of a
curve have the point counts they might need w/o updating the
generation implementations. However, since the recursive point
generation exits once each section has reached the error tolerance, in
scenarios where the prior approximation was reasonable, we'll end up
using fewer points than reported by Wang's. Hopefully that means there
is negligible performance regression since we won't be increasing
vertex counts by that much (except where needed for correctness).

Bug: skia:11886
Change-Id: Iba39dbe4de82011775524583efd461b10c9259fe
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/405197
Reviewed-by: Chris Dalton <csmartdalton@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2021-05-12 18:33:33 +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 Go back to using coverage FP in aarecteffect/convexpoly GMs. 2021-02-24 16:32:04 +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 Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +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 Name common cubic resamplers 2021-02-05 19:21:04 +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 Add arc methods to path builder 2020-08-03 15:50:01 +00:00
arithmode.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
asyncrescaleandread.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
b_119394958.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +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 Delete mixed samples 2021-04-22 20:11:34 +00:00
beziers.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
bicubic.cpp Name common cubic resamplers 2021-02-05 19:21:04 +00:00
bigblurs.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
bigmatrix.cpp Simplify common case of linear filtering with no mips 2021-01-15 16:47:16 +00:00
bigrect.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bigrrectaaeffect.cpp whole-word replace renderTargetContext with surfaceDrawContext 2020-12-11 23:24:40 +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 drawBitmap is deprecated 2021-01-24 04:36:04 +00:00
bitmapfilters.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +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 drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
bleed.cpp Name common cubic resamplers 2021-02-05 19:21:04 +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 Don't use filter-quality 2021-01-30 16:09:23 +00:00
blurrect.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
blurredclippedcircle.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
blurroundrect.cpp Reland "Perform bounding rect-relative calcs in full float in GrRRectBlurEffect" 2020-10-21 19:07:33 +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 drawBitmap is deprecated 2021-01-24 04:36:04 +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 Simplify common case of linear filtering with no mips 2021-01-15 16:47:16 +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 Revert "Revert "use pathbuilder"" 2020-08-26 17:35:34 +00:00
circularclips.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
clear_swizzle.cpp Add GrSurfaceFillContext 2020-12-16 20:48:43 +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 Name common cubic resamplers 2021-02-05 19:21:04 +00:00
clockwise.cpp Delete mixed samples 2021-04-22 20:11:34 +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 Bitmap should use sampling options 2020-12-12 15:36:21 +00:00
coloremoji.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
colorfilteralpha8.cpp More hiding of legacy drawImage calls 2021-01-22 13:53:42 +00:00
colorfilterimagefilter.cpp Revert "Revert "Use explicit samplingoptions"" 2020-12-09 03:08:09 +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 Support PaintTranslate in COLRv1 rasterisation 2021-03-25 20:14:21 +00:00
complexclip2.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
complexclip3.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
complexclip4.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
complexclip_blur_tiled.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
complexclip.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
composecolorfilter.cpp Reland "Better first-class shader & color filter support in runtime effects" 2021-05-05 22:06:46 +00:00
composeshader.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
compositor_quads.cpp Avoid creating GM test resources at startup time. 2021-03-29 15:17:09 +00:00
compressed_textures.cpp Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +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 Replace GrConstColorProcessor with a runtime FP 2021-04-14 18:40:18 +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 drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
convexpolyeffect.cpp Go back to using coverage FP in aarecteffect/convexpoly GMs. 2021-02-24 16:32:04 +00:00
copy_to_4444.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
crbug_224618.cpp More hiding of legacy drawImage calls 2021-01-22 13:53:42 +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 use pathbuilder 2020-08-17 22:05:00 +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 Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
crosscontextimage.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +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
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 Pass sampling to surface.draw 2021-01-06 19:05:00 +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 Hide misc non-sampling draw methods 2021-01-25 17:54:56 +00:00
drawatlascolor.cpp Hide misc non-sampling draw methods 2021-01-25 17:54:56 +00:00
drawbitmaprect.cpp Pass sampling to drawimage 2021-01-24 03:07:23 +00:00
drawglyphs.cpp Move SkSpan to include/, for use in public API 2021-05-12 13:19:32 +00:00
drawimageset.cpp Hide misc non-sampling draw methods 2021-01-25 17:54:56 +00:00
drawminibitmaprect.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
drawquadset.cpp Remove public getter for GrSurfaceDrawContext on SkSCanvas. 2020-12-23 16:13:07 +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 Added support for DSL global variables 2021-04-30 18:05:19 +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 Name common cubic resamplers 2021-02-05 19:21:04 +00:00
filterfastbounds.cpp Guard legacy matrixtransforms, and expose new one 2021-02-01 22:10:39 +00:00
filterindiabox.cpp Name common cubic resamplers 2021-02-05 19:21:04 +00:00
flippity.cpp Consolidate on SkImage_Gpu constructor that takes SkColorInfo. 2021-04-21 14:19:27 +00:00
fontcache.cpp GrRenderTargetContext->GrSurfaceDrawContext 2020-12-10 18:51:19 +00:00
fontmgr.cpp Move fontmgr_bounds labels to tight bounds 2020-08-24 15:02:44 +00:00
fontregen.cpp GrRenderTargetContext->GrSurfaceDrawContext 2020-12-10 18:51:19 +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 Remove SkSL sample-with-matrix implementation 2021-04-29 12:46:57 +00:00
fpcoordinateoverride.cpp Remove GrBitmapTextureMaker. 2021-04-28 17:24:56 +00:00
fwidth_squircle.cpp Delete mixed samples 2021-04-22 20:11:34 +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 Bitmap should use sampling options 2020-12-12 15:36:21 +00:00
glyph_pos.cpp GM glyph_pos correct advance placement. 2021-02-09 22:21:10 +00:00
gm.cpp Remove public getter for GrSurfaceDrawContext on SkSCanvas. 2020-12-23 16:13:07 +00:00
gm.h Reland "Add backend texture and backend render target versions snapshot GMs" 2021-02-04 14:30:57 +00:00
gpu_blur_utils.cpp adjust values in very_large_sigma_gpu_blur gms 2021-03-23 15:23:18 +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 Must pass filtering to picture shader 2021-03-18 22:18:47 +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 Replace SkImage_Base::view() and ::refView() with new asView(). 2021-02-03 19:05:49 +00:00
image_shader.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
image.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +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 Guard legacy matrixtransforms, and expose new one 2021-02-01 22:10:39 +00:00
imagefiltersbase.cpp Name common cubic resamplers 2021-02-05 19:21:04 +00:00
imagefiltersclipped.cpp Guard legacy matrixtransforms, and expose new one 2021-02-01 22:10:39 +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 Guard legacy matrixtransforms, and expose new one 2021-02-01 22:10:39 +00:00
imagefiltersstroked.cpp Guard legacy matrixtransforms, and expose new one 2021-02-01 22:10:39 +00:00
imagefilterstransformed.cpp Guard legacy matrixtransforms, and expose new one 2021-02-01 22:10:39 +00:00
imagefromyuvtextures.cpp Name common cubic resamplers 2021-02-05 19:21:04 +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 Guard legacy matrixtransforms, and expose new one 2021-02-01 22:10:39 +00:00
imagescalealigned.cpp Name common cubic resamplers 2021-02-05 19:21:04 +00:00
imagesource2.cpp Hide legacy imagefilters::image using filter-quality 2021-02-14 14:58:00 +00:00
imagesource.cpp Hide legacy imagefilters::image using filter-quality 2021-02-14 14:58:00 +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 Rewrite GrPathTessellateOp as GrPathInnerTriangulateOp 2021-01-28 18:34:39 +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 Expose writing to mip levels via GrSurfaceContext::writePixels 2021-04-02 19:16:15 +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 Convert some SkRuntimeEffect::Make to use stage-specific factories 2021-04-21 16:19:57 +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
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 Reland "Remove deprecated SkImageFilter::MakeMatrixFilter" 2021-02-04 21:17:58 +00:00
mipmap.cpp Name common cubic resamplers 2021-02-05 19:21:04 +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 Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
ninepatchstretch.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +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 Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +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 drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +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 Add arc methods to path builder 2020-08-03 15:50:01 +00:00
pathcontourstart.cpp Migrate work from constructors to onOnceBeforeDraw. 2020-11-05 15:43:42 +00:00
patheffects.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +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 Name common cubic resamplers 2021-02-05 19:21:04 +00:00
perspshaders.cpp Name common cubic resamplers 2021-02-05 19:21:04 +00:00
picture.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
pictureimagefilter.cpp Hide legacy imagefilters::image using filter-quality 2021-02-14 14:58:00 +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 Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
polygons.cpp Preserve winding scale for outer edges in AA triangulation 2021-04-15 20:31:12 +00:00
postercircle.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
preservefillrule.cpp Delete path caching and path rendering from ccpr 2021-03-12 16:02:16 +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 don't use drawBitmap 2021-01-26 02:24:21 +00:00
readpixels.cpp get image from skcodec 2021-01-25 21:50:16 +00:00
recordopts.cpp don't use drawBitmap 2021-01-26 02:24:21 +00:00
rectangletexture.cpp Name common cubic resamplers 2021-02-05 19:21:04 +00:00
repeated_bitmap.cpp Remove SkTMin and SkTMax 2020-02-07 18:40:09 +00:00
resizeimagefilter.cpp Hide legacy imagefilters::image using filter-quality 2021-02-14 14:58:00 +00:00
roundrects.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
rrect.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
rrectclipdrawpaint.cpp GrRenderTargetContext->GrSurfaceDrawContext 2020-12-10 18:51:19 +00:00
rrects.cpp Remove public getter for GrSurfaceDrawContext on SkSCanvas. 2020-12-23 16:13:07 +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 some SkRuntimeEffect::Make to use stage-specific factories 2021-04-21 16:19:57 +00:00
runtimefunctions.cpp Convert some SkRuntimeEffect::Make to use stage-specific factories 2021-04-21 16:19:57 +00:00
runtimeintrinsics.cpp Convert some SkRuntimeEffect::Make to use stage-specific factories 2021-04-21 16:19:57 +00:00
runtimeshader.cpp Add runtime effect unsharp GM 2021-04-27 13:47:00 +00:00
sample_matrix_constant.cpp Remove GrBitmapTextureMaker. 2021-04-28 17:24:56 +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 drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
shadowutils.cpp Accept near-simple, near-circular rrects for shadow fast path. 2021-03-10 17:30:34 +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 Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +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 drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +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 Pass sampling to drawImage calls 2021-01-23 18:23:33 +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
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 Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +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 Remove GrBitmapTextureMaker. 2021-04-28 17:24:56 +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 Move tessellation back doors into GrGLSLGeometryProcessor 2021-05-11 15:05:48 +00:00
testgradient.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
texelsubset.cpp Remove GrBitmapTextureMaker. 2021-04-28 17:24:56 +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 Pass sampling to surface.draw 2021-01-06 19:05:00 +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 GrRenderTargetContext->GrSurfaceDrawContext 2020-12-10 18:51:19 +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 Reland "Use analytic AA in FillRRectOp even if the target has MSAA" 2021-03-05 23:57:15 +00:00
thinstrokedrects.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
tiledscaledbitmap.cpp Name common cubic resamplers 2021-02-05 19:21:04 +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 Use sampling for bitmap shaders 2020-12-12 20:10:41 +00:00
tilemodes.cpp Simplify common case of linear filtering with no mips 2021-01-15 16:47:16 +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 Tune up tessellated stroke gms 2021-05-11 20:26:49 +00:00
typeface.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +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 Remove custom SkVertices data and runtime effect varying support 2021-04-19 17:49:25 +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 don't use drawBitmap 2021-01-26 02:24:21 +00:00
widebuttcaps.cpp Tune up tessellated stroke gms 2021-05-11 20:26:49 +00:00
windowrectangles.cpp Make SkSurfaceProps non-optional for SDCs and SkSpecialImages 2021-04-20 16:22:46 +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 drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
xform.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
ycbcrimage.cpp Fix a double free problem in YCbCrImageGM::createYCbCrImage() 2021-03-05 15:36:25 +00:00
yuv420_odd_dim.cpp Remove SkYUVASizeInfo, make SkYUVAIndex a private part of SkYUVAInfo 2021-01-12 15:06:26 +00:00
yuvtorgbsubset.cpp Remove GrBitmapTextureMaker. 2021-04-28 17:24:56 +00:00