skia2/gm
Cary Clark c9b7c720dd two pass convexity
This separates the existing convexity logic into
two passes. The first pass detects concavity by
counting the changes in direction.
The second pass computes the cross product to
see that all angles bend in the same direction, and
computes the dot product to see if the angle
doubles back on itself.

The second pass treats axis-aligned vectors
separately, and computes the dot and cross products
by comparing point values; it does not use arithmetic
to determine convexity, so it works with all finite
values.

A compile time switch enables returning concave
for co-linear diagonal points:
If successive points are not axis-aligned, and
those points are co-linear along a diagonal;
the path is treated as concave. This is conservative
but avoids paths that change convexity when the
are translated or scaled, since transforming the
path may cause the midpoint to shift to either
side of a line formed by the endpoints.

The compile time switch is set so that co-linear
diagonal points do not affect convexity. Note that
this permits shapes formerly considered concave, such
as stroked lines with round caps, to become convex;
this accounts for many of the GM differences.

A path may double back on itself and be convex;
for instance, a path containing a single line.

Path may have multiple initial moveTo verbs, or
trailing moveTo verbs, and still evaluate as convex.

A separate entry point, SkPathPriv::IsConvex()
allows passing an array of points instead of a path.

A legacy define has been checked into Chrome to
use the old code until layout tests have been
rebaselined.

