Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(373)

Issue 1421533007: Fix ClipMaskManager's SW-fallback logic (Closed)

Created:
5 years, 1 month ago by robertphillips
Modified:
5 years, 1 month ago
Reviewers:
bsalomon
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix ClipMaskManager's SW-fallback logic 'useSWOnlyPath' was not correctly toggling between stencil and color draws so there was a mismatch with the behavior in createAlphaClipMask (i.e., we were inadvertently rendering some of the elements in a clip using SW but using stenciling for others - precisely what 'useSWOnlyPath' was intended to prevent). Committed: https://skia.googlesource.com/skia/+/5c3ea4cd3921e8904d4f201bcdedfd5b8a726542

Patch Set 1 #

Patch Set 2 : clean up #

Patch Set 3 : More clean up #

Patch Set 4 : clean up? #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -78 lines) Patch
M include/gpu/GrContext.h View 1 chunk +1 line, -1 line 0 comments Download
M include/gpu/GrPathRendererChain.h View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrClipMaskManager.h View 1 2 1 chunk +0 lines, -8 lines 0 comments Download
M src/gpu/GrClipMaskManager.cpp View 1 8 chunks +77 lines, -56 lines 0 comments Download
M src/gpu/GrContext.cpp View 1 chunk +1 line, -1 line 0 comments Download
M src/gpu/GrDrawContext.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M src/gpu/GrPathRendererChain.cpp View 2 chunks +8 lines, -8 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 16 (7 generated)
robertphillips
5 years, 1 month ago (2015-10-25 17:40:14 UTC) #4
robertphillips
5 years, 1 month ago (2015-10-25 17:44:57 UTC) #5
bsalomon
lgtm, nice find
5 years, 1 month ago (2015-10-26 13:30:31 UTC) #6
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421533007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421533007/60001
5 years, 1 month ago (2015-10-26 13:42:08 UTC) #8
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 1 month ago (2015-10-26 13:52:47 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1421533007/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1421533007/60001
5 years, 1 month ago (2015-10-26 15:32:37 UTC) #12
commit-bot: I haz the power
Committed patchset #4 (id:60001) as https://skia.googlesource.com/skia/+/5c3ea4cd3921e8904d4f201bcdedfd5b8a726542
5 years, 1 month ago (2015-10-26 15:33:12 UTC) #13
robertphillips
A revert of this CL (patchset #4 id:60001) has been created in https://codereview.chromium.org/1426443008/ by robertphillips@google.com. ...
5 years, 1 month ago (2015-10-26 21:12:13 UTC) #14
robertphillips
5 years, 1 month ago (2015-10-27 14:00:05 UTC) #16
This CL has been split into:

https://codereview.chromium.org/1412883005 (Fix ClipMaskManager's SW-fallback
logic (take 2))
https://codereview.chromium.org/1422023003/ (Cosmetic portion of reverted "Fix
ClipMaskManager's SW-fallback logic" CL)
https://codereview.chromium.org/1424853002/ (Disable gpu-side clip mask merging
in the clip mask manager)

Powered by Google App Engine
This is Rietveld 408576698