skia2/gm
Mike Klein 5625412f02 unify program() and uniforms()
It's clearer and more efficient to emit uniforms
as we use them.  The pattern to look for is something like

    skvm::I32 val = p->uniform32(uniforms, buf->bytes());
    buf->push_back(fVal);

where fVal holds the actual uniform value, and val is its program
counterpart.

Switching to SkTDArray lets us use friendlier methods like bytes() and
append(N) in the effect code.

It's a lot easier to follow this way once you get used to it and much
less error-prone.  No need to split the can-we-do-it logic up from the
uniform emission, and so no chance to write logic twice that
acccidentally disagrees.

Effects now always emit uniforms when you call program(), which means we
occasionally do that twice, once when building the Key to look up cached
programs, and once again when building the program if the cache misses.
That's not that big of a deal... it reuses the same memory exactly, and
I've added some notes around the code and assertions that everything
matches up exactly.  It only happens on cache miss, so it's dwarfed by
the cost of building and JITing the program anwyay.

Change-Id: I55a9252b11b2c0cd5f7ab8ace6df5fef29342c10
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/252837
Commit-Queue: Mike Klein <mtklein@google.com>
Reviewed-by: Mike Reed <reed@google.com>
2019-11-05 18:41:30 +00:00
..
aaa.cpp IWYU for gms starting with 'a'. 2019-04-30 19:39:37 +00:00
aaclip.cpp IWYU for gms starting with 'a'. 2019-04-30 19:39:37 +00:00
aarectmodes.cpp IWYU for gms starting with 'a'. 2019-04-30 19:39:37 +00:00
aaxfermodes.cpp IWYU for gms starting with 'a'. 2019-04-30 19:39:37 +00:00
addarc.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
all_bitmap_configs.cpp Add SkUNREACHABLE to definition of SK_ABORT. 2019-08-09 20:43:39 +00:00
alpha_image.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
alphagradients.cpp IWYU for gms starting with 'a'. 2019-04-30 19:39:37 +00:00
analytic_gradients.cpp IWYU for gms starting with 'a'. 2019-04-30 19:39:37 +00:00
androidblendmodes.cpp IWYU for gms starting with 'a'. 2019-04-30 19:39:37 +00:00
animated_gif.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
animatedimageblurs.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
anisotropic.cpp IWYU for gms starting with 'a'. 2019-04-30 19:39:37 +00:00
annotated_text.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
arcofzorro.cpp IWYU for gms starting with 'a'. 2019-04-30 19:39:37 +00:00
arcto.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
arithmode.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
asyncrescaleandread.cpp Reland "Reland "SkSurface asynchronous read APIs allow client to extend pixel lifetime"" 2019-10-03 19:14:22 +00:00
atlastext.cpp Revert "De-GL-ify tests, gm and tools" 2019-05-22 20:23:56 +00:00
b_119394958.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
backdrop_imagefilter_croprect.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
backdrop.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
badpaint.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
beziereffects.cpp More bounds fixes for StrokeRect and DefaultPath when using MSAA for non-aa. 2019-10-01 19:49:15 +00:00
beziers.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bigblurs.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bigmatrix.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bigrect.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bigrrectaaeffect.cpp Make stencilRect() in GrRTCPriv more flexible. 2019-05-29 19:30:31 +00:00
bigtext.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
bigtileimagefilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
bitmapcopy.cpp New proposed syntax for SkColorTypes 2019-09-19 20:42:55 +00:00
bitmapfilters.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bitmapimage.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bitmappremul.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bitmaprect.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bitmaprecttest.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bitmapshader.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bitmaptiled.cpp Remove maxCount resource cache limit 2019-09-03 14:59:51 +00:00
bleed.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
blend.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
blurcircles2.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
blurcircles.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
blurignorexform.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
blurimagevmask.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
blurpositioning.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
blurquickreject.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
blurrect.cpp blurrect_compare GM: draw "masks" in white for RGBA fallback. 2019-09-18 17:01:05 +00:00
blurredclippedcircle.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
blurroundrect.cpp remove code now that loopers are dead (w.r.t. canvas and paint) 2019-07-30 12:49:28 +00:00
blurs.cpp Blur both in x and y 2019-09-26 15:17:51 +00:00
blurtextsmallradii.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bmpfilterqualityrepeat.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bug5252.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bug6643.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bug6783.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bug9331.cpp add GM for skbug.com/9331 2019-08-12 19:32:40 +00:00
bug530095.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
bug615686.cpp IWYU for gms starting with 'b'. 2019-05-01 18:02:14 +00:00
cgm.c IWYU for gms. 2019-05-02 17:48:53 +00:00
cgms.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
circle_sizes.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
circles.cpp remove code now that loopers are dead (w.r.t. canvas and paint) 2019-07-30 12:49:28 +00:00
circulararcs.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
circularclips.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
clip_error.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
clip_strokerect.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
clipdrawdraw.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
clippedbitmapshaders.cpp gm: virtual->override 2019-07-18 18:07:52 +00:00
clockwise.cpp Revert "Reduce inputs to GrProgramDesc::Build method(s)" 2019-10-17 19:06:52 +00:00
collapsepaths.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
color4f.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
coloremoji_blendmodes.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
coloremoji.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
colorfilteralpha8.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
colorfilterimagefilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
colorfilters.cpp Reland: SkColorfilters::HSLAMatrix 2019-08-01 23:04:22 +00:00
colormatrix.cpp SkColorMatrix cleanup 2019-11-04 15:20:15 +00:00
colorwheel.cpp SkPaint: new constructor 2019-05-02 19:52:07 +00:00
complexclip2.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
complexclip3.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
complexclip4.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
complexclip_blur_tiled.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
complexclip.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
composeshader.cpp Optional local matrix for SkShaders factories 2019-07-09 18:09:14 +00:00
compositor_quads.cpp Respect ImageSetEntry alpha in one-at-a-time code path 2019-09-17 17:07:54 +00:00
concavepaths.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
conicpaths.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
constcolorprocessor.cpp Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
convex_all_line_paths.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
convexpaths.cpp gm: virtual->override 2019-07-18 18:07:52 +00:00
convexpolyclip.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
convexpolyeffect.cpp More bounds fixes for StrokeRect and DefaultPath when using MSAA for non-aa. 2019-10-01 19:49:15 +00:00
copy_to_4444.cpp gm: virtual->override 2019-07-18 18:07:52 +00:00
crbug_691386.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_788500.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
crbug_847759.cpp rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
crbug_884166.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_887103.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_892988.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_899512.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_905548.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
crbug_908646.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
crbug_913349.cpp GrTessellator: improved straight skeleton implementation. 2019-05-22 16:16:59 +00:00
crbug_918512.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_938592.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_946965.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_947055.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crbug_996140.cpp Don't use AA convex path renderer if direction can't be determined 2019-09-02 01:57:03 +00:00
croppedrects.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
crosscontextimage.cpp Remove MakeCrossContextFromEncoded, unused argument from ...FromPixmap 2019-08-15 17:10:28 +00:00
cubicpaths.cpp gm: add some overrides 2019-07-24 19:11:35 +00:00
daa.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
dashcircle.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
dashcubics.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
dashing.cpp gm: add some overrides 2019-07-24 19:11:35 +00:00
degeneratesegments.cpp gm: add some overrides 2019-07-24 19:11:35 +00:00
dftext_blob_persp.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
dftext.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
discard.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
displacement.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
distantclip.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
downsamplebitmap.cpp Reland "Reland "SkSurface asynchronous read APIs allow client to extend pixel lifetime"" 2019-10-03 19:14:22 +00:00
draw_bitmap_rect_skbug4374.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
drawable.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
drawatlas.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
drawatlascolor.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
drawbitmaprect.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
drawimageset.cpp Respect ImageSetEntry alpha in one-at-a-time code path 2019-09-17 17:07:54 +00:00
drawminibitmaprect.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
drawquadset.cpp Rename GrColorSpaceInfo -> GrColorInfo 2019-09-30 21:53:24 +00:00
drawregion.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
drawregionmodes.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
dropshadowimagefilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
drrect_small_inner.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
drrect.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
dstreadshuffle.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
emboss.cpp add a paint-color string to gm/emboss 2019-10-29 21:12:22 +00:00
emptypath.cpp gm: add some overrides 2019-07-24 19:11:35 +00:00
encode_alpha_jpeg.cpp Tests: re-sort gni, file name convention 2019-05-04 02:17:09 +00:00
encode_platform.cpp Tests: re-sort gni, file name convention 2019-05-04 02:17:09 +00:00
encode_srgb.cpp Tests: re-sort gni, file name convention 2019-05-04 02:17:09 +00:00
encode.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
etc1.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
extractbitmap.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
fadefilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
fatpathfill.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
fiddle.cpp Reland "add a stub for running fiddles as GMs" 2019-08-09 16:22:51 +00:00
filltypes.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
filltypespersp.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
filterbitmap.cpp gm: simplify several onName 2019-07-24 18:05:45 +00:00
filterbug.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
filterfastbounds.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
filterindiabox.cpp gm: simplify several onName 2019-07-24 18:05:45 +00:00
flippity.cpp Simplify sk_gpu_test::MakeTextureProxyFromData. 2019-10-21 20:04:37 +00:00
fontcache.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
fontmgr.cpp gm: simplify several onName 2019-07-24 18:05:45 +00:00
fontregen.cpp gm: add some overrides 2019-07-24 19:11:35 +00:00
fontscaler.cpp Add test for baseline snapping. 2019-08-28 16:35:55 +00:00
fontscalerdistortable.cpp Add test for baseline snapping. 2019-08-28 16:35:55 +00:00
fpcoordinateoverride.cpp Plumb GrColorType through all ops/processors that sample textures. 2019-10-15 18:34:37 +00:00
fwidth_squircle.cpp Revert "Reduce inputs to GrProgramDesc::Build method(s)" 2019-10-17 19:06:52 +00:00
gamma.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
gammatext.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
getpostextpath.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
giantbitmap.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
glyph_pos.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
gm.cpp Remove unused GM deferred canvas feature 2019-09-10 18:28:05 +00:00
gm.h Remove unused GM deferred canvas feature 2019-09-10 18:28:05 +00:00
gradient_dirty_laundry.cpp GMs: re-sort gni, script to regenerate gni, file name convention 2019-05-02 20:08:37 +00:00
gradient_matrix.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
gradients_2pt_conical.cpp gm: add some overrides 2019-07-24 19:11:35 +00:00
gradients_degenerate.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
gradients_no_texture.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
gradients.cpp gm: add some overrides 2019-07-24 19:11:35 +00:00
gradtext.cpp gm: virtual->override 2019-07-18 18:07:52 +00:00
grayscalejpg.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
hairlines.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
hairmodes.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
hardstop_gradients.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
highcontrastfilter.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
hittestpath.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
hsl.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
hugepath.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
image_pict.cpp More SkISizification in GPU code. 2019-10-22 15:04:07 +00:00
image_shader.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
image.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
imagealphathreshold.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imageblur2.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imageblur.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imageblurclampmode.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imageblurrepeatmode.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imageblurtiled.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imagefilters.cpp Add savelayer_with_backdrop GM to benchmark 2019-08-19 23:19:37 +00:00
imagefiltersbase.cpp Move the source image into Context 2019-08-15 12:31:11 +00:00
imagefiltersclipped.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imagefilterscropexpand.cpp Fix GMs broken during API porting 2019-08-05 14:53:45 +00:00
imagefilterscropped.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imagefiltersgraph.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imagefiltersscaled.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imagefiltersstroked.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imagefilterstransformed.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imagefromyuvtextures.cpp Add BT2020 (non-constant-luminance) YUV color space 2019-11-01 14:34:13 +00:00
imagemagnifier.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imagemakewithfilter.cpp Remove unused dstColorSpace parameter from makeTextureImage 2019-08-14 19:09:05 +00:00
imagemasksubset.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
imageresizetiled.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imagescalealigned.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
imagesource2.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
imagesource.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
internal_links.cpp gm: virtual->override 2019-07-18 18:07:52 +00:00
inverseclip.cpp ccpr: Don't assign inverse fill types to fan tessellations 2019-09-24 02:44:17 +00:00
inversepaths.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
jpg_color_cube.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
labyrinth.cpp Rename labrynth.cpp -> labyrinth.cpp 2019-07-29 22:16:29 +00:00
largeglyphblur.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
lattice.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
lcdblendmodes.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
lcdoverlap.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
lcdtext.cpp gm: add some overrides 2019-07-24 19:11:35 +00:00
lighting.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
lightingshader2.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
lightingshader.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
linepaths.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
localmatriximagefilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
localmatriximageshader.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
localmatrixshader.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
lumafilter.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
mac_aa_explorer.cpp GM: s/handleKey/onChar/ 2019-07-08 22:28:50 +00:00
make_raster_image.cpp GMs: re-sort gni, script to regenerate gni, file name convention 2019-05-02 20:08:37 +00:00
makecolorspace.cpp Fix crash in reinterpretcolorspace GM with abandoned context 2019-08-15 15:06:28 +00:00
mandoline.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
manypaths.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
matrixconvolution.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
matriximagefilter.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
mipmap.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
mixedtextblobs.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
mixercolorfilter.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
modecolorfilters.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
morphology.cpp Fix GMs broken during API porting 2019-08-05 14:53:45 +00:00
multipicturedraw.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
nested.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
ninepatchstretch.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
nonclosedpaths.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
offsetimagefilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
orientation.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
ovals.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
overdrawcanvas.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
overdrawcolorfilter.cpp gm: virtual->override 2019-07-18 18:07:52 +00:00
overstroke.cpp GMs: re-sort gni, script to regenerate gni, file name convention 2019-05-02 20:08:37 +00:00
p3.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
patch.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
path_stroke_with_zero_length.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
patharcto.cpp add gm for tricky arc 2019-07-26 18:11:04 +00:00
pathcontourstart.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
patheffects.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
pathfill.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
pathinterior.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
pathmaskcache.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
pathmeasure.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
pathopsinverse.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
pathopsskpclip.cpp Revert "add guard to switch to SkPathTypes" 2019-09-14 19:13:44 +00:00
pathreverse.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
pdf_never_embed.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
perlinnoise.cpp gm: virtual->override 2019-07-18 18:07:52 +00:00
perspimages.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
perspshaders.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
picture.cpp Test serializing pictures with cull rects 2019-08-14 21:59:43 +00:00
pictureimagefilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
pictureimagegenerator.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
pictureshader.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
pictureshadercache.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
pictureshadertile.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
pixelsnap.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
plus.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
points.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
poly2poly.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
polygonoffset.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
polygons.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
postercircle.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
preservefillrule.cpp ccpr: Add an MSAA atlas mode 2019-07-19 20:52:17 +00:00
quadpaths.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
radial_gradient_precision.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
rasterhandleallocator.cpp Add portable allocator to raster allocator test. 2019-08-14 22:14:13 +00:00
readpixels.cpp Remove unused dstColorSpace parameter from makeTextureImage 2019-08-14 19:09:05 +00:00
recordopts.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
rectangletexture.cpp Revert "De-GL-ify tests, gm and tools" 2019-05-22 20:23:56 +00:00
rects.cpp remove code now that loopers are dead (w.r.t. canvas and paint) 2019-07-30 12:49:28 +00:00
repeated_bitmap.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
resizeimagefilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
roundrects.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
rrect.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
rrectclipdrawpaint.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
rrects.cpp Make stencilRect() in GrRTCPriv more flexible. 2019-05-29 19:30:31 +00:00
runtimecolorfilter.cpp Revert "Revert "remove 'in uniform' support from GrSkSLFP, make rules more clear"" 2019-09-26 18:11:45 +00:00
runtimefunctions.cpp Revert "Revert "remove 'in uniform' support from GrSkSLFP, make rules more clear"" 2019-09-26 18:11:45 +00:00
runtimeshader.cpp Revert "Revert "remove 'in uniform' support from GrSkSLFP, make rules more clear"" 2019-09-26 18:11:45 +00:00
samplelocations.cpp Rename sampleVariablesSupport() to sampleMaskSupport() 2019-10-30 16:20:47 +00:00
samplerstress.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
savelayer.cpp update gm to better show the unclipped layers 2019-09-03 20:10:48 +00:00
scaledemoji_rendering.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
scaledemoji.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
scaledstrokes.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
shadermaskfilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
shadertext3.cpp gm: add some overrides 2019-07-24 19:11:35 +00:00
shadowutils.cpp Fix analytic shadows when rotated 180 degrees. 2019-07-24 19:17:45 +00:00
shallowgradient.cpp gm: simplify several onName 2019-07-24 18:05:45 +00:00
shapes.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
sharedcorners.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
showmiplevels.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
simple_magnification.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
simpleaaclip.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
simplerect.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
skbug1719.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
skbug_257.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
skbug_4868.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
skbug_5321.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
skbug_8664.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
skbug_8955.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
skbug_9319.cpp Make GrRectBlurEffect be analytical rather than use a texture LUT. 2019-08-14 13:35:37 +00:00
skinning.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
skvm.cpp unify program() and uniforms() 2019-11-05 18:41:30 +00:00
smallarc.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
smallpaths.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
spritebitmap.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
srcmode.cpp Remove unused GM deferred canvas feature 2019-09-10 18:28:05 +00:00
srgb.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
stlouisarch.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
stringart.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
stroke_rect_shader.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
strokedlines.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
strokefill.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
strokerect.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
strokerects.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
strokes.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
stroketext.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
subsetshader.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
surface.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
tablecolorfilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
tallstretchedbitmaps.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
testgradient.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
text_scale_skew.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
textblob.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
textblobblockreordering.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
textblobcolortrans.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
textblobgeometrychange.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
textbloblooper.cpp remove code now that loopers are dead (w.r.t. canvas and paint) 2019-07-30 12:49:28 +00:00
textblobmixedsizes.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
textblobrandomfont.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
textblobshader.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
textblobtransforms.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
textblobuseaftergpufree.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
texteffects.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
texturedomaineffect.cpp Plumb GrColorType through all ops/processors that sample textures. 2019-10-15 18:34:37 +00:00
thinconcavepaths.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
thinrects.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
thinstrokedrects.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
tiledscaledbitmap.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
tileimagefilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
tilemodes_alpha.cpp SkPaint: new constructor 2019-05-02 19:52:07 +00:00
tilemodes_scaled.cpp gm: simplify several onName 2019-07-24 18:05:45 +00:00
tilemodes.cpp gm: simplify several onName 2019-07-24 18:05:45 +00:00
tinybitmap.cpp gm: add some overrides 2019-07-24 19:11:35 +00:00
transparency.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
trickycubicstrokes.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
typeface.cpp Use SkFontHinting instead of macros. 2019-05-08 12:16:37 +00:00
unpremul.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
variedtext.cpp Use SkTextEncoding enum instead of macros. 2019-05-07 20:54:16 +00:00
vertices.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
verylargebitmap.cpp gm: simplify several onName 2019-07-24 18:05:45 +00:00
video_decoder.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
wacky_yuv_formats.cpp Add BT2020 (non-constant-luminance) YUV color space 2019-11-01 14:34:13 +00:00
windowrectangles.cpp More SkISizification in GPU code. 2019-10-22 15:04:07 +00:00
xfermodeimagefilter.cpp Update gms to use new image filter factories 2019-08-02 21:08:40 +00:00
xfermodes2.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
xfermodes3.cpp IWYU for gms. 2019-05-02 17:48:53 +00:00
xfermodes.cpp more rect api simplifications 2019-08-25 10:12:57 +00:00
xform.cpp tools: separate TimeUtils from AnimTimer 2019-07-12 15:05:01 +00:00
yuvtorgbeffect.cpp Make GrSamplerState.h and GrRenderTarget.h private 2019-08-15 12:22:11 +00:00