Chromium Code Reviews| Index: src/gpu/effects/GrConfigConversionEffect.cpp |
| diff --git a/src/gpu/effects/GrConfigConversionEffect.cpp b/src/gpu/effects/GrConfigConversionEffect.cpp |
| index 4412c43736694c462500ae84193856f8582ddaa8..ec44d08b01dd6138fb6961e5c366c83f4b39bcf4 100644 |
| --- a/src/gpu/effects/GrConfigConversionEffect.cpp |
| +++ b/src/gpu/effects/GrConfigConversionEffect.cpp |
| @@ -185,16 +185,16 @@ void GrConfigConversionEffect::TestForPreservingPMConversions(GrContext* context |
| desc.fHeight = 256; |
| desc.fConfig = kRGBA_8888_GrPixelConfig; |
|
robertphillips
2015/02/05 20:43:49
Did you intentionally make these budgeted?
bsalomon
2015/02/06 15:27:27
Yeah, I think they should count.
|
| - SkAutoTUnref<GrTexture> readTex(context->createUncachedTexture(desc, NULL, 0)); |
| + SkAutoTUnref<GrTexture> readTex(context->createTexture(desc, true, NULL, 0)); |
| if (!readTex.get()) { |
| return; |
| } |
| - SkAutoTUnref<GrTexture> tempTex(context->createUncachedTexture(desc, NULL, 0)); |
| + SkAutoTUnref<GrTexture> tempTex(context->createTexture(desc, true, NULL, 0)); |
| if (!tempTex.get()) { |
| return; |
| } |
| desc.fFlags = kNone_GrSurfaceFlags; |
| - SkAutoTUnref<GrTexture> dataTex(context->createUncachedTexture(desc, data, 0)); |
| + SkAutoTUnref<GrTexture> dataTex(context->createTexture(desc, true, data, 0)); |
| if (!dataTex.get()) { |
| return; |
| } |