DescriptionGrDrawState compares bytes to see if two objects are equal. This means that everything it includes really needs to be zero when it's supposed to be zero.
We achieve this by expanding the type mask in SkMatrix from int8 to int32, getting rid of uninitialized padding. Incidentally, this was skia issue 354, which I'd marked as WontFix but doesn't hurt to fix.
This passes gm/bench on Linux and fixes the Valgrind uninitialized warnings.
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : Tracking down the real culprit #Patch Set 4 : Expand the type field in SkMatrix #MessagesTotal messages: 5
|