skia2/include
Ethan Nicholas 707d31578c Refactored DSL variable creation
Prior to this change, we were creating the SkSL variable and declaration
immediately on DSLVar creation. This causes problems with function
parameters, which are sometimes supposed to be tagged
SK_MAIN_COORDS_BUILTIN. If we have already created the variable and
inserted it into the symbol table, then by the time we determine the
variable is supposed to be SK_MAIN_COORDS_BUILTIN, it is too late to
modify the (now-const) variable.

We are not yet doing this tagging, but refactoring the creation in this
fashion paves the way to making it possible.

Change-Id: I031170502c5e7c1fff5ecfac01bea470ff4e61ce
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/389216
Commit-Queue: Ethan Nicholas <ethannicholas@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2021-03-25 23:02:04 +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 Move Sk3Perspective and Sk3Lookat into SkM44 2021-03-24 15:47:22 +00:00
docs Add appendNodeIdArray to avoid code duplication. 2020-06-23 14:25:33 +00:00
effects Reland "Reland "Add GrRuntimeFPBuilder"" 2021-03-24 16:11:42 +00:00
encode Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
gpu Revert "Use objc_externally_retained to cut down retain/release in Metal" 2021-03-24 19:06:05 +00:00
pathops rm SkPreConfig.h and SkPostConfig.h 2020-02-06 19:16:43 +00:00
ports Reland "Remove ARC from tools lib." 2021-02-22 17:55:52 +00:00
private Revert "Use objc_externally_retained to cut down retain/release in Metal" 2021-03-24 19:06:05 +00:00
sksl Refactored DSL variable creation 2021-03-25 23:02:04 +00:00
svg [svgcanvas] Add flag to suppress newlines and tabs in XML 2019-08-21 20:17:37 +00:00
third_party Roll skcms from 16a890f7be9d to 65de465d622d (1 revision) 2021-03-23 19:17:22 +00:00
utils Reenable Wdeprecated-copy-dtor 2021-02-16 17:53:28 +00:00