skia2/tools/gpu
Kevin Lubick 956704b387 [bazel] Get GPU examples working
This adds targets which test our Dawn, GL, and Vulkan backends.

It follows the hierarchical filegroup pattern, as
outlined in https://skia-review.googlesource.com/c/skia/+/543977

Suggested Review order:
 - tools/sk_app/BUILD.bazel. For many things in tools, I anticipate
   they will depend on //:skia_core and other //tools targets.
   sk_app shows this off, as well how to make the target
   specific to a given platform and pull in the proper native code.
   I'm trying out setting test_only = True, to see if we can
   partition Skia's tests and helpers from the actual Skia library.
 - other changes to //tools/, especially looking at sk_app's
   dependencies.
 - //example/BUILD.bazel. This uses the cc_binary_with_flags which
   existed previously [1] to make it so people don't have to
   specify all the flags for a given binary and can build it as is.
   These targets nows how up in //bazel/Makefile
 - //include/... and //src/..., where some typos from previous
   CLs were fixed and rules expanded.
 - Misc changes to .cpp files to remove unnecessary includes
   that were assuming the GL backend was being compiled in.
 - All other changes

[1] 162dfca340/bazel/cc_binary_with_flags.bzl
Change-Id: Ieacec464d44368cad0da0890c7dc85a6c0b900c9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/544317
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
2022-05-31 14:14:54 +00:00
..
d3d [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
dawn [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
gl [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
mock [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
mtl [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
vk [bazel] Get GPU examples working 2022-05-31 14:14:54 +00:00
BackendSurfaceFactory.cpp mipMapped -> mipmapped 2022-04-18 14:26:19 +00:00
BackendSurfaceFactory.h [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00
BackendTextureImageFactory.cpp [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00
BackendTextureImageFactory.h [includes] Prepare to remove SkColor<->SkImageInfo 2022-03-09 18:40:44 +00:00
FenceSync.h rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
FlushFinishTracker.cpp Reland "[graphite] Move Graphite into Skia base directories." 2022-04-11 18:37:20 +00:00
FlushFinishTracker.h [graphite] Move all graphite classes under skgpu::graphite. 2022-04-08 00:42:37 +00:00
GpuTimer.h Replace skstd::exchange with std::exchange 2020-04-30 11:14:20 +00:00
GrContextFactory.cpp Remove all CommandBuffer support code 2022-05-04 20:19:17 +00:00
GrContextFactory.h Remove all CommandBuffer support code 2022-05-04 20:19:17 +00:00
GrTest.cpp Move GrTextBlobRedrawCoordinator to sktext:gpu namespace. 2022-05-24 15:36:34 +00:00
ManagedBackendTexture.cpp Move Ganesh specific headers into include/private/gpu/ganesh 2022-04-12 17:30:07 +00:00
ManagedBackendTexture.h [graphite] Move RefCntedCallback to shared gpu file. 2022-03-23 21:19:15 +00:00
MemoryCache.cpp Move all Ganesh source files into ganesh subdirectory. 2022-04-07 21:06:50 +00:00
MemoryCache.h Reland "Redesign program key construction" 2021-03-03 17:44:00 +00:00
ProxyUtils.cpp Revert "Reland "Create updateResourceLabel method."" 2022-05-26 15:25:22 +00:00
ProxyUtils.h Move Ganesh specific headers into include/private/gpu/ganesh 2022-04-12 17:30:07 +00:00
TestContext.cpp Enable ClangTidy check llvm-namespace-comment. 2020-08-06 19:07:52 +00:00
TestContext.h Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
TestOps.cpp Move all Ganesh source files into ganesh subdirectory. 2022-04-07 21:06:50 +00:00
TestOps.h Move all Ganesh source files into ganesh subdirectory. 2022-04-07 21:06:50 +00:00
YUVUtils.cpp Move all Ganesh source files into ganesh subdirectory. 2022-04-07 21:06:50 +00:00
YUVUtils.h [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00