DescriptionOptimize QuadF's IsCounterClockwise function
IsCounterClockwise is a busy function,See performance and discussion:
https://groups.google.com/a/chromium.org/forum/#!topic/graphics-dev/aSvAbzcgbos
This patch reduce IsCounterClockwise() from 8mul+3add+4sub to 4mul+2add+2sub,
and performance doubled in real micro-bench.
R=danakj@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289138
Patch Set 1 #
Total comments: 6
Patch Set 2 : #Messages
Total messages: 11 (0 generated)
|