DescriptionRemove style application from GrPathRenderer subclasses
Now that GrPathRenderer is using GrShape it is possible to get a key for a path that was computed by applying style to an original path.
This improves path renderer subclass selection, particularly when a post-styled path happens to work with a simpler path renderer (e.g. it is convex). Previously a more expensive path renderer may have applied the style and rendered it (e.g. the distance field PR)
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2064753003
Committed: https://skia.googlesource.com/skia/+/ee43241d72148545e4e3b75aa4338c491b39cc0c
Patch Set 1 #Patch Set 2 : rebase #Patch Set 3 : rebase #
Total comments: 6
Patch Set 4 : Address comments from egdaniel@ #Patch Set 5 : Fix stencil-and-cover onCanDrawPath #Patch Set 6 : rm debugging asserts #Patch Set 7 : Remove random style from DF batch test create, since it now only allows simple fill #
Dependent Patchsets: Messages
Total messages: 18 (9 generated)
|