skia2/gm
Kevin Lubick e253cc3e55 [bazel] Use toolchain features to opt files into being IWYU compliant.
PS1 regenerates the Bazel files.

It is recommended to review this CL with a diff from PS1.

Example output when a file does not pass the test:
    tools/sk_app/CommandSet.h should add these lines:
    #include "include/core/SkTypes.h"
    #include "include/private/SkTArray.h"
    #include "tools/skui/InputState.h"
    #include "tools/skui/Key.h"
    #include "tools/skui/ModifierKey.h"
    namespace sk_app { class Window; }

    tools/sk_app/CommandSet.h should remove these lines:
    - #include "tools/sk_app/Window.h"

    The full include-list for tools/sk_app/CommandSet.h:
    #include "include/core/SkString.h"
    #include "include/core/SkTypes.h"
    #include "include/private/SkTArray.h"
    #include "tools/skui/InputState.h"
    #include "tools/skui/Key.h"
    #include "tools/skui/ModifierKey.h"
    #include <functional>
    #include <vector>
    class SkCanvas;
    namespace sk_app { class Window; }
    ---

This makes use of Bazel's toolchain features
https://bazel.build/docs/cc-toolchain-config-reference#features
to allow us to configure compiler flags when compiling
individual files. This analysis is off by default, and can
be turned on with --features skia_enforce_iwyu. When enabled,
it will only be run for files that have opted in.
Example:
    bazelisk build //example:hello_world_gl --config=clang \
       --sandbox_base=/dev/shm --features skia_enforce_iwyu

There are two ways to opt files in:
 - Add enforce_iwyu = True to a generated_cc_atom rule
 - Add enforce_iwyu_on_package() to a BUILD.bazel file
   (which enforces IWYU for all rules in that file)

Note that Bazel does not propagate features to dependencies
or dependents, so trying to enable the feature on cc_library
or cc_executable targets will only impact any files listed in
srcs or hdrs, not deps. This may be counter-intuitive when
compared to things like defines.

IWYU supports a mapping file, which we supply to help properly
handle things system headers (//toolchain/IWYU_mapping.imp)

Suggested Review Order:
 - toolchain/build_toolchain.bzl to see how we get the IWYU
   binaries into the toolchain
 - toolchain/BUILD.bazel and toolchain/IWYU_mapping.imp
   to see how the mapping file is made available for
   all compile steps
 - toolchain/clang_toolchain_config.bzl, where we define the
   skia_enforce_iwyu feature to turn on any verification at
   all and skia_opt_file_into_iwyu to enable the check for
   specific files using a define.
 - toolchain/clang_trampoline.sh, which is the toolchain is
   configured to call instead of clang directly (see line 83
   of clang_toolchain_config.bzl). This bash script used to
   just forward all arguments directly onto clang. Now it
   inspects them and either calls clang directly (if
   it does not find the define in the arguments or we are
   linking [bazel sometimes links with clang instead of ld])
   or calls clang and then include-what-you-use. In all cases,
   the trampoline sends the arguments to clang and IWYU
   unchanged).
 - //tools/sk_app/... to see enforcement enabled (and fixed)
   for select files, as an example of that method.
 - //experimental/bazel_test/... to see enforcement enabled
   for all rules in a BUILD.bazel file.
 - all other files.

