skia2/include/sksl
Brian Osman 69fecd6c2d Add SkCapabilities object
This describes the capabilities of a particular Skia rendering context
(GPU context, or the CPU backend). At the moment, it only contains the
supported SkSL version (with a new enum added to specify the current
value as "100" and a new ES3 value as "300".

SkCapabilities can not be retrieved from an SkCanvas - the client must
have a concrete way of knowing what their destination device that will
do the actual rendering is (GrCaps or SkSurface).

This CL doesn't make use of the SkCapabilities yet, that's coming in
follow-up CLs that alter the SkSL compiler and SkRuntimeEffect API.

Bug: skia:11209
Change-Id: I4e9fd21ff7ffd79f1926c5c2eb34e10b3af4bc9b
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/537876
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Reviewed-by: Brian Salomon <bsalomon@google.com>
Commit-Queue: Brian Osman <brianosman@google.com>
Reviewed-by: John Stiles <johnstiles@google.com>
2022-05-13 16:31:20 +00:00
..
BUILD.bazel Add SkCapabilities object 2022-05-13 16:31:20 +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
SkSLVersion.h Add SkCapabilities object 2022-05-13 16:31:20 +00:00