DescriptionFixed the bug in drawVertices when no colors or texture coordinates are provided by modifying the grprimitive to klines and adjusting the indices.
BUG=skia:2745
Committed: https://skia.googlesource.com/skia/+/612364de87cb2012239c4f6435e8e11760617fdc
Committed: https://skia.googlesource.com/skia/+/32a311bfc056169c9f3b1c299c57ff5139a0d8bc
Patch Set 1 #Patch Set 2 : calculate index count based on the number of traingles determined by the primitive type #
Total comments: 4
Patch Set 3 : only copy skpaint when we need to #Patch Set 4 : copy indices only when a no colors or texture coordninates are passed #Patch Set 5 : Remove memory leak when allocating new indices #
Total comments: 2
Patch Set 6 : removed ugly cast for const uint16_t* #
Total comments: 1
Patch Set 7 : Fixed issue with gm's #Messages
Total messages: 13 (0 generated)
|