Change-Id: I60a2ea9d5dc9955b6a8f166bd449de9e2b81a233
Bug: skia:13052
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/519776
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-03-16 13:09:46 +00:00
..
verifiers [includes] Prepare to remove SkColor<->SkImageInfo 2022-03-09 18:40:44 +00:00
3d.cpp Prepare to reenable unreachable-code warnings. 2022-02-04 21:45:39 +00:00
aaa.cpp [includes] Remove include link between SkPath.h and SkPathRef.h 2022-03-09 00:55:54 +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 Prepare to reenable unreachable-code warnings. 2022-02-04 21:45:39 +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
attributes.cpp [graphite] Replace GrSLType with SkSLType 2022-01-26 17:30:12 +00:00
b_119394958.cpp Remove ableist language 2021-06-16 21:37:21 +00:00
backdrop_imagefilter_croprect.cpp hide savelayer's clipmask fields 2020-05-31 14:06:42 +00:00
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
batchedconvexpaths.cpp Reland "Implement batching for convex tessellated paths" 2021-11-11 20:01:40 +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 kR8_unorm_SkColorType" 2022-02-10 18:00:19 +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
bug12866.cpp Add GM to demonstate skbug.com/12866 2022-01-27 15:24:21 +00:00
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 [bazel] Use toolchain features to opt files into being IWYU compliant. 2022-03-16 13:09:46 +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 Rename GrSwizzle to skgpu::Swizzle 2022-02-16 13:30:14 +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 [graphite] Replace GrSLType with SkSLType 2022-01-26 17:30:12 +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 In SkImage::MakeFromEncoded, support overriding alpha type 2021-12-02 22:31:26 +00:00
colrv1.cpp [COLRv1] Take P2 into account again in gradient skewing 2022-01-13 18:16:50 +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 Reland "[includes] Remove include link between SkPathRef.h and SkRRect.h" 2022-03-07 15:15:05 +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 Update code to prepare for -Wformat-nonliteral. 2022-02-10 14:17:33 +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 Refactor SkMatrixProvider slightly 2021-12-09 20:10:58 +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 Reland "[includes] Remove include link between SkPathRef.h and SkRRect.h" 2022-03-07 15:15:05 +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
custommesh.cpp Allow custom mesh to use positions for local coordinates. 2022-01-04 18:01:47 +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 [graphite] Move GrProcessorKeyBuilder to generic skgpu::KeyBuilder class. 2021-12-20 20:41:17 +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
drawlines_with_local_matrix.cpp Use FillRRectOp in drawStrokedLine for dmsaa 2022-02-02 19:07:39 +00:00
drawminibitmaprect.cpp Pass sampling to drawImage calls 2021-01-23 18:23:33 +00:00
drawquadset.cpp Refactor SkMatrixProvider slightly 2021-12-09 20:10:58 +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 [graphite] Move GrProcessorKeyBuilder to generic skgpu::KeyBuilder class. 2021-12-20 20:41:17 +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 [includes] Fix up transitive dependencies on SkBitmap 2022-03-09 18:25:17 +00:00
fpcoordinateoverride.cpp [includes] Fix up transitive dependencies on SkBitmap 2022-03-09 18:25:17 +00:00
fwidth_squircle.cpp [graphite] Replace GrSLType with SkSLType 2022-01-26 17:30:12 +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 Add SK_PRINTF_LIKE to existing variadic print functions. 2022-02-07 14:55:39 +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 [graphite] Add SkTileModeToStr 2022-01-11 16:19:53 +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] Add fixed-function blending support 2022-03-14 14:21:46 +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 Fix texture-backed image shaders drawing to raster canvas 2021-12-01 22:03:04 +00:00
image.cpp Revert "Fix dithering on drawImage[Rect] calls" 2022-02-22 23:17:20 +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 drawVertices and drawPath apply blend between paint and primitive color. 2021-11-22 19:09:33 +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 Fix mask/image filter bounds calculation for inverse-filled paths 2022-02-16 15:09:42 +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 Reland "[includes] Remove link between SkImage.h and SkImageEncoder.h" 2022-03-10 04:47:51 +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 Prepare to reenable unreachable-code warnings. 2022-02-04 21:45:39 +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
palette.cpp Correct FreeType palette setup. 2022-02-18 05:08:22 +00:00
particles.cpp Move code generators to codegen/ directory. 2021-04-13 15:34:24 +00:00
patch.cpp drawVertices and drawPath apply blend between paint and primitive color. 2021-11-22 19:09:33 +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 Reland "[includes] Remove include link between SkPathRef.h and SkRRect.h" 2022-03-07 15:15:05 +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 Change relative includes to be absolute 2021-11-22 17:03:26 +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 Picture shaders support perspective better 2022-02-14 17:47:49 +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 drawVertices and drawPath apply blend between paint and primitive color. 2021-11-22 19:09:33 +00:00
runtimefunctions.cpp Remove default/deprecated arguments to makeShader calls 2022-02-09 20:41:23 +00:00
runtimeimagefilter.cpp Add support for multiple child nodes to SkImageFilters::RuntimeShader 2022-01-05 20:07:00 +00:00
runtimeintrinsics.cpp Remove default/deprecated arguments to makeShader calls 2022-02-09 20:41:23 +00:00
runtimeshader.cpp [includes] Fix up transitive dependencies on SkBitmap 2022-03-09 18:25:17 +00:00
samplerstress.cpp Use sampling for bitmap shaders 2020-12-12 20:10:41 +00:00
savelayer.cpp Reland "Remove layer-coverage-tracking experiment" 2021-11-18 19:34:39 +00:00
scaledemoji_rendering.cpp Fix when a glyph has a path 2021-12-07 14:58:29 +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
slug.cpp add bilerp atlas support flag 2021-12-10 20:33:57 +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 [includes] Fix up transitive dependencies on SkBitmap 2022-03-09 18:25:17 +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 [graphite] Replace GrSLType with SkSLType 2022-01-26 17:30:12 +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 Reland "[includes] Remove link between SkImage.h and SkImageEncoder.h" 2022-03-10 04:47:51 +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 image shader local matrix not being applied on CPU 2022-03-10 15:56:45 +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 GrSwizzle to skgpu::Swizzle 2022-02-16 13:30:14 +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
ycbcrimage.cpp Retract the SDC from GMs where possible (take 2) 2021-06-03 16:21:27 +00:00
yuv420_odd_dim.cpp Reland "[includes] Remove link between SkImage.h and SkImageEncoder.h" 2022-03-10 04:47:51 +00:00
yuvtorgbsubset.cpp Remove setters from GrSamplerState. 2022-03-09 15:39:11 +00:00