commit | 183e98559c2edf6b262fa6c6fff7f3013eb42f5a | [log] [tgz] |
---|---|---|
author | robertphillips <robertphillips@google.com> | Tue Oct 21 11:25:37 2014 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Tue Oct 21 11:25:37 2014 -0700 |
tree | 77354bab368221af62c4d910b111630165cb3184 | |
parent | 484bbe5be63d6c516e8b190634117989de0f9a26 [diff] |
Widen the set of nested rects that can be drawn natively on the GPU GrAARectRenderer::fillAANestedRects only handles thin stroked rects correctly if the margins are all the same. It is also correct if all the margins are >= 1.0f. This CL allows such cases to use the fillAANestedRects fast path. This seems to halve the gpu rendering time of the picture in bug crbug.com/425427. Review URL: https://codereview.chromium.org/672473002