Index: src/gpu/GrContext.cpp |
diff --git a/src/gpu/GrContext.cpp b/src/gpu/GrContext.cpp |
index 9f5d7bde0b76cc77c467b5d9d375f003a9d465f2..04fabaa6b3e0b41b1f246167f3b4a48bedde555b 100644 |
--- a/src/gpu/GrContext.cpp |
+++ b/src/gpu/GrContext.cpp |
@@ -656,7 +656,8 @@ sk_sp<GrDrawContext> GrContext::newDrawContext(SkBackingFit fit, |
GrPixelConfig config, |
int sampleCnt, |
GrSurfaceOrigin origin, |
- const SkSurfaceProps* surfaceProps) { |
+ const SkSurfaceProps* surfaceProps, |
+ SkBudgeted budgeted) { |
GrSurfaceDesc desc; |
desc.fFlags = kRenderTarget_GrSurfaceFlag; |
desc.fOrigin = origin; |
@@ -667,7 +668,7 @@ sk_sp<GrDrawContext> GrContext::newDrawContext(SkBackingFit fit, |
sk_sp<GrTexture> tex; |
if (SkBackingFit::kExact == fit) { |
- tex.reset(this->textureProvider()->createTexture(desc, SkBudgeted::kYes)); |
+ tex.reset(this->textureProvider()->createTexture(desc, budgeted)); |
} else { |
tex.reset(this->textureProvider()->createApproxTexture(desc)); |
} |