skia2/gm
Michael Ludwig 72535fb55a Reland "Reland "Implement an explicit binary search-based analytic gradient colorizer""
This is a reland of f065907ccc

3rd time's the charm:

The new analytic gradient shader was sporadically triggering violations of the coverage as alpha
compatibility optimization. Unfortunately, even when using the same device and random seed for the
test, the bots did not always reproduce the error. However, we identified the likely cause of the
violation.

The test requires that all output channels are less than the input alpha, which it uses to validate
whether or not the shader is modulating its values by the input alpha. This test does not pass if
the RGB values are greater than 1. The original version of the analytic gradient shader used half4s
for its scale and bias values. Given the threshold limit for hardstops of 0.00024 (SkNearlyZero),
a very small interval that is not treated as a hardstop can create a scale or bias of over 4000.
This moves into the very imprecise region of 16-bit floats, making it plausible that the gradient
outputs colors greater than 1, due to rounding. The kicker is that the random test generation for
stop locations does not use a uniform distribution, but is instead biased towards the remaining
interval, which increases the likelihood of generating a small interval that is not treated as a
hard stop. We are keeping this behavior since ill-conditioned gradients are useful in testing.

Original change's description:
> Reland "Implement an explicit binary search-based analytic gradient colorizer"
>
> This reverts commit 9461dcf130.
>
> Reason for revert: Fixes for ANGLE's incorrect shader behavior
>
> Original change's description:
> > Revert "Implement an explicit binary search-based analytic gradient colorizer"
> >
> > This reverts commit dcc85fc610.
> >
> > Reason for revert: ANGLE is frequently corrupted, particularly radial_gradient4 and mixershader
> >
> > Original change's description:
> > > Implement an explicit binary search-based analytic gradient colorizer
> > >
> > > Provides a reasonably flexible fragment processor that defines another
> > > colorizer implementation for gradients. It can support up to 8
> > > interpolation intervals (which is 16 colors if every stop is a hard stop
> > > or 9 colors if every stop is a smooth transition). It
> > > supports mixtures of hard and smooth stops. It is conditionally compiled
> > > into versions specific to the interval count (so it can produce up to
> > > 8 shader variants).
> > >
> > > The GrGradientShader controller does not remove the single and dual
> > > interval colorizers, which are useful specializations of this explicit
> > > binary search colorizer. Similarly, since it can only handle up to 8
> > > intervals, the texture colorizer is still used as a fallback.
> > >
> > > Currently it does not employ capabilities detection to determine if the
> > > hardware can support the number of required uniforms, which can become
> > > substantial for the larger gradient configurations.
> > >
> > > Bug: chromium:796479, chromium:729727, chromium:696603, chromium:543625, chromium:414254
> > > Change-Id: Ia1f735a5019766ae4796cc22964b2913db34b95b
> > > Reviewed-on: https://skia-review.googlesource.com/155080
> > > Commit-Queue: Michael Ludwig <michaelludwig@google.com>
> > > Reviewed-by: Brian Osman <brianosman@google.com>
> >
> > TBR=bsalomon@google.com,brianosman@google.com,michaelludwig@google.com
> >
> > Change-Id: I351a387f0528e4c2db2d47ab2e5d6b336991fb98
> > No-Presubmit: true
> > No-Tree-Checks: true
> > No-Try: true
> > Bug: chromium:796479, chromium:729727, chromium:696603, chromium:543625, chromium:414254
> > Reviewed-on: https://skia-review.googlesource.com/156541
> > Reviewed-by: Michael Ludwig <michaelludwig@google.com>
> > Commit-Queue: Michael Ludwig <michaelludwig@google.com>
>
> TBR=bsalomon@google.com,brianosman@google.com,michaelludwig@google.com
>
> Change-Id: I2aca36307d88c26905d860ec29417ec68c6037cc
> Bug: chromium:796479, chromium:729727, chromium:696603, chromium:543625, chromium:414254
> Reviewed-on: https://skia-review.googlesource.com/156542
> Reviewed-by: Michael Ludwig <michaelludwig@google.com>
> Commit-Queue: Michael Ludwig <michaelludwig@google.com>

