Lines Matching refs:skiatest
18 namespace skiatest {
36 virtual void reportFailed(const skiatest::Failure&) = 0;
41 void reportFailedWithContext(const skiatest::Failure&);
55 reporter->reportFailedWithContext(skiatest::Failure(__FILE__, __LINE__, cond, message))
70 typedef void (*TestProc)(skiatest::Reporter*, const GrContextOptions&);
96 void run(skiatest::Reporter* r, const GrContextOptions& options) const { in run()
196 static void test_##name(skiatest::Reporter*, const GrContextOptions&); \
197 skiatest::TestRegistry name##TestRegistry( \
198 skiatest::Test(#name, /*gpu*/ false, /*graphite*/ false, test_##name)); \
199 void test_##name(skiatest::Reporter* reporter, const GrContextOptions&)
202 static void test_##name(skiatest::Reporter*, const GrContextOptions&); \
203 skiatest::TestRegistry name##TestRegistry( \
204 skiatest::Test(#name, /*gpu*/ false, /*graphite*/ false, test_##name)); \
205 void test_##name(skiatest::Reporter* reporter, const GrContextOptions&) { \
208 void disabled_##name(skiatest::Reporter* reporter, const GrContextOptions&)
217 static void test_##name(skiatest::Reporter*); \
218 static void test_graphite_##name(skiatest::Reporter* reporter, \
222 skiatest::TestRegistry name##TestRegistry( \
223 skiatest::Test(#name, /*gpu*/ false, /*graphite*/ true, test_graphite_##name)); \
224 void test_##name(skiatest::Reporter* reporter)
227 static void test_##name(skiatest::Reporter*, skgpu::Context*); \
228 static void test_graphite_contexts_##name(skiatest::Reporter* _reporter, \
230 skiatest::graphite::RunWithGraphiteTestContexts(test_##name, _reporter); \
232 skiatest::TestRegistry name##TestRegistry( \
233 skiatest::Test(#name, /*gpu*/ false, /*graphite*/ true, \
235 void test_##name(skiatest::Reporter* reporter, skgpu::Context* graphite_context)
238 static void test_##name(skiatest::Reporter*, const GrContextOptions&); \
239 skiatest::TestRegistry name##TestRegistry( \
240 skiatest::Test(#name, /*gpu*/ true, /*graphite*/ false, test_##name)); \
241 void test_##name(skiatest::Reporter* reporter, const GrContextOptions& options)
244 static void test_##name(skiatest::Reporter*, const sk_gpu_test::ContextInfo&); \
245 static void test_gpu_contexts_##name(skiatest::Reporter* reporter, \
247 skiatest::RunWithGPUTestContexts(test_##name, context_filter, reporter, options); \
249 skiatest::TestRegistry name##TestRegistry( \
250 …skiatest::Test(#name, /*gpu*/ true, /*graphite*/ false, test_gpu_contexts_##name, options_filter))…
251 void test_##name(skiatest::Reporter* reporter, const sk_gpu_test::ContextInfo& context_info)
260 DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsGLContextType, \
263 DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsRenderingGLContextType, \
266 DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsMockContextType, \
269 DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsVulkanContextType, \
272 DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsMetalContextType, \
275 DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsDirect3DContextType, \
278 DEF_GPUTEST_FOR_CONTEXTS(name, &skiatest::IsDawnContextType, \