skia2/include
Brian Osman 04d79fc594 GrSkSLFP: Avoid making a global copy of inColor most of the time
We still need *a* copy, to satisfy SkSL that mutates the input color
parameter, but it almost never needs to be global, unless there are
calls to sample() from a function other than main.

With that tweak, we generate much better SkSL/GLSL code from every one
of our effects, avoiding the proliferation of global variables.

Bug: skia:12140
Change-Id: I5c3bd42df34a095969abcbbc60e69c653a08087a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/424299
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
2021-07-02 21:06:21 +00:00
..
android Reland "SkAnimatedImage: Use fSampleSize" 2020-11-17 14:07:03 +00:00
c Hide legacy drawImage methods 2021-01-20 00:59:26 +00:00
codec get image from skcodec 2021-01-25 21:50:16 +00:00
config Track vulkan memory allocations in UMA. 2020-10-29 15:24:23 +00:00
core Change architecture #defines to be SK_GPU_V1 and SK_GPU_V2 2021-07-01 18:42:53 +00:00
docs Add appendNodeIdArray to avoid code duplication. 2020-06-23 14:25:33 +00:00
effects GrSkSLFP: Avoid making a global copy of inColor most of the time 2021-07-02 21:06:21 +00:00
encode Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
gpu Reland "Fix texture barriers on DMSAA" 2021-06-25 01:35:42 +00:00
pathops rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
ports Revert "Revert "onMatchFaceStyle is unused, so remove it"" 2021-04-27 16:40:29 +00:00
private Revert "Convert GrConfigConversionEffect to a runtime FP" 2021-07-02 13:11:40 +00:00
sksl Added Poison values to SkSL to improve DSL error handling 2021-06-28 19:15:16 +00:00
svg [svgcanvas] Add support for relative path encoding 2021-05-11 17:44:59 +00:00
third_party Roll skcms from b9593d4e39ea to 4e8691e28194 (1 revision) 2021-03-31 16:31:52 +00:00
utils Add methods to access the top device's render target proxy 2021-06-03 18:16:27 +00:00