aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkDraw.h
diff options
context:
space:
mode:
authorGravatar Mike Reed <reed@google.com>2017-03-02 20:22:35 +0000
committerGravatar Skia Commit-Bot <skia-commit-bot@chromium.org>2017-03-02 20:22:48 +0000
commitea5e676a7b75600edcde3912886486004ccd7626 (patch)
tree1ed67f45d493bd4efdef0f0fb83941529aabb2a6 /src/core/SkDraw.h
parentd7875f57bd5f17ac27f1cb2ace25224299ff2389 (diff)
Revert "Remove SkDraw from device-draw methods, and enable device-centric clipping."
This reverts commit c77e33f73d3e86cfabf925d6f2e1166f81022575. Reason for revert: breaks isClipRect - this CL inspected the conservative clip for this, which is (by definition) a rect - probably need to query the device for this info Original change's description: > Remove SkDraw from device-draw methods, and enable device-centric clipping. > > BUG=skia:6214 > > Change-Id: I593900724310d09133ae4791ef68d38c43762fc2 > Reviewed-on: https://skia-review.googlesource.com/8806 > Reviewed-by: Brian Salomon <bsalomon@google.com> > Commit-Queue: Mike Reed <reed@google.com> > TBR=bsalomon@google.com,halcanary@google.com,msarett@google.com,robertphillips@google.com,fmalita@chromium.org,reed@google.com,reviews@skia.org NOPRESUBMIT=true NOTREECHECKS=true NOTRY=true BUG=skia:6214 Change-Id: I9090cbbb9f45b2dd204d9fdc187de2ff714b93f6 Reviewed-on: https://skia-review.googlesource.com/9172 Reviewed-by: Mike Reed <reed@google.com> Commit-Queue: Mike Reed <reed@google.com>
Diffstat (limited to 'src/core/SkDraw.h')
-rw-r--r--src/core/SkDraw.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/SkDraw.h b/src/core/SkDraw.h
index 0b29468d8e..534333984b 100644
--- a/src/core/SkDraw.h
+++ b/src/core/SkDraw.h
@@ -149,6 +149,7 @@ public:
SkPixmap fDst;
const SkMatrix* fMatrix; // required
const SkRasterClip* fRC; // required
+ const SkClipStack* fClipStack; // optional, may be null
#ifdef SK_DEBUG
void validate() const;