aboutsummaryrefslogtreecommitdiffhomepage
path: root/dm/DMGpuSupport.h
diff options
context:
space:
mode:
authorGravatar Greg Daniel <egdaniel@google.com>2017-07-13 15:34:56 -0400
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-07-14 13:57:34 +0000
commit2811aa25f1f7c5f5b31eb0cb7dabcbab90d9709d (patch)
tree111bab3158f83a86bac66edeefc4ad8d5c081483 /dm/DMGpuSupport.h
parentf99a1739be4e7dec67a0b7e6e008c6999b139cee (diff)
Add metal config to tools
Bug: skia: Change-Id: I84dbd56c17d4856496af4491f340ec560e29c8a6 Reviewed-on: https://skia-review.googlesource.com/23200 Commit-Queue: Greg Daniel <egdaniel@google.com> Reviewed-by: Jim Van Verth <jvanverth@google.com> Reviewed-by: Robert Phillips <robertphillips@google.com>
Diffstat (limited to 'dm/DMGpuSupport.h')
-rw-r--r--dm/DMGpuSupport.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/dm/DMGpuSupport.h b/dm/DMGpuSupport.h
index 75bfc3b23e..7b1fb0d61d 100644
--- a/dm/DMGpuSupport.h
+++ b/dm/DMGpuSupport.h
@@ -78,7 +78,8 @@ public:
kGL_ContextType = 0,
kGLES_ContextType = 0,
kNullGL_ContextType = 0,
- kVulkan_ContextType = 0;
+ kVulkan_ContextType = 0,
+ kMetal_ContextType = 0;
static const int kContextTypeCnt = 1;
enum class ContextOverrides {};
void destroyContexts() {}