diff options
author | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-30 14:58:46 +0000 |
---|---|---|
committer | commit-bot@chromium.org <commit-bot@chromium.org@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2014-04-30 14:58:46 +0000 |
commit | 8c4953c6f176469ad287c3270ab146e292b23bad (patch) | |
tree | 4c7cdf4af19ef7c8ab754d9a4407b0f8ebea7ff7 /src/opts/SkBitmapProcState_opts_SSE2.h | |
parent | 125c6cdefe3d297319de6cdbf8210c9329abe99a (diff) |
Cleanup of SSE optimization files.
General cleanup of optimization files for x86/SSEx.
Renamed the opts_check_SSE2.cpp file to _x86, since it's not specific
to SSE2. Commented out the ColorRect32 optimization, since it's
disabled anyway, to make it more visible.
Also fixed a lot of indentation, inclusion guards, spelling,
copyright headers, braces, whitespace, and sorting of includes.
Author: henrik.smiding@intel.com
Signed-off-by: Henrik Smiding <henrik.smiding@intel.com>
R=reed@google.com, mtklein@google.com, tomhudson@google.com, djsollen@google.com, joakim.landberg@intel.com
Author: henrik.smiding@intel.com
Review URL: https://codereview.chromium.org/264603002
git-svn-id: http://skia.googlecode.com/svn/trunk@14464 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'src/opts/SkBitmapProcState_opts_SSE2.h')
-rw-r--r-- | src/opts/SkBitmapProcState_opts_SSE2.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/opts/SkBitmapProcState_opts_SSE2.h b/src/opts/SkBitmapProcState_opts_SSE2.h index 46e35a0f96..82c5cc8d6e 100644 --- a/src/opts/SkBitmapProcState_opts_SSE2.h +++ b/src/opts/SkBitmapProcState_opts_SSE2.h @@ -1,4 +1,3 @@ - /* * Copyright 2009 The Android Open Source Project * @@ -6,6 +5,8 @@ * found in the LICENSE file. */ +#ifndef SkBitmapProcState_opts_SSE2_DEFINED +#define SkBitmapProcState_opts_SSE2_DEFINED #include "SkBitmapProcState.h" @@ -24,7 +25,9 @@ void ClampX_ClampY_nofilter_scale_SSE2(const SkBitmapProcState& s, void ClampX_ClampY_filter_affine_SSE2(const SkBitmapProcState& s, uint32_t xy[], int count, int x, int y); void ClampX_ClampY_nofilter_affine_SSE2(const SkBitmapProcState& s, - uint32_t xy[], int count, int x, int y); + uint32_t xy[], int count, int x, int y); void S32_D16_filter_DX_SSE2(const SkBitmapProcState& s, - const uint32_t* xy, - int count, uint16_t* colors); + const uint32_t* xy, + int count, uint16_t* colors); + +#endif |