9b7ad1b7b9
The SwizzleComponent enum would be useful outside of the DSL. This CL creates a SkSL::SwizzleComponent namespace and has the DSL inject that namespace into SkSL::dsl via using-directive. Future CLs will use values from this enum within SkSL::Swizzle itself. Users expect that `using namespace SkSL::dsl;` will allow statements like `Swizzle(var, X, Y)` to work normally without any extra qualifications, using-declarations or #includes, so this is a little more involved than forward-declaring an enum would be normally. Change-Id: Id4e2f109d01e465c315c6278f3d4b87027988c86 Bug: skia:11342 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/372018 Reviewed-by: Brian Osman <brianosman@google.com> Auto-Submit: John Stiles <johnstiles@google.com> Commit-Queue: John Stiles <johnstiles@google.com> |
||
---|---|---|
animations | ||
bazel | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.bazelignore | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.bazel | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
DIR_METADATA | ||
go.mod | ||
go.sum | ||
LICENSE | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt | ||
WORKSPACE.bazel |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.