diff options
Diffstat (limited to 'tests/Test.h')
-rw-r--r-- | tests/Test.h | 3 |
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) \ |