Index: src/gpu/GrDrawTarget.cpp |
diff --git a/src/gpu/GrDrawTarget.cpp b/src/gpu/GrDrawTarget.cpp |
index b4142eb40b1e2af0258c3a0bb64ad110e8944485..1889b87133dc5fa1719442df80a2bb84bbc6e308 100644 |
--- a/src/gpu/GrDrawTarget.cpp |
+++ b/src/gpu/GrDrawTarget.cpp |
@@ -7,6 +7,7 @@ |
#include "GrDrawTarget.h" |
+#include "GrAppliedClip.h" |
#include "GrAuditTrail.h" |
#include "GrCaps.h" |
#include "GrDrawContext.h" |
@@ -379,6 +380,7 @@ void GrDrawTarget::drawBatch(const GrPipelineBuilder& pipelineBuilder, |
sk_sp_address_as_pointer_address(pipelineBuilder.fCoverageFragmentProcessors.begin()), |
pipelineBuilder.numCoverageFragmentProcessors()); |
args.fScissor = &appliedClip.scissorState(); |
+ args.fWindowRects = &appliedClip.windowRects(); |
args.fHasStencilClip = appliedClip.hasStencilClip(); |
if (!this->setupDstReadIfNecessary(pipelineBuilder, drawContext->accessRenderTarget(), |
clip, args.fOpts, |