From dc0fcd41e75682a8bfd5e285d684461475226330 Mon Sep 17 00:00:00 2001 From: bsalomon Date: Mon, 11 Apr 2016 14:21:33 -0700 Subject: Vulkan config in dm BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1872283003 Review URL: https://codereview.chromium.org/1872283003 --- tests/Test.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'tests/Test.h') diff --git a/tests/Test.h b/tests/Test.h index ac68cccf95..b2cb180353 100644 --- a/tests/Test.h +++ b/tests/Test.h @@ -88,6 +88,7 @@ typedef void GrContextTestFn(Reporter*, const sk_gpu_test::ContextInfo&); typedef bool GrContextTypeFilterFn(GrContextFactoryContextType); extern bool IsGLContextType(GrContextFactoryContextType); +extern bool IsVulkanContextType(GrContextFactoryContextType); extern bool IsRenderingGLContextType(GrContextFactoryContextType); extern bool IsNullGLContextType(GrContextFactoryContextType); @@ -173,6 +174,8 @@ private: DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsRenderingGLContextType, reporter, context_info) #define DEF_GPUTEST_FOR_NULLGL_CONTEXT(name, reporter, context_info) \ DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsNullGLContextType, reporter, context_info) +#define DEF_GPUTEST_FOR_VULKAN_CONTEXT(name, reporter, context_info) \ + DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsVulkanContextType, reporter, context_info) #define REQUIRE_PDF_DOCUMENT(TEST_NAME, REPORTER) \ do { \ -- cgit v1.2.3