aboutsummaryrefslogtreecommitdiffhomepage
path: root/gn
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2017-07-31 16:32:36 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-31 20:53:18 +0000
commit0576a45c7570686a1057ad07d8abf21a3bad403f (patch)
tree716ec46b7a0553d22244e0fc998f08b31e506bf4 /gn
parent96271cd1805d55b1a985652eebd0399ebe415283 (diff)
Add GrMtlUtil class
Currently just adding support functions to go back and forth between GrPixelConfigs and MTLPixelFormats. Bug: skia: Change-Id: I01a7d6877ebed87b87090ac2b920fee45dc0e856 Reviewed-on: https://skia-review.googlesource.com/29080 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
Diffstat (limited to 'gn')
-rw-r--r--gn/gpu.gni2
1 files changed, 2 insertions, 0 deletions
diff --git a/gn/gpu.gni b/gn/gpu.gni
index 49e3361ad2..9bd28e19f1 100644
--- a/gn/gpu.gni
+++ b/gn/gpu.gni
@@ -587,6 +587,8 @@ skia_metal_sources = [
"$_src/gpu/mtl/GrMtlGpu.mm",
"$_src/gpu/mtl/GrMtlTrampoline.h",
"$_src/gpu/mtl/GrMtlTrampoline.mm",
+ "$_src/gpu/mtl/GrMtlUtil.h",
+ "$_src/gpu/mtl/GrMtlUtil.mm",
]
skia_native_gpu_sources = [