skia2/gm
Kevin Lubick 1f8c31b101 [infra] Add initial Bazel rules and files
These rules can be used to build our GMs on WASM+WebGL and
libskia.a with just the CPU backend (and most other features
turned off).

This can be done with the following commands:
  - bazel build //modules/canvaskit:gm-bindings-wasm --gpu_backend=gl_backend --with_gl_standard=webgl_standard
  - bazel build :skia-core --config clang

This pivots slightly from http://review.skia.org/463517
by using config_settings [1] instead of platforms for
the optional features that we control. This pivot was
suggested in [2]

We have BUILD.bazel files in many of the subdirectories
that specify filegroups for the appropriate files. In
an effort to make //BUILD.bazel more readable, it is
the responsibility of these subfolders to deal with
conditionally including certain .h or .cpp files.
This is done using select statements and config_settings
or platform constraints as necessary.

For example, src/gpu/BUILD.bazel will different private
filegroups for each of the supported gpu backends [3]
and a more-visible filegroup called "srcs" that has
the right selection of the private files to be used
for compilation.

An effort has been made to avoid using glob() in our
BUILD.bazel files. These file lists were made by using
`ls -1` and some regex to add in quotes. We might want
to make a helper script to assist with that, if necessary.

To specify which options we have, the settings in
//bazel/common_config_settings/BUILD.bazel have been
redesigned. They make use of a macro `string_flag_with_values`
that removes the boilerplate. Patchset 36 shows what the
file looks like w/o the macro.

The top level BUILD.bazel file will still need to use
some logic to handle defines, because local_defines is
a list of strings, not a list of labels [4].

