From 1354048c8fa885b83e414532c011d710590d6b46 Mon Sep 17 00:00:00 2001 From: Brian Salomon Date: Mon, 9 Jul 2018 10:31:47 -0400 Subject: Add genIDs from all contributing elements to GrReducedClip's mask key. Change-Id: I3fed124ba3fefd1ef82acdb4ace9531d0c89ad8b Reviewed-on: https://skia-review.googlesource.com/138586 Commit-Queue: Brian Salomon Reviewed-by: Robert Phillips --- src/gpu/ops/GrStencilAndCoverPathRenderer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gpu/ops') diff --git a/src/gpu/ops/GrStencilAndCoverPathRenderer.cpp b/src/gpu/ops/GrStencilAndCoverPathRenderer.cpp index f395927b63..1f048a9883 100644 --- a/src/gpu/ops/GrStencilAndCoverPathRenderer.cpp +++ b/src/gpu/ops/GrStencilAndCoverPathRenderer.cpp @@ -108,7 +108,7 @@ bool GrStencilAndCoverPathRenderer::onDrawPath(const DrawPathArgs& args) { GrAATypeIsHW(args.fAAType), true, &appliedClip, &devBounds)) { return true; } - GrStencilClip stencilClip(appliedClip.stencilStackID()); + GrStencilClip stencilClip(true); if (appliedClip.scissorState().enabled()) { stencilClip.fixedClip().setScissor(appliedClip.scissorState().rect()); } -- cgit v1.2.3