Index: include/gpu/GrContext.h |
diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h |
index b156ba6173d4586e6cf3325fb2445f3a2d05720c..deddb462d687b8444405d5279652eed4cb5e8e93 100644 |
--- a/include/gpu/GrContext.h |
+++ b/include/gpu/GrContext.h |
@@ -189,22 +189,22 @@ public: |
* |
* @return a draw context |
*/ |
- sk_sp<GrDrawContext> drawContext(sk_sp<GrRenderTarget> rt, sk_sp<SkColorSpace> colorSpace, |
- const SkSurfaceProps* = nullptr); |
+ sk_sp<GrDrawContext> makeDrawContext(sk_sp<GrRenderTarget> rt, sk_sp<SkColorSpace> colorSpace, |
+ const SkSurfaceProps* = nullptr); |
/** |
* Create both a GrRenderTarget and a matching GrDrawContext to wrap it. |
* We guarantee that "asTexture" will succeed for drawContexts created |
* via this entry point. |
*/ |
- sk_sp<GrDrawContext> newDrawContext(SkBackingFit fit, |
- int width, int height, |
- GrPixelConfig config, |
- sk_sp<SkColorSpace> colorSpace, |
- int sampleCnt = 0, |
- GrSurfaceOrigin origin = kDefault_GrSurfaceOrigin, |
- const SkSurfaceProps* surfaceProps = nullptr, |
- SkBudgeted = SkBudgeted::kYes); |
+ sk_sp<GrDrawContext> makeDrawContext(SkBackingFit fit, |
+ int width, int height, |
+ GrPixelConfig config, |
+ sk_sp<SkColorSpace> colorSpace, |
+ int sampleCnt = 0, |
+ GrSurfaceOrigin origin = kDefault_GrSurfaceOrigin, |
+ const SkSurfaceProps* surfaceProps = nullptr, |
+ SkBudgeted = SkBudgeted::kYes); |
/////////////////////////////////////////////////////////////////////////// |
// Misc. |