Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(593)

Unified Diff: tests/ImageFilterTest.cpp

Issue 1205643002: Make SkGpuDevice know its alpha type (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix bench pictures :( Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/image/SkSurface_Gpu.cpp ('k') | tests/PremulAlphaRoundTripTest.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/ImageFilterTest.cpp
diff --git a/tests/ImageFilterTest.cpp b/tests/ImageFilterTest.cpp
index 9bdd910f1b85da3d867ef6c3f9e9eb52049ffe2e..480a75fe1d3573d5fbcedb003a019a427170b882 100644
--- a/tests/ImageFilterTest.cpp
+++ b/tests/ImageFilterTest.cpp
@@ -1152,7 +1152,8 @@ DEF_GPUTEST(ImageFilterCropRectGPU, reporter, factory) {
SkSurface::kNo_Budgeted,
SkImageInfo::MakeN32Premul(100, 100),
0,
- &props));
+ &props,
+ SkGpuDevice::kUninit_InitContents));
SkImageFilter::Proxy proxy(device);
test_crop_rects(&proxy, reporter);
@@ -1169,7 +1170,8 @@ DEF_GPUTEST(HugeBlurImageFilterGPU, reporter, factory) {
SkSurface::kNo_Budgeted,
SkImageInfo::MakeN32Premul(100, 100),
0,
- &props));
+ &props,
+ SkGpuDevice::kUninit_InitContents));
SkCanvas canvas(device);
test_huge_blur(&canvas, reporter);
@@ -1186,7 +1188,8 @@ DEF_GPUTEST(XfermodeImageFilterCroppedInputGPU, reporter, factory) {
SkSurface::kNo_Budgeted,
SkImageInfo::MakeN32Premul(1, 1),
0,
- &props));
+ &props,
+ SkGpuDevice::kUninit_InitContents));
SkCanvas canvas(device);
test_xfermode_cropped_input(&canvas, reporter);
@@ -1203,7 +1206,8 @@ DEF_GPUTEST(TestNegativeBlurSigmaGPU, reporter, factory) {
SkSurface::kNo_Budgeted,
SkImageInfo::MakeN32Premul(1, 1),
0,
- &props));
+ &props,
+ SkGpuDevice::kUninit_InitContents));
SkImageFilter::Proxy proxy(device);
test_negative_blur_sigma(&proxy, reporter);
« no previous file with comments | « src/image/SkSurface_Gpu.cpp ('k') | tests/PremulAlphaRoundTripTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698