DescriptionMake SkFixedRound/Ceil/FloorToFixed as inline func
The macros that we were using will return unsigned int32 instead of
signed int32 because of the last 0xFFFF0000 mask. That may bring
problems if we right shift that result.
Special thanks to mtklein@google.com for helping me find out this issue.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search?issue=2433233003
Committed: https://skia.googlesource.com/skia/+/3f490cc642202c8ab3d51a8ffbd1782c63b9e6a0
Patch Set 1 #
Total comments: 2
Patch Set 2 : Unit tests #
Total comments: 1
Patch Set 3 : Remove one more bracket #
Messages
Total messages: 15 (7 generated)
|