aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Test.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2016-04-12 09:59:58 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-04-12 09:59:58 -0700
commit68d9134bec16e91c4a6cde071bcaa579bc0801a7 (patch)
treef456a106500881514ceefca0ce67aedb625d1d2f /tests/Test.h
parent71e185c060491c8b7b270a211590931715122786 (diff)
Make more unit tests run on Vulkan
Diffstat (limited to 'tests/Test.h')
-rw-r--r--tests/Test.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/Test.h b/tests/Test.h
index 1363f8c080..90a0139f56 100644
--- a/tests/Test.h
+++ b/tests/Test.h
@@ -170,6 +170,9 @@ private:
#define DEF_GPUTEST_FOR_ALL_CONTEXTS(name, reporter, context_info) \
DEF_GPUTEST_FOR_CONTEXTS(name, nullptr, reporter, context_info)
+#define DEF_GPUTEST_FOR_RENDERING_CONTEXTS(name, reporter, context_info) \
+ DEF_GPUTEST_FOR_CONTEXTS(name, sk_gpu_test::GrContextFactory::IsRenderingContext, \
+ reporter, context_info)
#define DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(name, reporter, context_info) \
DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsGLContextType, reporter, context_info)
#define DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(name, reporter, context_info) \