R=reed@google.com,bsalomon@google.com
Bug:899689
Change-Id: I392bbe04836ffb19666ad92ab2a2404c56543019
Reviewed-on: https://skia-review.googlesource.com/c/173427
Reviewed-by: Mike Reed <reed@google.com>
Reviewed-by: Cary Clark <caryclark@google.com>
Commit-Queue: Cary Clark <caryclark@skia.org>
2018-12-13 13:04:44 +00:00
..
3dgm.cpp re-precate SkMatrix44::SkMatrix44() 2018-10-04 14:01:11 +00:00
aaa.cpp Reland "Fix the fat rect bug in the threaded backend" 2018-04-18 19:52:43 +00:00
aaclip.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
aarectmodes.cpp Use SkBlendMode_Name rather than one-off tables 2017-03-15 16:52:49 +00:00
aaxfermodes.cpp hide the SkPaint::Align enum entirely 2018-10-30 17:26:47 +00:00
addarc.cpp SkCanvas: Helpers for draw{Point,Line,Circle} 2017-05-16 12:59:11 +00:00
all_bitmap_configs.cpp start to use font for measure, not paint 2018-12-02 21:31:36 +00:00
alpha_image.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
alphagradients.cpp
analytic_gradients.cpp Reland "Reland "Implement an explicit binary search-based analytic gradient colorizer"" 2018-10-04 13:10:29 +00:00
androidblendmodes.cpp hide the SkPaint::Align enum entirely 2018-10-30 17:26:47 +00:00
animatedGif.cpp use font for measuring 2018-12-12 23:47:15 +00:00
animatedimageblurs.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
anisotropic.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
annotated_text.cpp use font for measuring 2018-12-12 23:47:15 +00:00
arcofzorro.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
arcto.cpp
arithmode.cpp use font for measuring 2018-12-12 23:47:15 +00:00
atlastext.cpp start to use font for measure, not paint 2018-12-02 21:31:36 +00:00
badpaint.cpp
beziereffects.cpp Change how GPs configure attributes 2018-11-13 00:57:17 +00:00
beziers.cpp chmod -x *.cpp *.h 2016-10-27 16:41:14 +00:00
bigblurs.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
bigmatrix.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
bigrect.cpp Add bigrect GM. 2017-05-05 19:21:42 +00:00
bigrrectaaeffect.cpp Consolidate stroke-rect ops and use GrFillRectOp instead of GrNonAA/AARectOp 2018-12-11 16:33:35 +00:00
bigtext.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
bigtileimagefilter.cpp
bitmapcopy.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
bitmapfilters.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
bitmapimage.cpp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
bitmappremul.cpp Simplify bitmappremul GM a bit, remove more SkColorData 4444 macros 2018-11-02 21:03:30 +00:00
bitmaprect.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
bitmaprecttest.cpp
bitmapshader.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
bitmaptiled.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
bleed.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
blend.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
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 tests: do not crash with missing resources. 2018-11-26 22:02:09 +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 don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
blurroundrect.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
blurs.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
blurtextsmallradii.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
bmpfilterqualityrepeat.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
bug5252.cpp
bug6643.cpp clamp to premul in dither 2017-05-16 21:10:14 +00:00
bug6783.cpp fix repeat/mirror sampling bleed 2017-06-22 19:46:51 +00:00
bug530095.cpp
bug615686.cpp
cgm.c expand imageinfo in C api, start on colorspace 2018-09-28 17:52:59 +00:00
cgms.cpp
circle_sizes.cpp SkPDF: less tolerance for small circles 2017-11-27 14:59:45 +00:00
circles.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
circulararcs.cpp Use a smaller tolerance when chopping conics to quads 2018-11-20 16:42:04 +00:00
circularclips.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
clip_error.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
clip_strokerect.cpp
clipdrawdraw.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
clippedbitmapshaders.cpp
clockwise.cpp Reland "Reland "Have a GrBackendFormat be stored on gpu proxies."" 2018-11-19 18:51:07 +00:00
color4f.cpp hide virtual and rename to onMakeComposed 2018-02-19 19:40:14 +00:00
coloremoji_blendmodes.cpp flag to convert to SkTextEncoding 2018-12-03 15:20:36 +00:00
coloremoji.cpp use SkFontMetrics so we can deprecated the typedef 2018-11-12 15:03:03 +00:00
colorfilteralpha8.cpp Draw Alpha8 + color filter correctly in software 2016-10-31 14:42:52 +00:00
colorfilterimagefilter.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
colorfilters.cpp
colormatrix.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
colorwheel.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
complexclip2.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
complexclip3.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
complexclip4.cpp Add a method in SkCanvas to set "hard" clip bounds. 2016-12-12 23:24:31 +00:00
complexclip_blur_tiled.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
complexclip.cpp clean up to more modeern conventions 2018-08-17 03:14:19 +00:00
composeshader.cpp Revert "Revert "move GrColor.h to private, IWYU"" 2018-02-06 23:05:46 +00:00
concavepaths.cpp return this from maker calls, so we can chain the calls 2018-08-15 17:21:59 +00:00
conicpaths.cpp SkCanvas: Helpers for draw{Point,Line,Circle} 2017-05-16 12:59:11 +00:00
constcolorprocessor.cpp Consolidate stroke-rect ops and use GrFillRectOp instead of GrNonAA/AARectOp 2018-12-11 16:33:35 +00:00
convex_all_line_paths.cpp two pass convexity 2018-12-13 13:04:44 +00:00
convexpaths.cpp Use SDF path miplevels based on the original path's size 2017-02-16 13:35:20 +00:00
convexpolyclip.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
convexpolyeffect.cpp Change how GPs configure attributes 2018-11-13 00:57:17 +00:00
copyTo4444.cpp writePixels should notify GPU that pixels have changed 2018-02-21 13:58:22 +00:00
crbug_691386.cpp SkPDF: better tolerance path conversion to quadratics 2017-02-13 18:24:11 +00:00
crbug_788500.cpp Revert "Revert "Make PathGeoBuilder use consistent iterators."" 2017-11-29 16:18:45 +00:00
crbug_847759.cpp Preseve tangents when converting cubics->quads in GrAAHairlinePathRenderer 2018-09-07 20:21:24 +00:00
crbug_884166.cpp GrTessellator: two fixes for boundary simplification artifacts. 2018-09-26 23:57:59 +00:00
crbug_887103.cpp GrTessellator: two fixes for boundary simplification artifacts. 2018-09-26 23:57:59 +00:00
crbug_892988.cpp Fix dst copy bounds for aa draw contained within clip. 2018-11-16 19:24:04 +00:00
crbug_899512.cpp When outsetting for rect blur fast path use abs of scale factors. 2018-11-19 15:35:42 +00:00
crbug_905548.cpp Fix two GPU image filters handling of subset inputs 2018-12-03 16:46:29 +00:00
croppedrects.cpp Fix croppedrects GM 2017-06-07 16:41:37 +00:00
crosscontextimage.cpp tests: do not crash with missing resources. 2018-11-26 22:02:09 +00:00
cubicpaths.cpp Remove carriage returns. 2017-10-09 20:41:14 +00:00
daa.cpp convert bug fiddle into a GM 2018-12-12 18:07:42 +00:00
dashcircle.cpp fix circle dash 2018-12-05 02:16:04 +00:00
dashcubics.cpp Stop using SkTSwap. 2018-06-19 02:06:31 +00:00
dashing.cpp Make GrShape recognize horizontal/vertical dashed lines with 0 off intervals as rrects. 2017-12-21 22:45:15 +00:00
degeneratesegments.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
dftext_blob_persp.cpp Don't use MEM_MOVE=true with SkTArrays of sk_sp 2018-09-05 20:11:07 +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 move files out of private, and fix up callers to IWYU 2017-05-16 21:29:03 +00:00
downsamplebitmap.cpp refactor downsamplebitmap GM 2018-09-26 19:02:02 +00:00
draw_bitmap_rect_skbug4374.cpp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
drawable.cpp gm: s/SkAutoTUnref/sk_sp/ 2016-11-07 15:22:49 +00:00
drawatlas.cpp hide paint's getFontBounds 2018-12-04 23:20:44 +00:00
drawatlascolor.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
drawbitmaprect.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
drawimageset.cpp Make experimental_drawImageSet support per-quad alpha. 2018-11-21 14:50:41 +00:00
drawlooper.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
drawminibitmaprect.cpp Always create a raster (cached) image 2018-01-04 21:25:54 +00:00
drawquadset.cpp Reland "Initial definition of fill rect op" 2018-11-28 20:38:25 +00:00
drawregion.cpp Revert "Revert "IWYU"" 2017-02-13 15:59:35 +00:00
drawregionmodes.cpp Remove occluder feature from blur mask filter 2018-08-17 14:15:30 +00:00
dropshadowimagefilter.cpp hide the SkPaint::Align enum entirely 2018-10-30 17:26:47 +00:00
drrect_small_inner.cpp Revert "Revert "Fix rendering of drrects with small circular inner rrects."" 2017-12-01 21:25:39 +00:00
drrect.cpp
dstreadshuffle.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
emboss.cpp Alloc glyph image correctly for SkMask::k3D_Format. 2017-11-14 17:38:34 +00:00
emptypath.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
encode-alpha-jpeg.cpp tests: do not crash with missing resources. 2018-11-26 22:02:09 +00:00
encode-platform.cpp tests: do not crash with missing resources. 2018-11-26 22:02:09 +00:00
encode-srgb.cpp tests: do not crash with missing resources. 2018-11-26 22:02:09 +00:00
encode.cpp Remove unnecessary sk_tool_utils::EncodeImageToData 2018-09-25 12:02:26 +00:00
extractbitmap.cpp Move Views into Sample and Viewer. 2018-08-09 15:25:32 +00:00
fadefilter.cpp
fatpathfill.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
filltypes.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
filltypespersp.cpp
filterbitmap.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
filterbug.cpp Revert "Revert "move GrColor.h to private, IWYU"" 2018-02-06 23:05:46 +00:00
filterfastbounds.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
filterindiabox.cpp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
flippity.cpp start to use font for measure, not paint 2018-12-02 21:31:36 +00:00
fontcache.cpp start to use font for measure, not paint 2018-12-02 21:31:36 +00:00
fontmgr.cpp hide paint's getFontBounds 2018-12-04 23:20:44 +00:00
fontscaler.cpp Revert[4] "hide nested hinting enum" 2018-11-08 16:33:04 +00:00
fontscalerdistortable.cpp Whitespace Fixup 2018-07-11 19:27:58 +00:00
fwidth_squircle.cpp Reenable GrOp chaining. 2018-11-14 19:20:59 +00:00
gamma.cpp Remove SkPM4fPriv.h includes, then IWYU 2018-09-28 15:17:04 +00:00
gammatext.cpp remove platform_font_name() 2017-11-14 18:45:04 +00:00
getpostextpath.cpp Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
giantbitmap.cpp Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
glyph_pos.cpp Cleanup of large text rendering, take 2. 2018-02-08 22:42:40 +00:00
gm.cpp add unpremul gm 2018-10-31 15:41:30 +00:00
gm.h add unpremul gm 2018-10-31 15:41:30 +00:00
gradient_matrix.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
gradientDirtyLaundry.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
gradients_2pt_conical.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
gradients_degenerate.cpp Reland "Improve degenerate 2pt conical gradient cases" 2018-11-11 00:28:01 +00:00
gradients_no_texture.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
gradients.cpp remove noisy gm 2018-10-15 21:59:52 +00:00
gradtext.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
grayscalejpg.cpp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
hairlines.cpp
hairmodes.cpp Use SkBlendMode_Name rather than one-off tables 2017-03-15 16:52:49 +00:00
hardstop_gradients.cpp Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
highcontrastfilter.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
hittestpath.cpp
hsl.cpp Make SkColor4f <-> SkColor skip sRGB conversion 2018-08-22 17:03:45 +00:00
hugepath.cpp Revert "Revert "add tiler for SkDraw"" 2018-03-07 19:39:00 +00:00
image_pict.cpp Reland "Reland "Have a GrBackendFormat be stored on gpu proxies."" 2018-11-19 18:51:07 +00:00
image_shader.cpp Revert "Revert "Change image encode api to return sk_sp"" 2017-07-12 15:44:35 +00:00
image.cpp Remove unnecessary sk_tool_utils::EncodeImageToData 2018-09-25 12:02:26 +00:00
imagealphathreshold.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
imageblur2.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
imageblur.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
imageblurclampmode.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
imageblurrepeatmode.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
imageblurtiled.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
imagefilters.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
imagefiltersbase.cpp hide the SkPaint::Align enum entirely 2018-10-30 17:26:47 +00:00
imagefiltersclipped.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
imagefilterscropexpand.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
imagefilterscropped.cpp hide the SkPaint::Align enum entirely 2018-10-30 17:26:47 +00:00
imagefiltersgraph.cpp remove unused mode parameter from SkMergeImageFilter 2017-06-19 14:01:56 +00:00
imagefiltersscaled.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
imagefiltersstroked.cpp update more gms to use textutils 2018-10-25 20:58:59 +00:00
imagefilterstransformed.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
imagefromyuvtextures.cpp Add rowBytes to createTestingOnlyBackendTexture 2018-09-25 13:48:29 +00:00
imagemagnifier.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
imagemakewithfilter.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
imagemasksubset.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
imageresizetiled.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
imagescalealigned.cpp SkCanvas: Helpers for draw{Point,Line,Circle} 2017-05-16 12:59:11 +00:00
imagesource2.cpp
imagesource.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
internal_links.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
inversepaths.cpp Remove redundant parentheses. 2017-10-17 22:02:41 +00:00
jpg_color_cube.cpp Remove unnecessary sk_tool_utils::EncodeImageToData 2018-09-25 12:02:26 +00:00
largeglyphblur.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
lattice.cpp Fix occurrences of "-Wextra-semi-stmt" 2018-11-30 23:23:09 +00:00
lcdblendmodes.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
lcdoverlap.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
lcdtext.cpp add platform_font_manager() 2017-11-13 17:00:51 +00:00
lighting.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
lightingshader2.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
lightingshader.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
linepaths.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
localmatriximagefilter.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
localmatriximageshader.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
localmatrixshader.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
lumafilter.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
makecolorspace.cpp tests: do not crash with missing resources. 2018-11-26 22:02:09 +00:00
makeRasterImage.cpp tests: do not crash with missing resources. 2018-11-26 22:02:09 +00:00
mandoline.cpp modify gm to avoid creating t-junctions between degernate curves and lines 2018-10-08 18:05:21 +00:00
manypaths.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
matrixconvolution.cpp (Almost) no one needs to know about SkPixelRef 2018-10-19 19:31:37 +00:00
matriximagefilter.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
megalooper.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
mipmap.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
mixedtextblobs.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
modecolorfilters.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
morphology.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
multipicturedraw.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
nested.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
ninepatchstretch.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
nonclosedpaths.cpp
offsetimagefilter.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
orientation.cpp tests: do not crash with missing resources. 2018-11-26 22:02:09 +00:00
ovals.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
overdrawcolorfilter.cpp Fix occurrences of "-Wextra-semi-stmt" 2018-11-30 23:23:09 +00:00
OverStroke.cpp move parts of SkPoint to SkPointPriv 2017-11-08 18:25:17 +00:00
p3.cpp Fix sampling location for dashed circle in p3_ovals 2018-11-21 21:17:04 +00:00
patch.cpp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
path_stroke_with_zero_length.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
pathcontourstart.cpp
patheffects.cpp Pull non-substantive changes out of GrShape mask drawing CL 2018-08-17 20:33:22 +00:00
pathfill.cpp path is rect track corners 2018-04-19 12:11:34 +00:00
pathinterior.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
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 GM: some header cleanup 2017-03-22 18:11:49 +00:00
pathopsskpclip.cpp
pathreverse.cpp
pdf_never_embed.cpp Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
perlinnoise.cpp Fix some fuzzer bugs from Skia's image filter fuzzer 2018-01-23 19:54:00 +00:00
perspimages.cpp Reland "Add support for SkCanvas::kStrict_SrcRectConstraint to GrTextureOp." 2018-05-26 18:33:39 +00:00
perspshaders.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
picture.cpp move files out of private, and fix up callers to IWYU 2017-05-16 21:29:03 +00:00
pictureimagefilter.cpp Revert "Revert "Remove MakeForLocalSpace since picture image is sufficient"" 2017-11-09 21:50:27 +00:00
pictureimagegenerator.cpp move files out of private, and fix up callers to IWYU 2017-05-16 21:29:03 +00:00
pictureshader.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
pictureshadercache.cpp re-precate SkMatrix44::SkMatrix44() 2018-10-04 14:01:11 +00:00
pictureshadertile.cpp
pixelsnap.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
plus.cpp
points.cpp
poly2poly.cpp flag to convert to SkTextEncoding 2018-12-03 15:20:36 +00:00
polygonoffset.cpp Rip out variable offsetting 2018-09-05 19:54:31 +00:00
polygons.cpp
quadpaths.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
radial_gradient_precision.cpp fix SkJumper radial gradient precision 2017-05-15 20:37:16 +00:00
readpixels.cpp tests: do not crash with missing resources. 2018-11-26 22:02:09 +00:00
recordopts.cpp refFoo variant for getters that naturally have a sk_sp 2017-01-12 16:38:34 +00:00
rectangletexture.cpp Revert "Revert "Use unnormalized coords all the way through with GL_TEXTURE_RECTANGLE textures."" 2018-12-06 21:12:09 +00:00
rects.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
repeated_bitmap.cpp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
resizeimagefilter.cpp Fix clipping of SkMatrixImageFilter input (take 2) 2018-05-10 12:59:02 +00:00
roundrects.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
rrect.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
rrectclipdrawpaint.cpp Rename GrDrawContext to GrRenderTargetContext 2016-10-27 19:14:09 +00:00
rrects.cpp Consolidate stroke-rect ops and use GrFillRectOp instead of GrNonAA/AARectOp 2018-12-11 16:33:35 +00:00
samplerstress.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
savelayer.cpp Experiment to track coverage in a layer 2018-04-25 17:34:27 +00:00
scaledemoji_rendering.cpp use SkFontMetrics so we can deprecated the typedef 2018-11-12 15:03:03 +00:00
scaledemoji.cpp use SkFontMetrics so we can deprecated the typedef 2018-11-12 15:03:03 +00:00
scaledstrokes.cpp
shadermaskfilter.cpp tests: do not crash with missing resources. 2018-11-26 22:02:09 +00:00
shadertext3.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
shadows.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
shadowutils.cpp Fall back to blurs for unsupported DrawShadow cases 2018-02-28 20:19:33 +00:00
shallowgradient.cpp don't adapt gray colors to 565 2018-08-16 13:58:18 +00:00
shapes_as_paths.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
shapes.cpp one more path is rect bug 2018-04-10 14:17:21 +00:00
sharedcorners.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +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 don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
simpleaaclip.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
simplerect.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
skbug1719.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
skbug_257.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
skbug_4868.cpp
skbug_5321.cpp flag to convert to SkTextEncoding 2018-12-03 15:20:36 +00:00
skinning.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
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 Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
srgb.cpp hide virtual and rename to onMakeComposed 2018-02-19 19:40:14 +00:00
stlouisarch.cpp
stringart.cpp Change cubicmap to eval directly (no table) 2018-08-13 23:23:15 +00:00
stroke_rect_shader.cpp
strokedlines.cpp Fix occurrences of "-Wextra-semi-stmt" 2018-11-30 23:23:09 +00:00
strokefill.cpp Add analytic clip FPs that read from the CCPR atlas 2017-12-05 18:06:18 +00:00
strokerect.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
strokerects.cpp
strokes.cpp switch to double in conic split on infinities 2018-02-02 16:50:29 +00:00
stroketext.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
subsetshader.cpp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
surface.cpp Revert "Revert "add rect-parameter to makeImageSnapshot"" 2018-11-21 14:46:06 +00:00
tablecolorfilter.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
tallstretchedbitmaps.cpp Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
testgradient.cpp A simple gradient test 2017-02-13 18:23:09 +00:00
text_scale_skew.cpp hide the SkPaint::Align enum entirely 2018-10-30 17:26:47 +00:00
textblob.cpp New plan -- aa and lcd DO belong on SkFont 2018-11-12 19:30:16 +00:00
textblobblockreordering.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
textblobcolortrans.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
textblobgeometrychange.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
textbloblooper.cpp use SkFont in a lot of places 2018-11-21 20:44:03 +00:00
textblobmixedsizes.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
textblobrandomfont.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
textblobshader.cpp New plan -- aa and lcd DO belong on SkFont 2018-11-12 19:30:16 +00:00
textblobtransforms.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
textblobuseaftergpufree.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
texteffects.cpp add gm calling textblob intercepts with spacing 2018-12-12 18:29:45 +00:00
texturedomaineffect.cpp Consolidate stroke-rect ops and use GrFillRectOp instead of GrNonAA/AARectOp 2018-12-11 16:33:35 +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 hide trivial helpers on canvas 2017-02-22 19:41:04 +00:00
tileimagefilter.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
tilemodes_scaled.cpp hide the SkPaint::Align enum entirely 2018-10-30 17:26:47 +00:00
tilemodes.cpp hide the SkPaint::Align enum entirely 2018-10-30 17:26:47 +00:00
tinybitmap.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
tosrgb_colorfilter.cpp re-precate SkMatrix44::SkMatrix44() 2018-10-04 14:01:11 +00:00
transparency.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
trickycubicstrokes.cpp Reland "ccpr: Implement stroking with fine triangle strips" 2018-09-03 10:16:28 +00:00
typeface.cpp clean up conditional code for SkTextEncoding 2018-12-05 17:42:33 +00:00
unpremul.cpp add unpremul gm 2018-10-31 15:41:30 +00:00
variedtext.cpp Remove internal use of SkTypeface::Style. 2017-07-27 21:30:45 +00:00
vertices.cpp move vertex-mode enum into SkVertices 2017-04-03 15:50:16 +00:00
verylargebitmap.cpp SkColorSpace: remove named API, add gamut API 2017-02-07 19:33:37 +00:00
wacky_yuv_formats.cpp Add use of RG textures in wacky_yuv_formats 2018-12-06 20:51:15 +00:00
windowrectangles.cpp Reland "Reland "Have a GrBackendFormat be stored on gpu proxies."" 2018-11-19 18:51:07 +00:00
xfermodeimagefilter.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
xfermodes2.cpp hide the SkPaint::Align enum entirely 2018-10-30 17:26:47 +00:00
xfermodes3.cpp add textutils 2018-10-25 17:50:20 +00:00
xfermodes.cpp hide the SkPaint::Align enum entirely 2018-10-30 17:26:47 +00:00
yuvtorgbeffect.cpp Consolidate stroke-rect ops and use GrFillRectOp instead of GrNonAA/AARectOp 2018-12-11 16:33:35 +00:00