commit | d211e7875d9d564f075f664d9f402e1fed6dd90c | [log] [tgz] |
---|---|---|
author | csmartdalton <csmartdalton@google.com> | Mon Aug 15 11:17:19 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Mon Aug 15 11:17:19 2016 -0700 |
tree | e6ea3720badcff1e5b4eb1af613cd5928d189d2d | |
parent | 3fe0327585f32ea2b9334965d8c90d9d699c584e [diff] |
Convert GrAppliedClip interface to builder style GrAppliedClip was about at its limit for how many "make" functions it could have. Window rectangles would push it over the edge. This change makes it so GrDrawTarget supplies the original draw bounds to the constructor, and then GrClip adds the various required clipping techniques. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2246113002 Review-Url: https://codereview.chromium.org/2246113002