Chromium Code Reviews| Index: tests/ImageIsOpaqueTest.cpp |
| diff --git a/tests/ImageIsOpaqueTest.cpp b/tests/ImageIsOpaqueTest.cpp |
| index 6d886d48bfb19e05b40cb4e8f5dab86f58dcea24..903d808bd05e5f4a3acb4e17c4fd58c307753672 100644 |
| --- a/tests/ImageIsOpaqueTest.cpp |
| +++ b/tests/ImageIsOpaqueTest.cpp |
| @@ -80,11 +80,13 @@ DEF_GPUTEST(ImageIsOpaqueTest_GPU, reporter, factory) { |
| } |
| SkImageInfo infoTransparent = SkImageInfo::MakeN32Premul(5, 5); |
| - SkAutoTUnref<SkSurface> surfaceTransparent(SkSurface::NewRenderTarget(context, infoTransparent)); |
| + SkAutoTUnref<SkSurface> surfaceTransparent(SkSurface::NewRenderTarget(context, |
|
robertphillips
2015/01/15 21:30:36
Tab this over?
bsalomon
2015/01/15 22:15:50
Done.
|
| + SkSurface::kNo_Budgeted, infoTransparent)); |
| check_isopaque(reporter, surfaceTransparent, false); |
| SkImageInfo infoOpaque = SkImageInfo::MakeN32(5, 5, kOpaque_SkAlphaType); |
| - SkAutoTUnref<SkSurface> surfaceOpaque(SkSurface::NewRenderTarget(context, infoOpaque)); |
| + SkAutoTUnref<SkSurface> surfaceOpaque(SkSurface::NewRenderTarget(context, |
|
robertphillips
2015/01/15 21:30:36
This too ?
bsalomon
2015/01/15 22:15:50
Done.
|
| + SkSurface::kNo_Budgeted, infoOpaque)); |
| #if 0 |
| // this is failing right now : TODO fix me |
| check_isopaque(reporter, surfaceOpaque, true); |