| Index: include/gpu/GrContext.h
|
| diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
|
| index 9965ee8445e6f2e5121975995bb40b4ca149efd5..9ccda23727d427982bbac5103ac24e177c00e81f 100644
|
| --- a/include/gpu/GrContext.h
|
| +++ b/include/gpu/GrContext.h
|
| @@ -197,7 +197,8 @@ public:
|
|
|
| // Create a new render target context as above but have it backed by a deferred-style
|
| // GrRenderTargetProxy rather than one that is backed by an actual GrRenderTarget
|
| - sk_sp<GrRenderTargetContext> makeDeferredRenderTargetContext(SkBackingFit fit,
|
| + sk_sp<GrRenderTargetContext> makeDeferredRenderTargetContext(
|
| + SkBackingFit fit,
|
| int width, int height,
|
| GrPixelConfig config,
|
| sk_sp<SkColorSpace> colorSpace,
|
| @@ -221,6 +222,18 @@ public:
|
| const SkSurfaceProps* surfaceProps = nullptr,
|
| SkBudgeted budgeted = SkBudgeted::kYes);
|
|
|
| + // Create a new render target context as above but have it backed by a deferred-style
|
| + // GrRenderTargetProxy rather than one that is backed by an actual GrRenderTarget
|
| + sk_sp<GrRenderTargetContext> makeDeferredRenderTargetContextWithFallback(
|
| + SkBackingFit fit,
|
| + int width, int height,
|
| + GrPixelConfig config,
|
| + sk_sp<SkColorSpace> colorSpace,
|
| + int sampleCnt = 0,
|
| + GrSurfaceOrigin origin = kDefault_GrSurfaceOrigin,
|
| + const SkSurfaceProps* surfaceProps = nullptr,
|
| + SkBudgeted budgeted = SkBudgeted::kYes);
|
| +
|
| ///////////////////////////////////////////////////////////////////////////
|
| // Misc.
|
|
|
|
|