diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-28 14:42:41 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2012-11-28 14:42:41 +0000 |
commit | edb26fdb8349a727b226e90cbeab06cd25f5cac0 (patch) | |
tree | 05411da91d66ad82aee2d17cdfa219c37c7e376b /src/gpu | |
parent | ab5e91184b01fcfebbb7a4ae5723ede5367832dd (diff) |
Set empty/wide-open genID on clip stack in more places and fix a bug in GrReduceClipStack.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6847116
git-svn-id: http://skia.googlecode.com/svn/trunk@6579 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/gpu')
-rw-r--r-- | src/gpu/GrClipMaskManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gpu/GrClipMaskManager.cpp b/src/gpu/GrClipMaskManager.cpp index 0808b5e3b3..9190bdc6a6 100644 --- a/src/gpu/GrClipMaskManager.cpp +++ b/src/gpu/GrClipMaskManager.cpp @@ -90,11 +90,11 @@ void GrReduceClipStack(const SkClipStack& stack, *initialState = kAllIn_InitialState; break; } - if (!embiggens && SkClipStack::kEmptyGenID == clip->fGenID) { + if (SkClipStack::kEmptyGenID == clip->fGenID) { *initialState = kAllOut_InitialState; break; } - if (!emsmallens && SkClipStack::kWideOpenGenID == clip->fGenID) { + if (SkClipStack::kWideOpenGenID == clip->fGenID) { *initialState = kAllIn_InitialState; break; } |