Index: src/gpu/GrYUVProvider.cpp |
diff --git a/src/gpu/GrYUVProvider.cpp b/src/gpu/GrYUVProvider.cpp |
index f88964184903135f4354a43035a1ec6237502147..844849a57567360157fe14b172291a276d4288d1 100644 |
--- a/src/gpu/GrYUVProvider.cpp |
+++ b/src/gpu/GrYUVProvider.cpp |
@@ -98,7 +98,7 @@ |
bool needsExactTexture = (yuvDesc.fWidth != yuvInfo.fSize[0].fWidth) || |
(yuvDesc.fHeight != yuvInfo.fSize[0].fHeight); |
if (needsExactTexture) { |
- yuvTextures[i].reset(ctx->textureProvider()->createTexture(yuvDesc, SkBudgeted::kYes)); |
+ yuvTextures[i].reset(ctx->textureProvider()->createTexture(yuvDesc, true)); |
} else { |
yuvTextures[i].reset(ctx->textureProvider()->createApproxTexture(yuvDesc)); |
} |
@@ -112,8 +112,7 @@ |
GrSurfaceDesc rtDesc = desc; |
rtDesc.fFlags = rtDesc.fFlags | kRenderTarget_GrSurfaceFlag; |
- SkAutoTUnref<GrTexture> result(ctx->textureProvider()->createTexture(rtDesc, SkBudgeted::kYes, |
- nullptr, 0)); |
+ SkAutoTUnref<GrTexture> result(ctx->textureProvider()->createTexture(rtDesc, true, nullptr, 0)); |
if (!result) { |
return nullptr; |
} |