aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/gpu/GrDrawState.h
diff options
context:
space:
mode:
authorGravatar bsalomon <bsalomon@google.com>2014-06-03 06:34:58 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-03 06:34:59 -0700
commit8af0523b38f25993c8b1ba3a3562b9f9ac87162d (patch)
tree8a07e2b1acc809b1ec313e5de738c7f169e1bf4e /src/gpu/GrDrawState.h
parent5fb3392c3ea4eace911f9153eabc34bfba3463f4 (diff)
Fall back to using clip effect for outer rect in drawdrrect
R=jvanverth@google.com Author: bsalomon@google.com Review URL: https://codereview.chromium.org/310483010
Diffstat (limited to 'src/gpu/GrDrawState.h')
-rw-r--r--src/gpu/GrDrawState.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gpu/GrDrawState.h b/src/gpu/GrDrawState.h
index 78739ec680..6cefd97761 100644
--- a/src/gpu/GrDrawState.h
+++ b/src/gpu/GrDrawState.h
@@ -411,6 +411,8 @@ public:
}
}
+ bool isSet() const { return NULL != fDrawState; }
+
private:
GrDrawState* fDrawState;
int fColorEffectCnt;