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 in here before
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, 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)) ?
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(...) ?
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.