skia2/include
Michael Ludwig 5c08e3c357 Standardize on skvx aliases, plus clean-up
This adds aliases like skvx::float2, float4, etc. to SkVx.h and goes
through existing usages of SkVx to standardize on those aliases, or
refer to the full name directly.

In particular, this lets us clean up the equivalent aliases in
src/gpu/tessellate, src/gpu/graphite/VectorTypes and src/gpu/ganesh/GrVx

Where possible, I switched to using skvx::Foo directly and leveraged
auto to make it less redundant. Headers always used the full type
except for PatchWriter.h and Rect.h because of the number of their
usages. In this case, the alias is scoped to private so it can't leak.

This is prep to migrate older code that is still using SkNx and its
aliases like Sk4f to SkVx as well.

Change-Id: I9dd104e83cf17c2b88995a047cfd2e2b0fe6fac2
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/541058
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Michael Ludwig <michaelludwig@google.com>
2022-05-17 18:04:55 +00:00
..
android [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
c [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
codec [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
config [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
core Reland "Add SkCapabilities object" 2022-05-17 13:15:06 +00:00
docs [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
effects Add #version directive to SkSL 2022-05-17 15:42:31 +00:00
encode [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
gpu Reland "Add SkCapabilities object" 2022-05-17 13:15:06 +00:00
pathops [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
ports [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
private Standardize on skvx aliases, plus clean-up 2022-05-17 18:04:55 +00:00
sksl Remove DSLWrapper helper class. 2022-05-17 13:38:48 +00:00
svg [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
third_party [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
utils [bazel] Put licenses() after legacy_exports 2022-05-02 15:04:33 +00:00
OWNERS Add Bazel folks as owners to BUILD.bazel files 2021-11-09 14:24:54 +00:00