skia2/include
Kevin Lubick 8499e372ce [includes] Remove more includes of SkColorSpace
While I was fixing up Chrome's uses, I found some failures
there that I did not see in Skia, and tracked them down
to a few other places where we include SkColorSpace
and it is not strictly necessary

 - SkCustomMesh.h
 - GrColorInfo.h
 - GrColorSpaceXform.h
 - SkColorSpaceXformSteps.h

For these files (and their .cpp files), I added enforcement
of include-what-you-use, and then fixed the myriad of places
which were depending on these transitive includes.

One change to help Chrome is the manual overloads of
SkImage::MakeFromAdoptedTexture instead of using default
parameters. This makes it so callers of that function
do not need to include SkColorSpace if they were going
to pass nullptr for it anyway.

Bug: skia:13052
Change-Id: I16bf8ed5e258225d887f562f2c189623b1ca9c23
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/527056
Reviewed-by: Robert Phillips <robertphillips@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-04-06 21:58:24 +00:00
..
android [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
c [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
codec Add color-depth detection 2022-03-07 18:22:52 +00:00
config [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
core [includes] Remove more includes of SkColorSpace 2022-04-06 21:58:24 +00:00
docs [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
effects [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00
encode [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
gpu Remove GrContextOptions::fSharpenMipmappedTextures 2022-04-05 21:33:50 +00:00
pathops [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
ports Remove obsolete sk_cf_obj 2022-03-11 05:59:16 +00:00
private Add anisotropic filtering to GrSamplerState and implement in backends. 2022-04-06 16:09:14 +00:00
sksl Fixed remaining SkSL positions 2022-04-06 17:03:22 +00:00
svg [bazel] Test enforcement of IWYU on SkSVG backend. 2022-03-16 14:20:14 +00:00
third_party [bazel] Support Vulkan 2022-03-08 21:21:17 +00:00
utils remove device capture from SkNWayCanvas 2022-03-30 14:07:41 +00:00
OWNERS Add Bazel folks as owners to BUILD.bazel files 2021-11-09 14:24:54 +00:00