Descriptionfix the visual difference of raster vs gpu -- inverse_paths
If a path has no verbs, it is empty. If a path has verbs, but both the width and height of the bounds are zero. the path is empty too. This situation happens when you add an empty rect or circle... , say a rect{x, y, width, height} = {100, 100, 0, 0}, to a path.
For 8888 config, drawPath() checked the bounds.
For gpu config, it doesn't.
BUG=skia:2176
Committed: http://code.google.com/p/skia/source/detail?r=13526
Patch Set 1 #Patch Set 2 : update ignore-tests.txt #
Total comments: 2
Patch Set 3 : update code according to Brian's proposal #
Total comments: 2
Patch Set 4 : nits #Patch Set 5 : rebase code #
Total comments: 2
Messages
Total messages: 14 (0 generated)
|