diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/opts/SkBlitRow_opts_SSE2.cpp | 6 | ||||
-rw-r--r-- | src/opts/SkBlitRow_opts_arm.cpp | 6 | ||||
-rw-r--r-- | src/opts/SkBlitRow_opts_none.cpp | 6 |
3 files changed, 9 insertions, 9 deletions
diff --git a/src/opts/SkBlitRow_opts_SSE2.cpp b/src/opts/SkBlitRow_opts_SSE2.cpp index 772c8ebb27..7428584a89 100644 --- a/src/opts/SkBlitRow_opts_SSE2.cpp +++ b/src/opts/SkBlitRow_opts_SSE2.cpp @@ -317,15 +317,15 @@ static const SkBlitRow::Proc32 platform_32_procs[] = { S32A_Blend_BlitRow32_SSE2, // S32A_Blend, }; -const SkBlitRow::Proc SkBlitRow::PlatformProcs4444(unsigned flags) { +SkBlitRow::Proc SkBlitRow::PlatformProcs4444(unsigned flags) { return NULL; } -const SkBlitRow::Proc SkBlitRow::PlatformProcs565(unsigned flags) { +SkBlitRow::Proc SkBlitRow::PlatformProcs565(unsigned flags) { return NULL; } -const SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { +SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { static bool once; static bool hasSSE2; if (!once) { diff --git a/src/opts/SkBlitRow_opts_arm.cpp b/src/opts/SkBlitRow_opts_arm.cpp index 44550daf9e..ae77bca56e 100644 --- a/src/opts/SkBlitRow_opts_arm.cpp +++ b/src/opts/SkBlitRow_opts_arm.cpp @@ -1011,14 +1011,14 @@ static const SkBlitRow::Proc32 platform_32_procs[] = { NULL, // S32A_Blend, }; -const SkBlitRow::Proc SkBlitRow::PlatformProcs4444(unsigned flags) { +SkBlitRow::Proc SkBlitRow::PlatformProcs4444(unsigned flags) { return platform_4444_procs[flags]; } -const SkBlitRow::Proc SkBlitRow::PlatformProcs565(unsigned flags) { +SkBlitRow::Proc SkBlitRow::PlatformProcs565(unsigned flags) { return platform_565_procs[flags]; } -const SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { +SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { return platform_32_procs[flags]; } diff --git a/src/opts/SkBlitRow_opts_none.cpp b/src/opts/SkBlitRow_opts_none.cpp index 15b999bfe0..8e0cddcda0 100644 --- a/src/opts/SkBlitRow_opts_none.cpp +++ b/src/opts/SkBlitRow_opts_none.cpp @@ -2,14 +2,14 @@ // Platform impl of Platform_procs with no overrides -const SkBlitRow::Proc SkBlitRow::PlatformProcs4444(unsigned flags) { +SkBlitRow::Proc SkBlitRow::PlatformProcs4444(unsigned flags) { return NULL; } -const SkBlitRow::Proc SkBlitRow::PlatformProcs565(unsigned flags) { +SkBlitRow::Proc SkBlitRow::PlatformProcs565(unsigned flags) { return NULL; } -const SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { +SkBlitRow::Proc32 SkBlitRow::PlatformProcs32(unsigned flags) { return NULL; } |