skia2/gm
Brian Osman e956049450 Fix makeColorSpace on YUV images
This is a second attempt at https://skia-review.googlesource.com/c/skia/+/182816
This version ensures that SkImage::colorSpace() returns the target after
makeColorSpace has been called (to match user expectations, and match
behavior with lazy images). Given that, the xform is baked into the FP
within the maker, rather than externally (again, this matches the lazy
image behavior).

Additionally, the target color space needs to be taken into account when
flattening into the RGB proxy, and some base-class methods need to use
this->colorSpace() rather than fColorSpace to tag the output.

Added a GM that tests quite a few different scenarios. All images have
makeColorSpace() applied:

- Raster image (for reference)
- yuvImage
- yuvImage->makeSubset()
- yuvImage->makeNonTextureImage()
- readPixels(yuvImage)

All images should look the same as the top row. Verified that they do
match, in both untagged (gl) and tagged (glsrgb) configs.

I think there may still be some cases where we transform too many or too
few times, or incorrectly tag the result of an image operation, but this
is much more correct than before, and should (I hope) address Chrome's
immediate needs.

Bug: skia:8740
Change-Id: I5d501879866861a5ba91240f688d3f95711f7595
Reviewed-on: https://skia-review.googlesource.com/c/189494
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2019-02-06 13:45:20 +00:00
..
3dgm.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
aaa.cpp gm: delete boilerplate 2019-01-24 21:05:12 +00:00
aaclip.cpp gm: delete boilerplate 2019-01-24 21:05:12 +00:00
aarectmodes.cpp gm: delete boilerplate 2019-01-24 21:05:12 +00:00
aaxfermodes.cpp change textutils to require font param 2019-01-03 21:11:52 +00:00
addarc.cpp gm: delete boilerplate 2019-01-24 21:05:12 +00:00
all_bitmap_configs.cpp paint is losing its text-related fields 2019-01-04 21:54:49 +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 use font in SkTextUtils 2018-12-24 04:48:15 +00:00
animatedGif.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +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 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 sed s/drawSimpleText/drawString/ 2019-01-08 19:50:09 +00:00
atlastext.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
b_119394958.cpp Fix stroked round capped circular arc batched with filled circle. 2018-12-14 22:11:06 +00:00
badpaint.cpp use Make instead of Create to return a shared shader 2016-03-08 18:50:00 -08:00
beziereffects.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +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 use font for measuring 2018-12-13 15:35:10 +00:00
bigtileimagefilter.cpp Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
bitmapcopy.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
bitmapfilters.cpp add drawString to ease the pain of converting to skfont 2019-01-05 22:04:34 +00:00
bitmapimage.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +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 GM: replace boilerplate with macros 2015-09-09 08:16:41 -07:00
bitmapshader.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +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 use drawString with font 2019-01-07 15:03:06 +00:00
blurimagevmask.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +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 add drawString to ease the pain of converting to skfont 2019-01-05 22:04:34 +00:00
blurtextsmallradii.cpp use drawString with font 2019-01-07 15:03:06 +00:00
bmpfilterqualityrepeat.cpp add drawString to ease the pain of converting to skfont 2019-01-05 22:04:34 +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 gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +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 use fonts when making blobs 2018-12-22 23:07:22 +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 Reland "SkSL is now pickier about type conversions" 2019-02-06 02:40:59 +00:00
color4f.cpp hide virtual and rename to onMakeComposed 2018-02-19 19:40:14 +00:00
coloremoji_blendmodes.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
coloremoji.cpp Add getTypefaceOrDefault and refTypefaceOrDefault 2019-01-23 18:52:09 +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 add drawString to ease the pain of converting to skfont 2019-01-05 22:04:34 +00:00
complexclip2.cpp Revert[2] "remove SK_SUPPORT_LEGACY_CLIP_REGIONOPS" 2016-12-09 14:33:41 +00:00
complexclip3.cpp add drawString to ease the pain of converting to skfont 2019-01-05 22:04:34 +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 use font instead of paint 2018-12-15 19:11:13 +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 sed s/drawSimpleText/drawString/ 2019-01-08 19:50:09 +00:00
convex_all_line_paths.cpp two pass convexity 2018-12-13 13:04:44 +00:00
convexpaths.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
convexpolyclip.cpp add drawString to ease the pain of converting to skfont 2019-01-05 22:04:34 +00:00
convexpolyeffect.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
copyTo4444.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
crbug_691386.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +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
crbug_918512.cpp SkPDF: rasterize for color-filter+layer 2019-01-09 15:13:27 +00:00
croppedrects.cpp Fix croppedrects GM 2017-06-07 16:41:37 +00:00
crosscontextimage.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
cubicpaths.cpp use drawstring with font 2019-01-07 16:29:31 +00:00
daa.cpp use drawstring with font 2019-01-07 16:29:31 +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 add drawString to ease the pain of converting to skfont 2019-01-05 22:04:34 +00:00
degeneratesegments.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
dftext_blob_persp.cpp use fonts when making blobs 2018-12-22 23:07:22 +00:00
dftext.cpp use SkFont for text 2018-12-14 02:50:00 +00:00
discard.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
displacement.cpp Update DisplacementMapEffect to sk_sp 2016-04-15 07:17:36 -07:00
distantclip.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
downsamplebitmap.cpp use drawString with font 2019-01-07 15:03:06 +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 use SkFont for measuring and paths 2018-12-20 22:43:05 +00:00
drawatlascolor.cpp use drawString with font 2019-01-07 15:03:06 +00:00
drawbitmaprect.cpp use drawString with font 2019-01-07 15:03:06 +00:00
drawimageset.cpp Add non-srcover fallback for drawImageSet 2019-01-22 19:50:44 +00:00
drawlooper.cpp use drawString with font 2019-01-07 15:03:06 +00:00
drawminibitmaprect.cpp Always create a raster (cached) image 2018-01-04 21:25:54 +00:00
drawquadset.cpp Add new experimental API for rectangles with per-edge AA control 2019-01-23 16:45:01 +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 change textutils to require font param 2019-01-03 21:11:52 +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 gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
emboss.cpp drawText Cleanup 2019-01-08 15:26:36 +00:00
emptypath.cpp drawText Cleanup 2019-01-08 15:26:36 +00:00
encode-alpha-jpeg.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
encode-platform.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
encode-srgb.cpp tests: do not crash with missing resources. 2018-11-26 22:02:09 +00:00
encode.cpp drawText Cleanup, part 5 2019-01-09 16:10:30 +00:00
etc1.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
extractbitmap.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +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 gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
filltypespersp.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
filterbitmap.cpp use drawstring with font 2019-01-07 16:29:31 +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 Remove superfluous budgeted params and member related to SkImage_GpuBase 2018-12-20 15:58:55 +00:00
fontcache.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
fontmgr.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
fontregen.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
fontscaler.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
fontscalerdistortable.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
fwidth_squircle.cpp Reland "SkSL is now pickier about type conversions" 2019-02-06 02:40:59 +00:00
gamma.cpp use font for measuring 2018-12-22 12:23:07 +00:00
gammatext.cpp gm/gammagradienttext: Attempt to see what changed in gold. 2019-01-08 19:44:59 +00:00
getpostextpath.cpp use font for measuring/paths 2018-12-21 17:36:02 +00:00
giantbitmap.cpp Mark overridden destructors with 'override' and remove 'virtual' 2017-03-22 16:06:18 +00:00
glyph_pos.cpp Update SkCanonicalizeFont to also update paint 2018-12-16 21:29:40 +00:00
gm.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
gm.h Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
gradient_matrix.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
gradientDirtyLaundry.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +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 use drawstring with font 2019-01-07 16:29:31 +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 gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
grayscalejpg.cpp resources: orgainize directory. 2017-12-08 17:16:00 +00:00
hairlines.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
hairmodes.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
hardstop_gradients.cpp Remove trailing whitespace. 2017-10-09 21:20:34 +00:00
highcontrastfilter.cpp use drawstring with font 2019-01-07 16:29:31 +00:00
hittestpath.cpp remove unused SkCullPoints 2015-12-21 18:37:16 -08:00
hsl.cpp drawText Cleanup, part 2 2019-01-09 16:01:59 +00:00
hugepath.cpp Revert "Revert "add tiler for SkDraw"" 2018-03-07 19:39:00 +00:00
image_pict.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +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 Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
imagealphathreshold.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
imageblur2.cpp drawText Cleanup 2019-01-08 15:26:36 +00:00
imageblur.cpp use drawstring with font 2019-01-07 16:29:31 +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 use drawstring with font 2019-01-07 16:29:31 +00:00
imagefilters.cpp Revert "makeSurface defaults to raster" 2018-09-05 18:41:45 +00:00
imagefiltersbase.cpp drawText Cleanup 2019-01-08 15:26:36 +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 change textutils to require font param 2019-01-03 21:11:52 +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 Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
imagemagnifier.cpp drawText Cleanup 2019-01-08 15:26:36 +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 drawText Cleanup 2019-01-08 15:26:36 +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 gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +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 Rename SkGlyphCache -> SkStrike 2019-01-16 18:28:28 +00:00
lattice.cpp Support wide color in GrLatticeOp 2018-12-27 13:58:33 +00:00
lcdblendmodes.cpp use drawstring with font 2019-01-07 16:29:31 +00:00
lcdoverlap.cpp use font in tool_utils add_to_text_blob() 2018-12-23 03:56:05 +00:00
lcdtext.cpp drawText Cleanup 2019-01-08 15:26:36 +00:00
lighting.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
lightingshader2.cpp drawText Cleanup 2019-01-08 15:26:36 +00:00
lightingshader.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
linepaths.cpp drawText Cleanup, part 2 2019-01-09 16:01:59 +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 use font for measuring 2018-12-22 12:23:07 +00:00
makecolorspace.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +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 drawText Cleanup, part 2 2019-01-09 16:01:59 +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 drawText Cleanup, part 2 2019-01-09 16:01:59 +00:00
mixedtextblobs.cpp drawText Cleanup, part 2 2019-01-09 16:01:59 +00:00
modecolorfilters.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
morphology.cpp drawText Cleanup, part 2 2019-01-09 16:01:59 +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 tests: do not crash with missing resources. 2018-11-26 22:02:09 +00:00
ovals.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +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 add Leon's gradient to p3 GM 2019-01-30 17:43:11 +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 gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +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: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
pathopsskpclip.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
pathreverse.cpp Style bikeshed - remove extraneous whitespace 2016-03-29 09:03:53 -07:00
pdf_never_embed.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +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 drawText Cleanup, part 2 2019-01-09 16:01:59 +00:00
pictureimagegenerator.cpp don't use paint's gettextpath 2018-12-26 03:32:31 +00:00
pictureshader.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
pictureshadercache.cpp Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +00:00
pictureshadertile.cpp Replace a lot of 'static const' with 'constexpr' or 'const'. 2016-09-01 11:24:54 -07:00
pixelsnap.cpp drawText Cleanup, part 2 2019-01-09 16:01:59 +00:00
plus.cpp Revert[8] "replace SkXfermode obj with SkBlendMode enum in paints" 2016-10-05 17:33:03 -07:00
points.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
poly2poly.cpp IWYU 2019-01-22 20:48:15 +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 gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
radial_gradient_precision.cpp fix SkJumper radial gradient precision 2017-05-15 20:37:16 +00:00
readpixels.cpp Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +00:00
recordopts.cpp refFoo variant for getters that naturally have a sk_sp 2017-01-12 16:38:34 +00:00
rectangletexture.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
rects.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
repeated_bitmap.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
resizeimagefilter.cpp Fix clipping of SkMatrixImageFilter input (take 2) 2018-05-10 12:59:02 +00:00
roundrects.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +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 gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
savelayer.cpp add saveBehind to canvas 2018-12-19 14:44:09 +00:00
scaledemoji_rendering.cpp IWYU 2019-01-22 20:48:15 +00:00
scaledemoji.cpp IWYU 2019-01-22 20:48:15 +00:00
scaledstrokes.cpp Fix scaledstrokes GM 2016-04-08 14:03:00 -07:00
shadermaskfilter.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
shadertext3.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
shadows.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +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 Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +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 Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
simpleaaclip.cpp drawText Cleanup, part 2 2019-01-09 16:01:59 +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 accessors for RunBuffer as points or rsxforms 2019-01-02 04:10:36 +00:00
skbug_4868.cpp SkPDF: fix scalar serialization 2016-02-24 15:46:46 -08:00
skbug_5321.cpp use font instead of paint 2018-12-24 20:21:04 +00:00
skbug_8664.cpp Bugfix for Nexus 5 mipmap+scissor generation failure 2019-01-15 18:04:27 +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 drawText Cleanup, part 2 2019-01-09 16:01:59 +00:00
srgb.cpp hide virtual and rename to onMakeComposed 2018-02-19 19:40:14 +00:00
stlouisarch.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00: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 Fix occurrences of "-Wextra-semi-stmt" 2018-11-30 23:23:09 +00:00
strokefill.cpp drawText Cleanup, part 2 2019-01-09 16:01:59 +00:00
strokerect.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
strokerects.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
strokes.cpp switch to double in conic split on infinities 2018-02-02 16:50:29 +00:00
stroketext.cpp use font instead of paint 2018-12-24 20:21:04 +00:00
subsetshader.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
surface.cpp change textutils to require font param 2019-01-03 21:11:52 +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 use font instead of paint for text 2019-01-02 17:45:30 +00:00
textblob.cpp don't use paint's gettextpath 2018-12-26 03:32:31 +00:00
textblobblockreordering.cpp use font in tool_utils add_to_text_blob() 2018-12-23 03:56:05 +00:00
textblobcolortrans.cpp use font in tool_utils add_to_text_blob() 2018-12-23 03:56:05 +00:00
textblobgeometrychange.cpp use font in tool_utils add_to_text_blob() 2018-12-23 03:56:05 +00:00
textbloblooper.cpp drawText Cleanup, part 2 2019-01-09 16:01:59 +00:00
textblobmixedsizes.cpp use font in tool_utils add_to_text_blob() 2018-12-23 03:56:05 +00:00
textblobrandomfont.cpp Add a central skiagm::GM::DrawFailureMessage for error messages 2019-02-04 17:49:42 +00:00
textblobshader.cpp move work out of GM ctor 2018-12-28 16:36:52 +00:00
textblobtransforms.cpp use font in tool_utils add_to_text_blob() 2018-12-23 03:56:05 +00:00
textblobuseaftergpufree.cpp use font in tool_utils add_to_text_blob() 2018-12-23 03:56:05 +00:00
texteffects.cpp drawText Cleanup, part 2 2019-01-09 16:01:59 +00:00
texturedomaineffect.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
thinconcavepaths.cpp GrTessellator: fix for overlapping outer boundary edges in AA case. 2018-06-05 13:58:59 +00:00
thinrects.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00: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 drawText Cleanup, part 2 2019-01-09 16:01:59 +00:00
tilemodes.cpp drawText Cleanup, part 2 2019-01-09 16:01:59 +00:00
tinybitmap.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
tosrgb_colorfilter.cpp Reland "Add SkColorSpace factory from 3x3 row-major gamut and transfer function" 2019-01-05 20:06:51 +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 Add getTypefaceOrDefault and refTypefaceOrDefault 2019-01-23 18:52:09 +00:00
unpremul.cpp add unpremul gm 2018-10-31 15:41:30 +00:00
variedtext.cpp use font instead of paint for text 2019-01-02 17:45:30 +00:00
vertices.cpp move vertex-mode enum into SkVertices 2017-04-03 15:50:16 +00:00
verylargebitmap.cpp draw big images (with raster pipeline) 2018-12-18 22:41:30 +00:00
wacky_yuv_formats.cpp Fix makeColorSpace on YUV images 2019-02-06 13:45:20 +00:00
windowrectangles.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00
xfermodeimagefilter.cpp don't adapt any gray colors to 565 2018-08-16 19:13:41 +00:00
xfermodes2.cpp gm: use DEF_GM macro consistantly 2019-01-24 16:03:13 +00:00
xfermodes3.cpp Remove GM::onDrawBackground 2019-02-04 05:57:23 +00:00
xfermodes.cpp change textutils to require font param 2019-01-03 21:11:52 +00:00
yuvtorgbeffect.cpp Rename GrContext::contextPriv to priv 2019-02-04 22:13:14 +00:00