Suggested Review Order:
  - WORKSPACE.bazel to see the new dependencies on the
    emsdk toolchain and bazel_skylib
  - bazel/common_config_settings/* to see the few settings
    defined (we have more to define, see BUILD.gn and
    //gn/skia.gni for ideas)
  - BUILD.bazel to see the "skia-core" cc_library rule.
    See also "gms" and "tests"
  - modules/canvaskit/BUILD.bazel to see the use of
    the emscripten "wasm_cc_binary" rule, which depends
    on the "skia-core", "gms", and "tests" rule. Note that
    it only builds some of the gms as a proof of concept.
  - The other BUILD.bazel files. Some of these are not
    platform or feature dependent (e.g. pathops). Others
    are (e.g. gpu).
  - All other files.

[1] https://docs.bazel.build/versions/4.2.1/skylark/config.html#user-defined-build-settings
[2] https://github.com/emscripten-core/emsdk/pull/920
[3] In this CL, that's just the webgl one.
[4] https://docs.bazel.build/versions/main/be/c-cpp.html#cc_library.local_defines

Change-Id: Ieecf9c106d5e3a6ae97d13d66be06b4b3c207089
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/458637
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
Owners-Override: Kevin Lubick <kjlubick@google.com>
2021-11-09 12:32:25 +00:00
..
verifiers drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
3d.cpp Move Sk3Perspective and Sk3Lookat into SkM44 2021-03-24 15:47:22 +00:00
aaa.cpp Move convexity enum out of public 2020-08-30 13:04:22 +00:00
aaclip.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
aarecteffect.cpp Prepare headers for making all ops V1-only 2021-08-12 15:09:11 +00:00
aarectmodes.cpp Bitmap should use sampling options 2020-12-12 15:36:21 +00:00
aaxfermodes.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
addarc.cpp Reland "Enable GrTessellationPathRenderer by default" 2021-01-04 19:43:41 +00:00
all_bitmap_configs.cpp drawBitmap is deprecated 2021-01-24 04:36:04 +00:00
alpha_image.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
alphagradients.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
analytic_gradients.cpp Convert binary unrolled gradient colorizer to GrSkSLFP 2021-07-08 13:48:05 +00:00
androidblendmodes.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
animated_gif.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
animated_image_orientation.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
animatedimageblurs.cpp move SkTPin to include/private 2020-10-16 19:45:11 +00:00
anisotropic.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
annotated_text.cpp
arcofzorro.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
arcto.cpp Fix cases of variable shadowing in gm/. 2021-08-02 19:02:56 +00:00
arithmode.cpp Generalize composing imagefilters and shaders to blenders 2021-07-26 21:07:51 +00:00
asyncrescaleandread.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
b_119394958.cpp Remove ableist language 2021-06-16 21:37:21 +00:00
backdrop_imagefilter_croprect.cpp
backdrop.cpp Experimental support for lower-resolution backdrop filter eval 2021-10-18 14:46:05 +00:00
badpaint.cpp Bitmap should use sampling options 2020-12-12 15:36:21 +00:00
bc1_transparency.cpp Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +00:00
beziereffects.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
beziers.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
bicubic.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
bigblurs.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
bigmatrix.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
bigrect.cpp
bigrrectaaeffect.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
bigtext.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
bigtileimagefilter.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
bitmapcopy.cpp Reland "Add sRGB 8888 colortype" 2021-08-24 12:56:32 +00:00
bitmapfilters.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
bitmapimage.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
bitmappremul.cpp More hiding of legacy drawImage calls 2021-01-22 13:53:42 +00:00
bitmaprect.cpp drawBitmap is deprecated 2021-01-24 04:36:04 +00:00
bitmaprecttest.cpp drawBitmap is deprecated 2021-01-24 04:36:04 +00:00
bitmapshader.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
bitmaptiled.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
bleed.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
blend.cpp
blurcircles2.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
blurcircles.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
blurignorexform.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
blurimagevmask.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
blurpositioning.cpp
blurquickreject.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
blurrect.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
blurredclippedcircle.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
blurroundrect.cpp Remove ableist language 2021-06-16 21:37:21 +00:00
blurs.cpp Ensure that blur result is identity if both sigmas are near-zero 2021-01-27 21:37:30 +00:00
blurtextsmallradii.cpp
bmpfilterqualityrepeat.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
bug5252.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
bug6643.cpp Must pass filtering to picture shader 2021-03-18 22:18:47 +00:00
bug6783.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
bug9331.cpp
bug530095.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
bug615686.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
BUILD.bazel [infra] Add initial Bazel rules and files 2021-11-09 12:32:25 +00:00
cgm.c Hide legacy drawImage methods 2021-01-20 00:59:26 +00:00
cgms.cpp
circle_sizes.cpp
circulararcs.cpp Fix cases of variable shadowing in gm/. 2021-08-02 19:02:56 +00:00
circularclips.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
clear_swizzle.cpp Fission GrSurfaceFillContext into skgpu:: and skgpu::v1:: versions (take 2) 2021-08-04 19:40:55 +00:00
clip_error.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
clip_sierpinski_region.cpp
clip_strokerect.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
clipdrawdraw.cpp
clippedbitmapshaders.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
clockwise.cpp Store the correct number of samples in GrProgramInfo 2021-08-26 17:24:47 +00:00
collapsepaths.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
color4f.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
coloremoji_blendmodes.cpp Fix cases of variable shadowing in gm/. 2021-08-02 19:02:56 +00:00
coloremoji.cpp Remove ableist language 2021-06-16 21:37:21 +00:00
colorfilteralpha8.cpp More hiding of legacy drawImage calls 2021-01-22 13:53:42 +00:00
colorfilterimagefilter.cpp Remove SkShaders::Lerp 2021-06-18 16:40:08 +00:00
colorfilters.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
colormatrix.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
colorspace.cpp SkCanvas::makeSurface() can fail 2021-01-08 20:49:36 +00:00
colorwheel.cpp
colrv1.cpp Minor comment fixes in COLRv1 GM and implementation 2021-11-04 15:10:18 +00:00
complexclip2.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
complexclip3.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
complexclip4.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
complexclip_blur_tiled.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
complexclip.cpp Use SkClipOp::kFoo instead of kFoo_SkClipOp from SkClipOpPriv 2021-08-03 18:08:21 +00:00
composecolorfilter.cpp Convert internal SkSL to use .eval() 2021-09-03 15:54:54 +00:00
composeshader.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
compositor_quads.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
compressed_textures.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
concavepaths.cpp Use factories to avoid using (deprecated) path editing methods 2020-08-24 19:53:13 +00:00
conicpaths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
constcolorprocessor.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
convex_all_line_paths.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
convexpaths.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
convexpolyclip.cpp Reland "Remove SkTLList" 2021-08-10 17:57:41 +00:00
convexpolyeffect.cpp Prepare headers for making all ops V1-only 2021-08-12 15:09:11 +00:00
copy_to_4444.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
crbug_224618.cpp Move more Ops to skgpu::v1 namespace 2021-09-02 13:25:29 +00:00
crbug_691386.cpp
crbug_788500.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
crbug_847759.cpp Move several more PathRenderers to skgpu::v1 namespace 2021-08-17 22:19:11 +00:00
crbug_884166.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
crbug_887103.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
crbug_892988.cpp
crbug_899512.cpp
crbug_905548.cpp Add SkImageFilters::Blend rename for Xfermode filter 2020-10-13 14:28:26 +00:00
crbug_908646.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
crbug_913349.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
crbug_918512.cpp
crbug_938592.cpp
crbug_946965.cpp
crbug_947055.cpp
crbug_996140.cpp Add arc methods to path builder 2020-08-03 15:50:01 +00:00
crbug_1041204.cpp
crbug_1073670.cpp
crbug_1086705.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
crbug_1113794.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
crbug_1139750.cpp Avoid infinite inverse inner-radii in eliiptical rrect op 2020-11-02 20:01:04 +00:00
crbug_1156804.cpp Improve clamp mode in GPU blur with downsampling. 2020-12-11 18:43:20 +00:00
crbug_1162942.cpp Fix DrawEdgeAAQuad degenerate issue where 3D points don't correctly project to 2D points. 2021-01-19 17:33:45 +00:00
crbug_1167277.cpp GrQuadUtils: Handle degenerate persp quads where edges intersect outside quad 2021-01-20 23:01:23 +00:00
crbug_1174186.cpp Drop AA on quads that are extremely thin before AA insetting/outsetting. 2021-02-10 02:43:35 +00:00
crbug_1174354.cpp Fix downsampled blur with clamp mode. 2021-03-03 14:15:31 +00:00
crbug_1177833.cpp Reland "Fix issues with insetting and outsetting quads." 2021-02-25 17:44:12 +00:00
crbug_1257515.cpp Fix winding when splitting edges at out-of-bounds vertices 2021-10-11 23:49:37 +00:00
crop_imagefilter.cpp Implement separate crop filter 2021-09-24 20:18:36 +00:00
croppedrects.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
crosscontextimage.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
cubicpaths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
daa.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
dashcircle.cpp fix races in dashcircle.cpp 2021-03-01 20:18:21 +00:00
dashcubics.cpp do work in onBefore, not in constructor 2020-10-30 20:54:11 +00:00
dashing.cpp Handle overflow of accumulated rect perimeter in SkDaskPath cull_path 2021-02-10 18:32:12 +00:00
degeneratesegments.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
destcolor.cpp Move ProgramImpl definitions into Processor subclass headers. 2021-08-11 19:45:56 +00:00
dftext_blob_persp.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
dftext.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
discard.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
displacement.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
distantclip.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
draw_bitmap_rect_skbug4374.cpp drawBitmap is deprecated 2021-01-24 04:36:04 +00:00
drawable.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
drawatlas.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
drawatlascolor.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
drawbitmaprect.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
drawglyphs.cpp Move SkSpan to include/, for use in public API 2021-05-12 13:19:32 +00:00
drawimageset.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
drawminibitmaprect.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
drawquadset.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
drawregion.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
drawregionmodes.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
dropshadowimagefilter.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
drrect_small_inner.cpp
drrect.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
dsl_processor_test.cpp Consistency among GrFP::ProgramImpl subclasses 2021-08-11 13:59:46 +00:00
dstreadshuffle.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
ducky_yuv_blend.cpp Pass sampling to drawimage 2021-01-24 03:07:23 +00:00
emboss.cpp filter-quality is deprecated, pass sampling to drawImage 2021-01-28 03:22:51 +00:00
emptypath.cpp use pathbuilder 2020-08-25 22:27:20 +00:00
encode_alpha_jpeg.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
encode_color_types.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
encode_platform.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
encode_srgb.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
encode.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
exoticformats.cpp Remove SkImage_Base::peekProxy. 2021-02-23 19:59:31 +00:00
fadefilter.cpp
fatpathfill.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
fiddle.cpp
fillrect_gradient.cpp Add test slide that mirrors the Chrome fillrect_gradient test. 2021-10-12 00:43:58 +00:00
filltypes.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
filltypespersp.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
filterbug.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
filterfastbounds.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
filterindiabox.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
flippity.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
fontcache.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
fontmgr.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
fontregen.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
fontscaler.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
fontscalerdistortable.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
fp_sample_chaining.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
fpcoordinateoverride.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
fwidth_squircle.cpp Store the correct number of samples in GrProgramInfo 2021-08-26 17:24:47 +00:00
gammatext.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
getpostextpath.cpp
giantbitmap.cpp Stop using filterquality 2021-07-18 15:48:36 +00:00
glyph_pos.cpp GM glyph_pos correct advance placement. 2021-02-09 22:21:10 +00:00
gm.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
gm.h Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
gpu_blur_utils.cpp Pipe all SDC creation through the recording context 2021-08-02 16:04:52 +00:00
gradient_dirty_laundry.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
gradient_matrix.cpp
gradients_2pt_conical.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
gradients_degenerate.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
gradients_no_texture.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
gradients.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
gradtext.cpp
graphitestart.cpp [graphite] Partially connect Recorder, DrawBufferManager, DrawPass, and UniformCache. 2021-10-29 22:31:34 +00:00
grayscalejpg.cpp
hairlines.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
hairmodes.cpp Bitmap should use sampling options 2020-12-12 15:36:21 +00:00
hardstop_gradients_many.cpp Create hardstop_gradients_many test slide. 2021-10-11 13:44:02 +00:00
hardstop_gradients.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
highcontrastfilter.cpp Migrate work from constructors to onOnceBeforeDraw. 2020-11-05 15:43:42 +00:00
hittestpath.cpp Revert "Revert "use pathbuilder"" 2020-08-26 17:35:34 +00:00
hsl.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
hugepath.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
image_pict.cpp Rename GrSurfaceContext -> skgpu::SurfaceContext 2021-08-10 19:24:53 +00:00
image_shader.cpp Simplify common case for recttorect 2021-01-15 18:37:46 +00:00
image.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
imagealphathreshold.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
imageblur2.cpp
imageblur.cpp
imageblurclampmode.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
imageblurrepeatmode.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
imageblurtiled.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
imagefilters.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
imagefiltersbase.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
imagefiltersclipped.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
imagefilterscropexpand.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
imagefilterscropped.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
imagefiltersgraph.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
imagefiltersscaled.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
imagefiltersstroked.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
imagefilterstransformed.cpp Add GM for failing Image image filter 2021-05-18 20:48:44 +00:00
imagefromyuvtextures.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
imagemagnifier.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
imagemakewithfilter.cpp Guard legacy matrixtransforms, and expose new one 2021-02-01 22:10:39 +00:00
imagemasksubset.cpp Pass sampling to drawimage 2021-01-24 03:07:23 +00:00
imageresizetiled.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
imagescalealigned.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
imagesource2.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
imagesource.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
internal_links.cpp
inverseclip.cpp Revert "Revert "use pathbuilder"" 2020-08-26 17:35:34 +00:00
inversepaths.cpp add static factories for SkPath 2020-08-02 23:40:06 +00:00
jpg_color_cube.cpp move SkTPin to include/private 2020-10-16 19:45:11 +00:00
labyrinth.cpp use pathbuilder 2020-08-17 22:05:00 +00:00
largeclippedpath.cpp Move tessellation ops to skgpu::v1 namespace 2021-08-26 15:17:52 +00:00
largeglyphblur.cpp
lattice.cpp Hide misc non-sampling draw methods 2021-01-25 17:54:56 +00:00
lazytiling.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
lcdblendmodes.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
lcdoverlap.cpp Fix gms placing text in bounds. 2020-09-28 16:35:13 +00:00
lcdtext.cpp
lighting.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
linepaths.cpp
localmatriximagefilter.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
localmatriximageshader.cpp Name common cubic resamplers 2021-02-05 19:21:04 +00:00
localmatrixshader.cpp Simplify common case of linear filtering with no mips 2021-01-15 16:47:16 +00:00
lumafilter.cpp Move WithWorkingFormat to SkColorFilterPriv 2021-11-03 20:30:50 +00:00
mac_aa_explorer.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
make_raster_image.cpp
makecolorspace.cpp get image from skcodec 2021-01-25 21:50:16 +00:00
mandoline.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
manypathatlases.cpp Non-substantive changes for making v1::SurfaceDrawContext V1-only 2021-08-02 19:22:58 +00:00
manypaths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
matrixconvolution.cpp don't use drawBitmap 2021-01-26 02:24:21 +00:00
matriximagefilter.cpp Stop using filterquality 2021-07-17 03:11:32 +00:00
mipmap.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
mixedtextblobs.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
mixercolorfilter.cpp promote the runtime mixer CF to the only mixer CF 2021-02-19 11:43:47 +00:00
modecolorfilters.cpp Bitmap should use sampling options 2020-12-12 15:36:21 +00:00
morphology.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
nested.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
ninepatchstretch.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
nonclosedpaths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
offsetimagefilter.cpp Hide SkImageFilter::CropRect 2021-01-30 16:10:29 +00:00
orientation.cpp Fix images used in orientation GMs 2020-12-17 15:48:25 +00:00
ovals.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
overdrawcanvas.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
overdrawcolorfilter.cpp drawBitmap is deprecated 2021-01-24 04:36:04 +00:00
overstroke.cpp Clean up remaining NVPR bits & bobs 2021-03-23 19:12:12 +00:00
p3.cpp Fix p3_ovals GM on high-DPI displays. 2021-06-18 17:30:20 +00:00
particles.cpp Move code generators to codegen/ directory. 2021-04-13 15:34:24 +00:00
patch.cpp Revert "Revert "Use explicit samplingoptions"" 2020-12-09 03:08:09 +00:00
path_stroke_with_zero_length.cpp Update error handling in DDL-averse GMs 2020-10-14 16:42:01 +00:00
patharcto.cpp Don't assume extended (check perspective) 2021-08-04 21:01:11 +00:00
pathcontourstart.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
patheffects.cpp Pass CTM to path effects (experimental) 2021-07-13 18:42:55 +00:00
pathfill.cpp Use Wang's formula for quadratic and cubic point counts 2021-05-12 18:33:33 +00:00
pathinterior.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
pathmaskcache.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
pathmeasure.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
pathopsinverse.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
pathreverse.cpp use pathbuilder 2020-08-25 16:29:48 +00:00
pdf_never_embed.cpp
perlinnoise.cpp Remove Improved Perlin Noise 2021-01-11 15:27:26 +00:00
perspimages.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
perspshaders.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
picture.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
pictureimagefilter.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
pictureimagegenerator.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
pictureshader.cpp Scale picture shader (GPU) by input alpha 2021-09-24 19:11:34 +00:00
pictureshadercache.cpp Must pass filtering to picture shader 2021-03-18 22:18:47 +00:00
pictureshadertile.cpp Must pass filtering to picture shader 2021-03-18 22:18:47 +00:00
pixelsnap.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
plus.cpp
points.cpp drawPoints with maskfilter fix 2021-09-13 19:22:35 +00:00
poly2poly.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
polygonoffset.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
polygons.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
postercircle.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
preservefillrule.cpp Guard TopDeviceSurfaceFillContext calls for null return values. 2021-07-30 15:36:45 +00:00
quadpaths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
radial_gradient_precision.cpp
rasterhandleallocator.cpp Fix Wunused-but-set-variable warnings 2021-08-05 21:49:18 +00:00
readpixels.cpp get image from skcodec 2021-01-25 21:50:16 +00:00
recordopts.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
rectangletexture.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
repeated_bitmap.cpp
resizeimagefilter.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
roundrects.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
rrect.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
rrectclipdrawpaint.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
rrects.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
rsxtext.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
runtimecolorfilter.cpp Convert some SkRuntimeEffect::Make to use stage-specific factories 2021-04-21 16:19:57 +00:00
runtimefunctions.cpp Convert some SkRuntimeEffect::Make to use stage-specific factories 2021-04-21 16:19:57 +00:00
runtimeimagefilter.cpp Rename shaders named input in test code. 2021-09-30 17:24:11 +00:00
runtimeintrinsics.cpp Add ES3 versions of min/max/mix/clamp to public SkSL. 2021-08-24 17:14:50 +00:00
runtimeshader.cpp Add GM to demonstrate inconsistent scaling of shader by paint alpha 2021-10-19 13:04:42 +00:00
samplerstress.cpp Use sampling for bitmap shaders 2020-12-12 20:10:41 +00:00
savelayer.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
scaledemoji_rendering.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
scaledemoji.cpp handle perspective glyph drawing correctly 2021-04-27 18:16:31 +00:00
scaledstrokes.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
shadermaskfilter.cpp
shadertext3.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
shadowutils.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
shallowgradient.cpp
shapes.cpp Remove undefined behavior from innershapes gm 2021-03-12 16:00:46 +00:00
sharedcorners.cpp Fix cases of variable shadowing in /gm/. 2021-08-13 03:35:15 +00:00
showmiplevels.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
simple_magnification.cpp Bitmap.asImage() 2020-12-23 15:54:57 +00:00
simpleaaclip.cpp Simplify SkAAClip to use SkClipOp, not SkRegion::Op 2021-09-20 20:12:38 +00:00
simplerect.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
skbug1719.cpp
skbug_257.cpp Use samplingoptions for bitmap shader 2020-12-12 17:08:11 +00:00
skbug_4868.cpp
skbug_5321.cpp
skbug_8664.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
skbug_8955.cpp
skbug_9319.cpp
skbug_9819.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
skbug_12212.cpp Create test case to repro skia:12212. 2021-07-30 17:41:13 +00:00
smallarc.cpp
smallpaths.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
spritebitmap.cpp drawBitmap is deprecated 2021-01-24 14:48:44 +00:00
srcmode.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
srgb.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
stlouisarch.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
stringart.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
stroke_rect_shader.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
strokedlines.cpp Use samplingoptions for bitmap shader 2020-12-12 17:08:11 +00:00
strokefill.cpp Simplify firstdirection 2020-08-30 15:01:02 +00:00
strokerect_anisotropic.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
strokerect.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
strokerects.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
strokes.cpp Revert "Reland "Reland "Omit inner join geometry when possible""" 2021-08-04 20:29:09 +00:00
stroketext.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
subsetshader.cpp Use samplingoptions for bitmap shader 2020-12-12 17:08:11 +00:00
surface.cpp Copy on write for wrapped backend texture surfaces. 2021-03-05 19:50:05 +00:00
swizzle.cpp Fission GrSurfaceFillContext into skgpu:: and skgpu::v1:: versions (take 2) 2021-08-04 19:40:55 +00:00
tablecolorfilter.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
tallstretchedbitmaps.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
tessellation.cpp Store the correct number of samples in GrProgramInfo 2021-08-26 17:24:47 +00:00
testgradient.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
texelsubset.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
text_scale_skew.cpp
textblob.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
textblobblockreordering.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
textblobcolortrans.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
textblobgeometrychange.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
textblobmixedsizes.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
textblobrandomfont.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
textblobshader.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
textblobtransforms.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
textblobuseaftergpufree.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
texteffects.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
thinconcavepaths.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
thinrects.cpp Account for hairline mode in rect op bounds for clipping 2021-07-13 17:33:13 +00:00
thinstrokedrects.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
tiledscaledbitmap.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
tileimagefilter.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
tilemodes_alpha.cpp Revert "Revert "Use explicit samplingoptions"" 2020-12-09 03:08:09 +00:00
tilemodes_scaled.cpp Stop using SkFilterQuality 2021-07-17 01:55:42 +00:00
tilemodes.cpp Fix cases of variable shadowing in test code. 2021-08-11 20:38:09 +00:00
tinybitmap.cpp Use samplingoptions for bitmap shader 2020-12-12 17:08:11 +00:00
transparency.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
trickycubicstrokes.cpp Move the GrTessellationPathRenderer into the skgpu::v1 namespace 2021-08-25 17:16:28 +00:00
typeface.cpp Fix typeface GMs to draw or skip 2021-08-10 21:36:55 +00:00
unpremul.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
userfont.cpp SkCustomTypefaceBuilder to set SkFontStyle 2020-08-19 00:09:55 +00:00
variedtext.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
vertices.cpp Fix cases of variable shadowing in gm/. 2021-08-02 19:02:56 +00:00
verylargebitmap.cpp Pass sampling to drawImage 2021-01-24 00:04:33 +00:00
video_decoder.cpp Fix video_decoder GM 2021-01-31 00:29:20 +00:00
wacky_yuv_formats.cpp Rename GrSurfaceDrawContext to skgpu::v1::SurfaceDrawContext 2021-07-28 20:12:10 +00:00
widebuttcaps.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00
windowrectangles.cpp Delete GrClipStackClip and GrReducedClip 2021-08-09 18:53:58 +00:00
xfermodeimagefilter.cpp drawBitmap is deprecated, use drawImage 2021-01-25 01:44:55 +00:00
xfermodes2.cpp Use samplingoptions for bitmap shader 2020-12-12 17:08:11 +00:00
xfermodes3.cpp Pass sampling to surface.draw 2021-01-06 19:05:00 +00:00
xfermodes.cpp Fix cases of variable shadowing in test code. 2021-08-11 20:38:09 +00:00
xform.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
ycbcrimage.cpp Retract the SDC from GMs where possible (take 2) 2021-06-03 16:21:27 +00:00
yuv420_odd_dim.cpp skip, don't fail, yuva420_odd_dim_repeat on abandoned context. 2021-05-24 20:16:14 +00:00
yuvtorgbsubset.cpp Make class members that are static constexpr also be inline. 2021-10-11 16:22:59 +00:00