Index: tests/ImageFilterTest.cpp |
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp |
index 4ffcc112091e061bb69ad66812f82e89f11891ad..55499d74c37058e79b035ec230743c6996c61899 100644 |
--- a/tests/ImageFilterTest.cpp |
+++ b/tests/ImageFilterTest.cpp |
@@ -1074,36 +1074,40 @@ const SkSurfaceProps gProps = SkSurfaceProps(SkSurfaceProps::kLegacyFontHost_Ini |
DEF_GPUTEST(ImageFilterCropRectGPU, reporter, factory) { |
GrContext* context = factory->get(static_cast<GrContextFactory::GLContextType>(0)); |
SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(context, |
+ SkSurface::kNo_Budgeted, |
SkImageInfo::MakeN32Premul(100, 100), |
- gProps, |
- 0)); |
+ 0, |
+ &gProps)); |
test_crop_rects(device, reporter); |
} |
DEF_GPUTEST(HugeBlurImageFilterGPU, reporter, factory) { |
GrContext* context = factory->get(static_cast<GrContextFactory::GLContextType>(0)); |
SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(context, |
+ SkSurface::kNo_Budgeted, |
SkImageInfo::MakeN32Premul(100, 100), |
- gProps, |
- 0)); |
+ 0, |
+ &gProps)); |
test_huge_blur(device, reporter); |
} |
DEF_GPUTEST(XfermodeImageFilterCroppedInputGPU, reporter, factory) { |
GrContext* context = factory->get(static_cast<GrContextFactory::GLContextType>(0)); |
SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(context, |
+ SkSurface::kNo_Budgeted, |
SkImageInfo::MakeN32Premul(1, 1), |
- gProps, |
- 0)); |
+ 0, |
+ &gProps)); |
test_xfermode_cropped_input(device, reporter); |
} |
DEF_GPUTEST(TestNegativeBlurSigmaGPU, reporter, factory) { |
GrContext* context = factory->get(static_cast<GrContextFactory::GLContextType>(0)); |
SkAutoTUnref<SkGpuDevice> device(SkGpuDevice::Create(context, |
+ SkSurface::kNo_Budgeted, |
SkImageInfo::MakeN32Premul(1, 1), |
- gProps, |
- 0)); |
+ 0, |
+ &gProps)); |
test_negative_blur_sigma(device, reporter); |
} |
#endif |