diff options
author | 2015-07-31 14:02:36 -0700 | |
---|---|---|
committer | 2015-07-31 14:02:36 -0700 | |
commit | bdb34d0345748f424e3c787ad9bbef04134c7e3b (patch) | |
tree | ffc105e41a1f47c4f81da69c26ef5a59c69e84b7 /include/private | |
parent | eae6200acbec2255ac00ab363ffbe16758ec9076 (diff) |
Move SkOpts.h back to src/core.
The Chrome opts targets (sse2, ssse3, sse41, etc) don't have include/private on
their include path. This should unblock the roll.
TBR=reed@google.com
BUG=skia:4117
Review URL: https://codereview.chromium.org/1268853007
Diffstat (limited to 'include/private')
-rw-r--r-- | include/private/SkOpts.h | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/include/private/SkOpts.h b/include/private/SkOpts.h deleted file mode 100644 index 9239f8efec..0000000000 --- a/include/private/SkOpts.h +++ /dev/null @@ -1,35 +0,0 @@ -/* - * Copyright 2015 Google Inc. - * - * Use of this source code is governed by a BSD-style license that can be - * found in the LICENSE file. - */ - -#ifndef SkOpts_DEFINED -#define SkOpts_DEFINED - -#include "SkTypes.h" -#include "SkXfermode.h" - -struct ProcCoeff; - -namespace SkOpts { - // Call to replace pointers to portable functions with pointers to CPU-specific functions. - // Thread-safe and idempotent. - // Called by SkGraphics::Init(), and automatically #if SK_ALLOW_STATIC_GLOBAL_INITIALIZERS. - void Init(); - - // Declare function pointers here... - - // Returns a fast approximation of 1.0f/sqrtf(x). - extern float (*rsqrt)(float); - - // See SkUtils.h - extern void (*memset16)(uint16_t[], uint16_t, int); - extern void (*memset32)(uint32_t[], uint32_t, int); - - // May return nullptr if we haven't specialized the given Mode. - extern SkXfermode* (*create_xfermode)(const ProcCoeff&, SkXfermode::Mode); -} - -#endif//SkOpts_DEFINED |