diff options
author | 2014-06-03 06:34:58 -0700 | |
---|---|---|
committer | 2014-06-03 06:34:59 -0700 | |
commit | 8af0523b38f25993c8b1ba3a3562b9f9ac87162d (patch) | |
tree | 8a07e2b1acc809b1ec313e5de738c7f169e1bf4e /src/gpu/GrDrawState.h | |
parent | 5fb3392c3ea4eace911f9153eabc34bfba3463f4 (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.h | 2 |
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; |