DescriptionUse vertex attributes for dash effect in gpu
This will allow us to batch dashed lines together when drawing. Also, this removes the need for
a coord transform matrix in the shader, thus we save the cost of uploading a new matrix uniform
everytime we do a simple transform to the dashed line we are drawing.
BUG=skia:
Committed: https://skia.googlesource.com/skia/+/e61c411c1258a323a010558c08de3d9f8d170dca
Patch Set 1 #Patch Set 2 : Format changes #
Total comments: 3
Patch Set 3 : Changes from review comments #Patch Set 4 : Remove commented lines #
Total comments: 2
Patch Set 5 : Remove paint cpy, add degen dash check #Patch Set 6 : Add dashing gm's to ignore #Patch Set 7 : Add override stroke constructor to StrokeRec #Patch Set 8 : Float fix #
Messages
Total messages: 14 (0 generated)
|