| Index: src/gpu/GrPipeline.cpp
|
| diff --git a/src/gpu/GrPipeline.cpp b/src/gpu/GrPipeline.cpp
|
| index 8fe321d667b08fd01f516d1ea6c17eefb592487a..892bccd319a827d5b87c722025ea855c6b28813a 100644
|
| --- a/src/gpu/GrPipeline.cpp
|
| +++ b/src/gpu/GrPipeline.cpp
|
| @@ -27,7 +27,7 @@ GrPipeline* GrPipeline::CreateAt(void* memory, const CreateArgs& args,
|
| pipeline->fRenderTarget.reset(rt);
|
| SkASSERT(pipeline->fRenderTarget);
|
| pipeline->fScissorState = *args.fScissor;
|
| - pipeline->fWindowRects = *args.fWindowRects;
|
| + pipeline->fWindowRectsState = *args.fWindowRectsState;
|
| if (builder.hasUserStencilSettings() || args.fHasStencilClip) {
|
| const GrRenderTargetPriv& rtPriv = rt->renderTargetPriv();
|
| pipeline->fStencilSettings.reset(*builder.getUserStencil(), args.fHasStencilClip,
|
| @@ -230,7 +230,7 @@ bool GrPipeline::AreEqual(const GrPipeline& a, const GrPipeline& b,
|
| a.fFragmentProcessors.count() != b.fFragmentProcessors.count() ||
|
| a.fNumColorProcessors != b.fNumColorProcessors ||
|
| a.fScissorState != b.fScissorState ||
|
| - a.fWindowRects != b.fWindowRects ||
|
| + !a.fWindowRectsState.cheapEqualTo(b.fWindowRectsState) ||
|
| a.fFlags != b.fFlags ||
|
| a.fStencilSettings != b.fStencilSettings ||
|
| a.fDrawFace != b.fDrawFace ||
|
|
|