Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index 197dd322775692dcbc4bf7317380ac4e6abf6958..e153cc0a92d3a01842f037977418700feec7e800 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -656,7 +656,7 @@ DEF_TEST(TestNegativeBlurSigma, reporter) { |
} |
#if SK_SUPPORT_GPU |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TestNegativeBlurSigma_Gpu, reporter, ctxInfo) { |
+DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(TestNegativeBlurSigma_Gpu, reporter, ctxInfo) { |
run_gpu_test(reporter, ctxInfo.fGrContext, 100, test_negative_blur_sigma); |
} |
#endif |
@@ -702,7 +702,7 @@ DEF_TEST(TestZeroBlurSigma, reporter) { |
} |
#if SK_SUPPORT_GPU |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(TestZeroBlurSigma_Gpu, reporter, ctxInfo) { |
+DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(TestZeroBlurSigma_Gpu, reporter, ctxInfo) { |
run_gpu_test(reporter, ctxInfo.fGrContext, 100, test_zero_blur_sigma); |
} |
#endif |
@@ -736,7 +736,7 @@ DEF_TEST(ImageFilterFailAffectsTransparentBlack, reporter) { |
} |
#if SK_SUPPORT_GPU |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageFilterFailAffectsTransparentBlack_Gpu, reporter, ctxInfo) { |
+DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(ImageFilterFailAffectsTransparentBlack_Gpu, reporter, ctxInfo) { |
run_gpu_test(reporter, ctxInfo.fGrContext, 100, test_fail_affects_transparent_black); |
} |
#endif |
@@ -952,7 +952,7 @@ DEF_TEST(ImageFilterMergeResultSize, reporter) { |
} |
#if SK_SUPPORT_GPU |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageFilterMergeResultSize_Gpu, reporter, ctxInfo) { |
+DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(ImageFilterMergeResultSize_Gpu, reporter, ctxInfo) { |
run_gpu_test(reporter, ctxInfo.fGrContext, 100, test_imagefilter_merge_result_size); |
} |
#endif |
@@ -1087,7 +1087,7 @@ DEF_TEST(ImageFilterCropRect, reporter) { |
} |
#if SK_SUPPORT_GPU |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageFilterCropRect_Gpu, reporter, ctxInfo) { |
+DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(ImageFilterCropRect_Gpu, reporter, ctxInfo) { |
run_gpu_test(reporter, ctxInfo.fGrContext, 100, test_crop_rects); |
} |
#endif |
@@ -1210,7 +1210,7 @@ DEF_TEST(ImageFilterClippedPictureImageFilter, reporter) { |
} |
#if SK_SUPPORT_GPU |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ImageFilterClippedPictureImageFilter_Gpu, reporter, ctxInfo) { |
+DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(ImageFilterClippedPictureImageFilter_Gpu, reporter, ctxInfo) { |
run_gpu_test(reporter, ctxInfo.fGrContext, 2, test_clipped_picture_imagefilter); |
} |
#endif |
@@ -1465,7 +1465,7 @@ DEF_TEST(ComposedImageFilterOffset, reporter) { |
} |
#if SK_SUPPORT_GPU |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ComposedImageFilterOffset_Gpu, reporter, ctxInfo) { |
+DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(ComposedImageFilterOffset_Gpu, reporter, ctxInfo) { |
run_gpu_test(reporter, ctxInfo.fGrContext, 100, test_composed_imagefilter_offset); |
} |
#endif |
@@ -1509,7 +1509,7 @@ DEF_TEST(ComposedImageFilterBounds, reporter) { |
} |
#if SK_SUPPORT_GPU |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(ComposedImageFilterBounds_Gpu, reporter, ctxInfo) { |
+DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(ComposedImageFilterBounds_Gpu, reporter, ctxInfo) { |
run_gpu_test(reporter, ctxInfo.fGrContext, 100, test_composed_imagefilter_bounds); |
} |
#endif |
@@ -1539,7 +1539,7 @@ DEF_TEST(PartialCropRect, reporter) { |
} |
#if SK_SUPPORT_GPU |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(PartialCropRect_Gpu, reporter, ctxInfo) { |
+DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(PartialCropRect_Gpu, reporter, ctxInfo) { |
run_gpu_test(reporter, ctxInfo.fGrContext, 100, test_partial_crop_rect); |
} |
#endif |
@@ -1677,7 +1677,7 @@ DEF_TEST(BlurLargeImage, reporter) { |
#if SK_SUPPORT_GPU |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(HugeBlurImageFilter_Gpu, reporter, ctxInfo) { |
+DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(HugeBlurImageFilter_Gpu, reporter, ctxInfo) { |
const SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); |
SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(ctxInfo.fGrContext, |
@@ -1691,7 +1691,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(HugeBlurImageFilter_Gpu, reporter, ctxInfo) { |
test_huge_blur(&canvas, reporter); |
} |
-DEF_GPUTEST_FOR_RENDERING_CONTEXTS(XfermodeImageFilterCroppedInput_Gpu, reporter, ctxInfo) { |
+DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(XfermodeImageFilterCroppedInput_Gpu, reporter, ctxInfo) { |
const SkSurfaceProps props(SkSurfaceProps::kLegacyFontHost_InitType); |
SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(ctxInfo.fGrContext, |
@@ -1705,7 +1705,7 @@ DEF_GPUTEST_FOR_RENDERING_CONTEXTS(XfermodeImageFilterCroppedInput_Gpu, reporter |
test_xfermode_cropped_input(&canvas, reporter); |
} |
-DEF_GPUTEST_FOR_ALL_CONTEXTS(BlurLargeImage_Gpu, reporter, ctxInfo) { |
+DEF_GPUTEST_FOR_ALL_GL_CONTEXTS(BlurLargeImage_Gpu, reporter, ctxInfo) { |
auto surface(SkSurface::MakeRenderTarget(ctxInfo.fGrContext, SkBudgeted::kYes, |
SkImageInfo::MakeN32Premul(100, 100))); |
test_large_blur_input(reporter, surface->getCanvas()); |