| Index: tests/ReadPixelsTest.cpp
|
| diff --git a/tests/ReadPixelsTest.cpp b/tests/ReadPixelsTest.cpp
|
| index 28650e242708cc007994030b5dc73873cabef71d..eb84a2cfc09dcdd5534bf7f2c769fdeeb8c32837 100644
|
| --- a/tests/ReadPixelsTest.cpp
|
| +++ b/tests/ReadPixelsTest.cpp
|
| @@ -587,7 +587,8 @@ DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(ReadPixels_Subset_Gpu, reporter, ctxInfo)
|
|
|
| // ... one from a texture-subset
|
| SkAutoTUnref<GrTexture> fullTx(GrRefCachedBitmapTexture(ctxInfo.grContext(), bitmap,
|
| - GrTextureParams::ClampNoFilter()));
|
| + GrTextureParams::ClampNoFilter(),
|
| + false));
|
| SkBitmap tx_full;
|
| GrWrapTextureInBitmap(fullTx, bitmap.width(), bitmap.height(), true, &tx_full);
|
| tx_full.extractSubset(&tx_subset, subset);
|
| @@ -596,7 +597,8 @@ DEF_GPUTEST_FOR_GL_RENDERING_CONTEXTS(ReadPixels_Subset_Gpu, reporter, ctxInfo)
|
| SkBitmap tmp_subset;
|
| bitmap.extractSubset(&tmp_subset, subset);
|
| SkAutoTUnref<GrTexture> subsetTx(GrRefCachedBitmapTexture(ctxInfo.grContext(), tmp_subset,
|
| - GrTextureParams::ClampNoFilter()));
|
| + GrTextureParams::ClampNoFilter(),
|
| + false));
|
| GrWrapTextureInBitmap(subsetTx, tmp_subset.width(), tmp_subset.height(), true, &bm_subset);
|
|
|
| // did we get the same subset?
|
|
|