skia2/gn/graphite.gni
Greg Daniel d73cff0e2d [graphite] Add TextureInfo class.
Also adds the Mtl subclass as well

Bug: skia:12466
Change-Id: Ia3a81f33a00374a96765fde3a3442c5e13188ad1
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/453719
Commit-Queue: Greg Daniel <egdaniel@google.com>
Reviewed-by: Jim Van Verth <jvanverth@google.com>
Reviewed-by: Robert Phillips <robertphillips@google.com>
2021-09-29 16:31:27 +00:00

67 lines
1.7 KiB
Plaintext

# Copyright 2021 Google LLC
#
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
# Things are easiest for everyone if these source paths are absolute.
_src = get_path_info("../experimental/graphite/src", "abspath")
_include = get_path_info("../experimental/graphite/include", "abspath")
skia_graphite_public = [
"$_include/Context.h",
"$_include/GraphiteTypes.h",
]
skia_graphite_sources = [
"$_include/Context.h",
"$_include/SkStuff.h",
"$_include/TextureInfo.h",
"$_src/BoundsManager.h",
"$_src/Caps.cpp",
"$_src/Caps.h",
"$_src/CommandBuffer.cpp",
"$_src/CommandBuffer.h",
"$_src/Context.cpp",
"$_src/Device.cpp",
"$_src/Device.h",
"$_src/DrawList.h",
"$_src/DrawPass.cpp",
"$_src/DrawPass.h",
"$_src/Gpu.cpp",
"$_src/Gpu.h",
"$_src/Image_Graphite.cpp",
"$_src/Image_Graphite.h",
"$_src/Pipeline.cpp",
"$_src/Pipeline.h",
"$_src/PipelineDesc.cpp",
"$_src/PipelineDesc.h",
"$_src/RenderPassTask.cpp",
"$_src/RenderPassTask.h",
"$_src/ResourceProvider.cpp",
"$_src/ResourceProvider.h",
"$_src/SkStuff.cpp",
"$_src/SurfaceDrawContext.cpp",
"$_src/SurfaceDrawContext.h",
"$_src/Surface_Graphite.cpp",
"$_src/Surface_Graphite.h",
"$_src/Task.cpp",
"$_src/Task.h",
]
skia_graphite_mtl_sources = [
"$_include/mtl/MtlBackendContext.h",
"$_include/mtl/MtlTypes.h",
"$_include/private/MtlTypesPriv.h",
"$_src/mtl/MtlCaps.h",
"$_src/mtl/MtlCaps.mm",
"$_src/mtl/MtlCommandBuffer.h",
"$_src/mtl/MtlCommandBuffer.mm",
"$_src/mtl/MtlGpu.h",
"$_src/mtl/MtlGpu.mm",
"$_src/mtl/MtlPipeline.h",
"$_src/mtl/MtlPipeline.mm",
"$_src/mtl/MtlResourceProvider.h",
"$_src/mtl/MtlResourceProvider.mm",
"$_src/mtl/MtlTypesPriv.mm",
]