skia2/include/sksl
John Stiles 850de30a19 Fit Position in 4 bytes.
This limits our error reporting to the first 16MB of SkSL code in a
program, and error marks are limited to a run of 255 characters or
less. In practice, these limits do not affect normal code in any way.
This gives us the same tight memory footprint we originally had when
positions were stored as `int32 fLine`.

Change-Id: Idef04344324870a7b92aca154feb5e1a0121d284
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/533699
Reviewed-by: Ethan Nicholas <ethannicholas@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
Auto-Submit: John Stiles <johnstiles@google.com>
2022-04-27 00:01:06 +00:00
..
BUILD.bazel Improved SkSL error positions for return types 2022-04-22 19:13:45 +00:00
DSL.h [includes] Enforce IWYU on sksl code 2022-03-21 12:43:02 +00:00
DSLBlock.h Removed Position::Capture 2022-04-08 17:26:24 +00:00
DSLCase.h Removed Position::Capture 2022-04-08 17:26:24 +00:00
DSLCore.h Improved positions of for loop errors 2022-04-21 16:56:12 +00:00
DSLExpression.h Removed Position::Capture 2022-04-08 17:26:24 +00:00
DSLFunction.h Improved SkSL error positions for return types 2022-04-22 19:13:45 +00:00
DSLLayout.h Removed Position::Capture 2022-04-08 17:26:24 +00:00
DSLModifiers.h Removed Position::Capture 2022-04-08 17:26:24 +00:00
DSLRuntimeEffects.h [includes] Enforce IWYU on sksl code 2022-03-21 12:43:02 +00:00
DSLStatement.h Improved positions of for loop errors 2022-04-21 16:56:12 +00:00
DSLSymbols.h Removed Position::Capture 2022-04-08 17:26:24 +00:00
DSLType.h Improved SkSL error positions for return types 2022-04-22 19:13:45 +00:00
DSLVar.h Improved positions of variable name errors 2022-04-22 14:39:14 +00:00
DSLWrapper.h Initial land of DSLParser 2021-07-20 20:28:54 +00:00
OWNERS Add Ethan and John to OWNERS for include/sksl/. 2022-04-26 23:38:58 +00:00
SkSLDebugTrace.h Add SkRuntimeEffect::MakeTraced API for SkShader debugging. 2021-12-07 22:34:00 +00:00
SkSLErrorReporter.h [includes] Enforce IWYU on sksl code 2022-03-21 12:43:02 +00:00
SkSLOperator.h Added an SkSL Operator enum 2022-03-31 13:20:57 +00:00
SkSLPosition.h Fit Position in 4 bytes. 2022-04-27 00:01:06 +00:00