DescriptionAdd SK_ALWAYS_INLINE.
I'm working on some code that's much faster when compiled by GCC than by Clang
because GCC inlines more aggressively. Using SK_ATTRIBUTE(always_inline) on
the appropriate methods narrows the performance gap considerably.
This should work for MSVC, GCC, and Clang, otherwise falling back to "inline".
BUG=
R=reed@google.com
Committed: https://code.google.com/p/skia/source/detail?r=12364
Patch Set 1 #Patch Set 2 : add usage #Patch Set 3 : how do you spell judgment? #Messages
Total messages: 4 (0 generated)
|