Bug: chromium:796479, chromium:729727, chromium:696603, chromium:543625, chromium:414254
Change-Id: I2d050624781c77cdd160291cadbadac602b48bde
Reviewed-on: https://skia-review.googlesource.com/c/157569
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
2018-10-04 13:10:29 +00:00
..
3dgm.cpp [skottie] GM exercising external font loading 2018-09-20 19:05:35 +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
aaflags.cpp Don't crash in aaflags GM if context is abandoned 2018-10-02 17:31:00 +00:00
aarectmodes.cpp Use SkBlendMode_Name rather than one-off tables 2017-03-15 16:52:49 +00:00
aaxfermodes.cpp GrColor -> SkColor in one GM 2018-09-19 20:05:22 +00:00
addarc.cpp SkCanvas: Helpers for draw{Point,Line,Circle} 2017-05-16 12:59:11 +00:00
all_bitmap_configs.cpp Add F16 test-case to all_bitmap_configs 2018-09-12 17:44:25 +00:00
alpha_image.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +00:00
alphagradients.cpp Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
analytic_gradients.cpp Reland "Reland "Implement an explicit binary search-based analytic gradient colorizer"" 2018-10-04 13:10:29 +00:00
androidblendmodes.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
animatedGif.cpp play with animated gif 2018-10-03 14:43:18 +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 Move off SK_SUPPORT_LEGACY_DATA_FACTORIES. 2016-08-02 14:40:46 -07:00
arcofzorro.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
arcto.cpp Reland of "switch patheffects over to sk_sp (patchset #5 id:80001 of https://codereview.chromium.org/1813553005/ )" 2016-03-18 11:22:57 -07:00
arithmode.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
atlastext.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
badpaint.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
beziereffects.cpp Centralize the predicate for a glyph being too large for the atlas 2018-09-05 19:25:29 +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 Plumb GrContext everywhere 2018-06-12 14:43:03 +00:00
bigtext.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
bigtileimagefilter.cpp Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
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 make most of SkColorPriv.h private 2017-09-15 16:31:35 +00:00
bitmaprect.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
bitmaprecttest.cpp GM: replace boilerplate with macros 2015-09-09 08:16:41 -07:00
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 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 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 fix hairline clip 2016-05-12 07:07:05 -07:00
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 Reland of "switch patheffects over to sk_sp (patchset #5 id:80001 of https://codereview.chromium.org/1813553005/ )" 2016-03-18 11:22:57 -07:00
bug615686.cpp always compute a cubic tangent 2016-06-01 04:42:02 -07:00
cgm.c expand imageinfo in C api, start on colorspace 2018-09-28 17:52:59 +00:00
cgms.cpp C API: remove dead code, simplify boilerplate 2015-07-31 15:16:23 -07:00
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 Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07: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 allow clip calls w/o op param, remove unnecessary kReplace ops 2016-09-21 11:15:07 -07:00
clipdrawdraw.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
clippedbitmapshaders.cpp Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
clockwise.cpp Add support for per-edge AA to GrTextureOp. 2018-10-02 16:45:07 +00:00
color4f.cpp hide virtual and rename to onMakeComposed 2018-02-19 19:40:14 +00:00
coloremoji_blendmodes.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
coloremoji.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +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 adjust gm bounds for better content fit 2016-04-11 07:46:38 -07:00
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 don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
convex_all_line_paths.cpp Fix GrAAConvexTessellator to handle cases slightly concave bistectors. 2018-09-05 19:46:30 +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 Centralize the predicate for a glyph being too large for the atlas 2018-09-05 19:25:29 +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
croppedrects.cpp Fix croppedrects GM 2017-06-07 16:41:37 +00:00
crosscontextimage.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
cubicpaths.cpp Remove carriage returns. 2017-10-09 20:41:14 +00:00
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 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 Update DisplacementMapEffect to sk_sp 2016-04-15 07:17:36 -07:00
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 delete textonpath code -- not used anywhere 2018-10-01 16:52:32 +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
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
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 add drawString helper to canvas 2017-04-28 20:41:04 +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 C++11 override should now be supported by all of {bots,Chrome,Android,Mozilla} 2015-03-25 18:17:32 -07:00
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 Replace nearly all kRespect with kIgnore 2018-07-12 20:54:14 +00:00
encode-platform.cpp Replace nearly all kRespect with kIgnore 2018-07-12 20:54:14 +00:00
encode-srgb.cpp Support encoding/decoding F16 without a color space 2018-09-28 15:05:59 +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 Update SkColorFilterImageFilter to sk_sp 2016-04-05 11:50:42 -07:00
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 partial switch over to sp usage of shaders 2016-03-09 09:50:50 -08:00
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 don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
fontcache.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
fontmgr.cpp Improve SkTestFontMgr. 2018-07-13 15:01:04 +00:00
fontscaler.cpp add platform_font_manager() 2017-11-13 17:00:51 +00:00
fontscalerdistortable.cpp Whitespace Fixup 2018-07-11 19:27:58 +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
gamut.cpp Remove SkPM4fPriv.h includes, then IWYU 2018-09-28 15:17: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_expectations.h Delete dead code. SkBitmapHasher has not been used since gm. 2016-02-16 18:38:15 -08:00
gm.cpp simplify gm matrices 2017-08-08 12:43:19 +00:00
gm.h sk_tool::Registry: make an iterator. 2018-08-01 16:59:19 +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_no_texture.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
gradients.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +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 Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
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 remove unused SkCullPoints 2015-12-21 18:37:16 -08:00
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 Remove old lazy image decoding heuristic logic 2018-07-11 14:07:08 +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 Fix imagefiltersbase GM in ColorSpaceXformCanvas configs 2018-08-06 17:53:17 +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 don't adapt any gray colors to 565 2018-08-16 19:13:41 +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 GM: some header cleanup 2017-03-22 18:11:49 +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 Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
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 Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +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 Replace nearly all kRespect with kIgnore 2018-07-12 20:54:14 +00:00
makeRasterImage.cpp Revert "Revert "fix legacy makeRasterImage()"" 2018-01-12 16:00:00 +00:00
mandoline.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
manypaths.cpp GM: some header cleanup 2017-03-22 18:11:49 +00:00
matrixconvolution.cpp Remove matrixconvolution GM hacks for linear blending 2018-07-10 20:14:05 +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 Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
offsetimagefilter.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
orientation.cpp Add a GM and images to test SkEncodedOrigin 2018-01-17 16:14:16 +00:00
ovals.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
overdrawcolorfilter.cpp Add SkOverdrawColorFilter 2016-11-22 21:27:42 +00:00
OverStroke.cpp move parts of SkPoint to SkPointPriv 2017-11-08 18:25:17 +00:00
p3.cpp add interp-in-premul case to GM 2018-09-20 18:36:21 +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 Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
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 allow clip calls w/o op param, remove unnecessary kReplace ops 2016-09-21 11:15:07 -07:00
pathreverse.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
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 Use dstColorSpace in SkPictureShader cache key 2017-04-21 19:34:43 +00:00
pictureshadertile.cpp Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
pixelsnap.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
plus.cpp Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
points.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
poly2poly.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
polygonoffset.cpp Rip out variable offsetting 2018-09-05 19:54:31 +00:00
polygons.cpp Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
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 Reland "clamp gamut if needed in SkConvertPixels" 2018-10-02 18:50:25 +00:00
recordopts.cpp refFoo variant for getters that naturally have a sk_sp 2017-01-12 16:38:34 +00:00
rectangletexture.cpp Centralize the predicate for a glyph being too large for the atlas 2018-09-05 19:25:29 +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 don't adapt any gray colors to 565 2018-08-16 19:13:41 +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 don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
scaledemoji.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
scaledstrokes.cpp Fix scaledstrokes GM 2016-04-08 14:03:00 -07:00
shadermaskfilter.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +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 SkPDF: fix scalar serialization 2016-02-24 15:46:46 -08:00
skbug_5321.cpp Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
skinning.cpp test,tools: whitespace changes for clang-format 2018-09-19 17:50:51 +00:00
smallarc.cpp GM: replace boilerplate with macros 2015-09-09 08:16:41 -07:00
smallpaths.cpp Add a negative translation to one of the smallpath GMs 2018-03-09 21:14:41 +00:00
spritebitmap.cpp Update SkBlurImageFilter to sk_sp 2016-04-04 04:31:25 -07:00
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 IWYU: 'core' target, files starting A-C. 2015-08-05 13:57:49 -07:00
stringart.cpp Change cubicmap to eval directly (no table) 2018-08-13 23:23:15 +00:00
stroke_rect_shader.cpp Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
strokedlines.cpp hide SkBlurMaskFilter and SkBlurQuality 2018-03-14 17:27:36 +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 Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
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 "makeSurface defaults to raster" 2018-09-05 18:41:45 +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 SkPDF: fix fTextScaleX error 2017-11-28 20:48:37 +00:00
textblob.cpp Some iwyu for tests which will otherwise break. 2018-03-14 21:07:15 +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 Don't use MEM_MOVE=true with SkTArrays of sk_sp 2018-09-05 20:11:07 +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 GM: some header cleanup 2017-03-22 18:11:49 +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 Revert "Revert "SkTypes: extract SkTo"" 2018-06-14 14:55:17 +00:00
texturedomaineffect.cpp Remove raw-data version of createTextureProxy 2018-09-12 15:00:46 +00:00
thinconcavepaths.cpp GrTessellator: fix for overlapping outer boundary edges in AA case. 2018-06-05 13:58:59 +00:00
thinrects.cpp Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
thinstrokedrects.cpp Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
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 IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
tilemodes.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
tinybitmap.cpp IWYU: SkUtils.h 2018-08-21 16:05:44 +00:00
tonalshadows.cpp Remove deprecated drawShadow interfaces 2018-02-28 19:07:29 +00:00
tosrgb_colorfilter.cpp Remove SkPM4fPriv.h includes, then IWYU 2018-09-28 15:17:04 +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 Improve SkTestFontMgr. 2018-07-13 15:01:04 +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
verttext2.cpp remove platform_font_name() 2017-11-14 18:45:04 +00:00
verttext.cpp Remove internal use of SkTypeface::Style. 2017-07-27 21:30:45 +00:00
verylargebitmap.cpp SkColorSpace: remove named API, add gamut API 2017-02-07 19:33:37 +00:00
wacky_yuv_formats.cpp Add GM for less common YUV formats (take 2) 2018-10-03 17:22:02 +00:00
windowrectangles.cpp ccpr: Use lazy proxies with GrCCAtlas 2018-06-18 15:32:48 +00:00
xfermodeimagefilter.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
xfermodes2.cpp add drawString helper to canvas 2017-04-28 20:41:04 +00:00
xfermodes3.cpp Remove SK_SUPPORT_GPU checks in tool-only code 2018-05-31 18:59:44 +00:00
xfermodes.cpp Some SkPM4f cleanup 2018-09-20 17:47:02 +00:00
yuvtorgbeffect.cpp Remove raw-data version of createTextureProxy 2018-09-12 15:00:46 +00:00