| Index: include/gpu/GrContext.h
|
| diff --git a/include/gpu/GrContext.h b/include/gpu/GrContext.h
|
| index 3a57cd8e287e89ffd4764133e0b28d5bc166ae15..b156ba6173d4586e6cf3325fb2445f3a2d05720c 100644
|
| --- a/include/gpu/GrContext.h
|
| +++ b/include/gpu/GrContext.h
|
| @@ -189,7 +189,8 @@ public:
|
| *
|
| * @return a draw context
|
| */
|
| - sk_sp<GrDrawContext> drawContext(sk_sp<GrRenderTarget> rt, const SkSurfaceProps* = nullptr);
|
| + sk_sp<GrDrawContext> drawContext(sk_sp<GrRenderTarget> rt, sk_sp<SkColorSpace> colorSpace,
|
| + const SkSurfaceProps* = nullptr);
|
|
|
| /**
|
| * Create both a GrRenderTarget and a matching GrDrawContext to wrap it.
|
| @@ -199,6 +200,7 @@ public:
|
| 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,
|
|
|