DescriptionWiden 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.
Committed: https://skia.googlesource.com/skia/+/183e98559c2edf6b262fa6c6fff7f3013eb42f5a
Patch Set 1 #
Messages
Total messages: 6 (2 generated)
|