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

Issue 2175493002: Fix SkClipStack bug with inverse-filled difference elements (Closed)

Created:
4 years, 5 months ago by csmartdalton
Modified:
4 years, 5 months ago
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

Fix SkClipStack bug with inverse-filled difference elements Previously, SkClipStack would call "setEmpty" on itself when an inverse-filled difference element made the stack empty. This was a problem because setEmpty would forget the element had an inverse fill, yet leave the op as "difference". This change modifies it to manually update the clip bounds and set the gen-ID to kEmptyGenID, rather than calling setEmpty. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2175493002 Committed: https://skia.googlesource.com/skia/+/d50e2401787dc5632453293b65f8255b12450b9b

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+52 lines, -34 lines) Patch
M src/core/SkClipStack.cpp View 1 chunk +3 lines, -3 lines 0 comments Download
M tests/ClipStackTest.cpp View 4 chunks +49 lines, -31 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 9 (5 generated)
csmartdalton
Hey guys, not sure if you are the right reviewers for this one, but I ...
4 years, 5 months ago (2016-07-22 00:56:43 UTC) #4
bsalomon
lgtm
4 years, 5 months ago (2016-07-22 13:22:51 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2175493002/1
4 years, 5 months ago (2016-07-22 15:15:32 UTC) #7
commit-bot: I haz the power
4 years, 5 months ago (2016-07-22 15:39:09 UTC) #9
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/d50e2401787dc5632453293b65f8255b12450b9b

Powered by Google App Engine
This is Rietveld 408576698