DescriptionRe-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
Committed: https://skia.googlesource.com/skia/+/09e12a6d4a75d281c47e00a64eeba893ba096f9e
Patch Set 1 #
Total comments: 8
Patch Set 2 : Addressed patch 1 comments #
Total comments: 4
Patch Set 3 : Addressed patch 2 comments #
Messages
Total messages: 15 (6 generated)
|