aboutsummaryrefslogtreecommitdiffhomepage
path: root/gm/cmykjpeg.cpp
diff options
context:
space:
mode:
authorGravatar mtklein@google.com <mtklein@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-22 16:56:22 +0000
committerGravatar mtklein@google.com <mtklein@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-11-22 16:56:22 +0000
commit1950d5f58f56f6a0fb5dc5aa3f5caac991f0b2ce (patch)
tree18169e5fed252c33f77fea68314bb2d463e4b8f9 /gm/cmykjpeg.cpp
parent46a9bb8d71529e4a8c2ca9c68e280ea989d5bece (diff)
Add 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 Review URL: https://codereview.chromium.org/83333005 git-svn-id: http://skia.googlecode.com/svn/trunk@12364 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gm/cmykjpeg.cpp')
0 files changed, 0 insertions, 0 deletions