b76a72a659
Also adds the support code to allow our TestContext to create a Metal backend. Bug: skia: Change-Id: Ia850687019d79b897bb16e2c151f4f8526721ad9 Reviewed-on: https://skia-review.googlesource.com/22644 Reviewed-by: Brian Salomon <bsalomon@google.com> Commit-Queue: Greg Daniel <egdaniel@google.com>
23 lines
388 B
C++
23 lines
388 B
C++
/*
|
|
* Copyright 2017 Google Inc.
|
|
*
|
|
* Use of this source code is governed by a BSD-style license that can be
|
|
* found in the LICENSE file.
|
|
*/
|
|
|
|
#ifndef MtlTestContext_h
|
|
#define MtlTestContext_h
|
|
|
|
#include "TestContext.h"
|
|
|
|
#ifdef SK_METAL
|
|
|
|
namespace sk_gpu_test {
|
|
TestContext* CreatePlatformMtlTestContext(TestContext*);
|
|
} // namespace sk_gpu_test
|
|
|
|
#endif
|
|
|
|
|
|
#endif /* MtlTestContext_h */
|