commit | 09e12a6d4a75d281c47e00a64eeba893ba096f9e | [log] [tgz] |
---|---|---|
author | dvonbeck <dvonbeck@google.com> | Fri Aug 12 12:50:36 2016 -0700 |
committer | Commit bot <commit-bot@chromium.org> | Fri Aug 12 12:50:36 2016 -0700 |
tree | c9f8cf03b8b2194ef5163fa6be633c826b5cc021 | |
parent | 8a822ba4a39c9eac8710eafb7ca4f7ac888b5af8 [diff] |
Re-adding analytical GeoProc for rectangles Adapted old GeoProc because its knowledge of the geometry is helpful for computing the distance vector: https://skia.googlesource.com/skia/+/6006d0f8c4f19d19a12de20826f731f52ac822a7/src/gpu/GrAARectRenderer.cpp Added distance vector capabilities to this GeoProc. Modified GrDrawContext to used this GeoProc when drawing anti-aliased vectors with a shader that requires distance vectors. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2230513004 Review-Url: https://codereview.chromium.org/2230513004