commit | 3ab14ca950d98a5c4d4c4a5f96ea8b0c984e0116 | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Sun Jul 10 11:49:39 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Sun Jul 10 11:49:39 2016 -0700 |
tree | f32e92ce078ee227f20ba865d6e04472bf0b2bb5 | |
parent | 6092b6e0e57be20d2e1ad079c0af133d2f67bfd3 [diff] |
Fix misplaced guard This fixes an error in https://codereview.chromium.org/2125333002 (Add choke point for modifying non-AA rect draws (e.g., applying clipping)). In GrDrawContext::drawRect, when we need to draw a filled rect, we always want to call drawFilledRect when useDrawInsteadOfClear is false. With the buggy code I believe we were falling back to drawing a path. TBR=bsalomon@google.com GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2135883002 Review-Url: https://codereview.chromium.org/2135883002