skia2/gm
Jim Van Verth 8664a1d7d7 Add ear-clipping code to triangulate simple polygons.
Use this to fill concave shadows.

Bug: skia:7971
Change-Id: I63dc1ed845f9fa3fcd86f1ad13b03da23cae0313
Reviewed-on: https://skia-review.googlesource.com/135200
Commit-Queue: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2018-06-29 13:29:57 +00:00
..
3dgm.cpp Handle missing json resource gracefully in 3dgm 2018-06-13 19:43:16 +00:00
aaa.cpp Reland "Fix the fat rect bug in the threaded backend" 2018-04-18 19:52:43 +00:00
aaclip.cpp consolidate SaveLayerFlag internal references 2018-03-13 19:36:12 +00:00
aarectmodes.cpp
aaxfermodes.cpp
addarc.cpp
all_bitmap_configs.cpp
alpha_image.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
alphagradients.cpp
animatedGif.cpp
animatedimageblurs.cpp
anisotropic.cpp
annotated_text.cpp
arcofzorro.cpp
arcto.cpp
arithmode.cpp
atlastext.cpp Move op memory storage to GrContext (take 2) 2018-06-19 19:51:20 +00:00
badpaint.cpp
beziereffects.cpp Refactor GrPipeline dynamic state. 2018-06-26 15:35:12 +00:00
beziers.cpp
bigblurs.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
bigmatrix.cpp
bigrect.cpp
bigrrectaaeffect.cpp Plumb GrContext everywhere 2018-06-12 14:43:03 +00:00
bigtext.cpp
bigtileimagefilter.cpp
bitmapcopy.cpp basic first pass at RGBA F32 support 2018-06-26 19:02:52 +00:00
bitmapfilters.cpp
bitmapimage.cpp
bitmappremul.cpp
bitmaprect.cpp
bitmaprecttest.cpp
bitmapshader.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
bitmaptiled.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
bleed.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
blend.cpp
blurcircles2.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
blurcircles.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
blurignorexform.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
blurimagevmask.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
blurpositioning.cpp Make a GM for checking blur bounds. 2018-04-13 18:48:32 +00:00
blurquickreject.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
blurrect.cpp Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
blurredclippedcircle.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
blurroundrect.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
blurs.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
blurtextsmallradii.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
bmpfilterqualityrepeat.cpp
bug5252.cpp
bug6643.cpp
bug6783.cpp
bug530095.cpp
bug615686.cpp
cgm.c
cgms.cpp
circle_sizes.cpp
circles.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
circulararcs.cpp
circularclips.cpp
clip_error.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
clip_strokerect.cpp
clipdrawdraw.cpp
clippedbitmapshaders.cpp
color4f.cpp
coloremoji_blendmodes.cpp Some iwyu for tests which will otherwise break. 2018-03-14 21:07:15 +00:00
coloremoji.cpp
colorfilteralpha8.cpp
colorfilterimagefilter.cpp
colorfilters.cpp
colormatrix.cpp
colorspacexform.cpp
colorwheel.cpp
complexclip2.cpp
complexclip3.cpp Stop using SkTSwap. 2018-06-19 02:06:31 +00:00
complexclip4.cpp
complexclip_blur_tiled.cpp
complexclip.cpp complexclip gm to clip when saving layer with bounds. 2018-05-09 18:03:45 +00:00
composeshader.cpp
concavepaths.cpp GrTessellator: fix winding merged to zero on split edge. 2018-06-01 14:40:55 +00:00
conicpaths.cpp
constcolorprocessor.cpp Plumb GrContext everywhere 2018-06-12 14:43:03 +00:00
convex_all_line_paths.cpp Add ear-clipping code to triangulate simple polygons. 2018-06-29 13:29:57 +00:00
convexpaths.cpp
convexpolyclip.cpp
convexpolyeffect.cpp Refactor GrPipeline dynamic state. 2018-06-26 15:35:12 +00:00
copyTo4444.cpp
crbug_691386.cpp
crbug_788500.cpp
croppedrects.cpp
crosscontextimage.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
cubicpaths.cpp
dashcircle.cpp Analytic dashing of circles with single on/off intervals and butt caps. 2018-04-20 18:45:35 +00:00
dashcubics.cpp Stop using SkTSwap. 2018-06-19 02:06:31 +00:00
dashing.cpp
degeneratesegments.cpp
dftext_blob_persp.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
dftext.cpp Change scaling of antialiased perspective text in dftext to help glitches. 2018-06-15 16:04:45 +00:00
discard.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
displacement.cpp
distantclip.cpp
downsamplebitmap.cpp
draw_bitmap_rect_skbug4374.cpp
drawable.cpp
drawatlas.cpp drawTextRSXform should not apply matrix to shader 2018-03-15 18:14:16 +00:00
drawatlascolor.cpp
drawbitmaprect.cpp Make GMs with persistent SkImages that may be texture backed recreate 2018-05-24 18:59:19 +00:00
drawfilter.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
drawlooper.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
drawminibitmaprect.cpp
drawregion.cpp
drawregionmodes.cpp Add ability to dump opList info at flush-time 2018-04-20 17:47:55 +00:00
dropshadowimagefilter.cpp
drrect_small_inner.cpp
drrect.cpp
dstreadshuffle.cpp non-linear blending first steps 2018-05-10 18:26:22 +00:00
emboss.cpp
emptypath.cpp
encode-alpha-jpeg.cpp
encode-platform.cpp
encode-srgb.cpp
encode.cpp
extractbitmap.cpp
fadefilter.cpp
fatpathfill.cpp
filltypes.cpp
filltypespersp.cpp
filterbitmap.cpp
filterbug.cpp
filterfastbounds.cpp
filterindiabox.cpp
flippity.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
fontcache.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
fontmgr.cpp Make fontmgr_bounds change with veryVerbose 2018-06-22 20:18:27 +00:00
fontscaler.cpp
fontscalerdistortable.cpp Add SkTypeface::makeClone. 2018-06-08 19:13:13 +00:00
gamma.cpp
gammaencodedpremul.cpp prepare to remove obsolete macros 2018-04-24 19:19:01 +00:00
gammatext.cpp
gamut.cpp basic first pass at RGBA F32 support 2018-06-26 19:02:52 +00:00
getpostextpath.cpp Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
giantbitmap.cpp
glyph_pos.cpp
gm_expectations.h
gm.cpp
gm.h SkMacros split from SkTypes.h 2018-06-12 18:39:33 +00:00
gradient_matrix.cpp
gradientDirtyLaundry.cpp
gradients_2pt_conical.cpp Fix concentric 2pt conical gradient in GPU where r1 < r0 2018-03-19 18:50:46 +00:00
gradients_no_texture.cpp
gradients.cpp
gradtext.cpp
grayscalejpg.cpp
hairlines.cpp
hairmodes.cpp
hardstop_gradients.cpp
highcontrastfilter.cpp
hittestpath.cpp
hsl.cpp
hugepath.cpp Revert "Revert "add tiler for SkDraw"" 2018-03-07 19:39:00 +00:00
image_pict.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
image_shader.cpp
image.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
imagealphathreshold.cpp
imageblur2.cpp
imageblur.cpp
imageblurclampmode.cpp Refactor GaussianBlur 2018-04-25 15:01:07 +00:00
imageblurrepeatmode.cpp
imageblurtiled.cpp
imagefilters.cpp
imagefiltersbase.cpp rebase 2018-06-08 20:36:53 +00:00
imagefiltersclipped.cpp
imagefilterscropexpand.cpp
imagefilterscropped.cpp
imagefiltersgraph.cpp
imagefiltersscaled.cpp
imagefiltersstroked.cpp
imagefilterstransformed.cpp
imagefromyuvtextures.cpp gpu: Expose GrContextPriv::abandoned in the public API. 2018-06-27 01:08:45 +00:00
imagemagnifier.cpp
imagemakewithfilter.cpp
imagemasksubset.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
imageresizetiled.cpp
imagescalealigned.cpp
imagesource2.cpp
imagesource.cpp
internal_links.cpp
inversepaths.cpp
jpg_color_cube.cpp
largeglyphblur.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
lattice.cpp
lcdblendmodes.cpp
lcdoverlap.cpp
lcdtext.cpp
lighting.cpp
linepaths.cpp
localmatriximagefilter.cpp
localmatriximageshader.cpp
localmatrixshader.cpp Fix SkLocalMatrixShader nesting semantics 2018-04-04 18:54:28 +00:00
lumafilter.cpp
makecolorspace.cpp
makeRasterImage.cpp
mandoline.cpp ccpr: Cull extremely thin triangles 2018-04-24 15:23:06 +00:00
manypaths.cpp
matrixconvolution.cpp Fix srcBounds computation in SkMatrixConvolutionImageFilter 2018-05-17 17:06:24 +00:00
matriximagefilter.cpp
megalooper.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
mipmap.cpp
mixedtextblobs.cpp
modecolorfilters.cpp
morphology.cpp
multipicturedraw.cpp
nested.cpp
ninepatchstretch.cpp Make GMs with persistent SkImages that may be texture backed recreate 2018-05-24 18:59:19 +00:00
nonclosedpaths.cpp
occludedrrectblur.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
offsetimagefilter.cpp
orientation.cpp
ovals.cpp
overdrawcolorfilter.cpp
OverStroke.cpp
patch.cpp
path_stroke_with_zero_length.cpp Revert "Reland "Revert "Update GPU DM/nanobench configs for color testing""" 2018-06-28 18:20:17 +00:00
pathcontourstart.cpp
patheffects.cpp
pathfill.cpp path is rect track corners 2018-04-19 12:11:34 +00:00
pathinterior.cpp
pathmaskcache.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
pathmeasure.cpp add repro case for skia:7674 2018-03-22 17:19:14 +00:00
pathopsinverse.cpp
pathopsskpclip.cpp
pathreverse.cpp
pdf_never_embed.cpp Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
perlinnoise.cpp
perspimages.cpp Reland "Add support for SkCanvas::kStrict_SrcRectConstraint to GrTextureOp." 2018-05-26 18:33:39 +00:00
perspshaders.cpp Make GMs with persistent SkImages that may be texture backed recreate 2018-05-24 18:59:19 +00:00
picture.cpp
pictureimagefilter.cpp
pictureimagegenerator.cpp
pictureshader.cpp
pictureshadercache.cpp
pictureshadertile.cpp
pixelsnap.cpp
plus.cpp
points.cpp
poly2poly.cpp
polygonoffset.cpp Add ear-clipping code to triangulate simple polygons. 2018-06-29 13:29:57 +00:00
polygons.cpp
quadpaths.cpp
radial_gradient_precision.cpp
readpixels.cpp
recordopts.cpp
rectangletexture.cpp gpu: Expose GrContextPriv::abandoned in the public API. 2018-06-27 01:08:45 +00:00
rects.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
repeated_bitmap.cpp
resizeimagefilter.cpp Fix clipping of SkMatrixImageFilter input (take 2) 2018-05-10 12:59:02 +00:00
roundrects.cpp
rrect.cpp
rrectclipdrawpaint.cpp
rrects.cpp Plumb GrContext everywhere 2018-06-12 14:43:03 +00:00
samplerstress.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
savelayer.cpp Experiment to track coverage in a layer 2018-04-25 17:34:27 +00:00
scaledemoji.cpp Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
scaledstrokes.cpp
shadermaskfilter.cpp Reland "Fix handling of MaskFilter matrices" 2018-04-11 20:13:22 +00:00
shadertext2.cpp
shadertext3.cpp
shadertext.cpp
shadows.cpp
shadowutils.cpp Fall back to blurs for unsupported DrawShadow cases 2018-02-28 20:19:33 +00:00
shallowgradient.cpp
shapes_as_paths.cpp
shapes.cpp one more path is rect bug 2018-04-10 14:17:21 +00:00
sharedcorners.cpp ccpr: Add an attenuation parameter to triangle corners 2018-03-14 16:38:40 +00:00
showmiplevels.cpp Dest color space no longer impacts mipmaps or texture sampling 2018-06-01 17:00:26 +00:00
simple_magnification.cpp
simpleaaclip.cpp
simplerect.cpp
SkAnimTimer.h
skbug1719.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
skbug_257.cpp
skbug_4868.cpp
skbug_5321.cpp
smallarc.cpp
smallpaths.cpp Add a negative translation to one of the smallpath GMs 2018-03-09 21:14:41 +00:00
spritebitmap.cpp
srcmode.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
srgb.cpp
stlouisarch.cpp
stringart.cpp
stroke_rect_shader.cpp
strokedlines.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
strokefill.cpp
strokerect.cpp
strokerects.cpp
strokes.cpp
stroketext.cpp
subsetshader.cpp
surface.cpp
tablecolorfilter.cpp
tallstretchedbitmaps.cpp Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
testgradient.cpp
text_scale_skew.cpp
textblob.cpp Some iwyu for tests which will otherwise break. 2018-03-14 21:07:15 +00:00
textblobblockreordering.cpp
textblobcolortrans.cpp
textblobgeometrychange.cpp
textbloblooper.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
textblobmixedsizes.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
textblobrandomfont.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
textblobshader.cpp
textblobtransforms.cpp
textblobuseaftergpufree.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
texteffects.cpp Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
texturedomaineffect.cpp Plumb GrContext everywhere 2018-06-12 14:43:03 +00:00
thinconcavepaths.cpp GrTessellator: fix for overlapping outer boundary edges in AA case. 2018-06-05 13:58:59 +00:00
thinrects.cpp
thinstrokedrects.cpp
tiledscaledbitmap.cpp
tileimagefilter.cpp
tilemodes_scaled.cpp
tilemodes.cpp
tinybitmap.cpp
tonalshadows.cpp
tosrgb_colorfilter.cpp
transparency.cpp
typeface.cpp Non-normal blur styles to work with non-a8. 2018-05-10 23:00:56 +00:00
variedtext.cpp
vertices.cpp
verttext2.cpp
verttext.cpp
verylargebitmap.cpp
windowrectangles.cpp ccpr: Use lazy proxies with GrCCAtlas 2018-06-18 15:32:48 +00:00
xfermodeimagefilter.cpp
xfermodes2.cpp
xfermodes3.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
xfermodes.cpp
yuvtorgbeffect.cpp Plumb GrContext everywhere 2018-06-12 14:43:03 +00:00