| Index: src/gpu/GrDrawTarget.cpp
|
| diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp
|
| index 062a42fc5bf1e1a81c387d3e5d1e0b0cd2a7432a..8b849495838278967fd2da55202db8511b5ea531 100644
|
| --- a/src/gpu/GrDrawTarget.cpp
|
| +++ b/src/gpu/GrDrawTarget.cpp
|
| @@ -32,7 +32,8 @@
|
|
|
| ////////////////////////////////////////////////////////////////////////////////
|
|
|
| -GrDrawTarget::GrDrawTarget(GrRenderTarget* rt, GrGpu* gpu, GrResourceProvider* resourceProvider)
|
| +GrDrawTarget::GrDrawTarget(GrRenderTarget* rt, GrGpu* gpu, GrResourceProvider* resourceProvider,
|
| + const Options& options)
|
| : fGpu(SkRef(gpu))
|
| , fResourceProvider(resourceProvider)
|
| , fFlushing(false)
|
| @@ -40,7 +41,7 @@ GrDrawTarget::GrDrawTarget(GrRenderTarget* rt, GrGpu* gpu, GrResourceProvider* r
|
| , fRenderTarget(rt) {
|
| // TODO: Stop extracting the context (currently needed by GrClipMaskManager)
|
| fContext = fGpu->getContext();
|
| - fClipMaskManager.reset(new GrClipMaskManager(this));
|
| + fClipMaskManager.reset(new GrClipMaskManager(this, options.fClipBatchToBounds));
|
|
|
| rt->setLastDrawTarget(this);
|
|
|
|
|