Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(5567)

Issue 6449079: Added check for aa/bw rect merging (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 4 months ago by robertphillips
Modified:
12 years, 4 months ago
Reviewers:
bsalomon, reed1
CC:
skia-review_googlegroups.com
Base URL:
http://skia.googlecode.com/svn/trunk/
Visibility:
Public.

Description

Don't know how zealous we want to be here but such cases occur when running the GMs in sample app.

Patch Set 1 #

Total comments: 5
Unified diffs Side-by-side diffs Delta from patch set Stats (+182 lines, -28 lines) Patch
M src/core/SkClipStack.cpp View 5 chunks +58 lines, -26 lines 5 comments Download
M tests/ClipStackTest.cpp View 4 chunks +124 lines, -2 lines 0 comments Download

Messages

Total messages: 5
robertphillips
http://codereview.appspot.com/6449079/diff/1/src/core/SkClipStack.cpp File src/core/SkClipStack.cpp (right): http://codereview.appspot.com/6449079/diff/1/src/core/SkClipStack.cpp#newcode98 src/core/SkClipStack.cpp:98: return fSaveCount == saveCount && Very surprised this wasn't ...
12 years, 4 months ago (2012-08-01 20:37:33 UTC) #1
robertphillips
12 years, 4 months ago (2012-08-01 20:39:43 UTC) #2
bsalomon
LGTM http://codereview.appspot.com/6449079/diff/1/src/core/SkClipStack.cpp File src/core/SkClipStack.cpp (right): http://codereview.appspot.com/6449079/diff/1/src/core/SkClipStack.cpp#newcode98 src/core/SkClipStack.cpp:98: return fSaveCount == saveCount && On 2012/08/01 20:37:34, ...
12 years, 4 months ago (2012-08-01 21:17:44 UTC) #3
reed1
lgtm http://codereview.appspot.com/6449079/diff/1/src/core/SkClipStack.cpp File src/core/SkClipStack.cpp (right): http://codereview.appspot.com/6449079/diff/1/src/core/SkClipStack.cpp#newcode91 src/core/SkClipStack.cpp:91: */ rename to canBeIntersectedInPlace(...) ?
12 years, 4 months ago (2012-08-01 21:18:03 UTC) #4
robertphillips
12 years, 4 months ago (2012-08-02 12:49:22 UTC) #5
committed as r4907

http://codereview.appspot.com/6449079/diff/1/src/core/SkClipStack.cpp
File src/core/SkClipStack.cpp (right):

http://codereview.appspot.com/6449079/diff/1/src/core/SkClipStack.cpp#newcode91
src/core/SkClipStack.cpp:91: */
On 2012/08/01 21:18:03, reed1 wrote:
> rename to canBeIntersectedInPlace(...) ?

Done.

http://codereview.appspot.com/6449079/diff/1/src/core/SkClipStack.cpp#newcode98
src/core/SkClipStack.cpp:98: return  fSaveCount == saveCount &&
On 2012/08/01 21:17:44, bsalomon wrote:
> On 2012/08/01 20:37:34, robertphillips wrote:
> > Very surprised this wasn't in here before
> 
> Could it be simplified to:
> (SkRegion::kIntersect_Op == op && (SkRegion::kIntersect_Op == fOp ||
> SkRegion::kReplace_Op == fOp))
> ?

Done.
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b