diff options
author | 2016-04-14 14:07:02 -0700 | |
---|---|---|
committer | 2016-04-14 14:07:02 -0700 | |
commit | 567118fbe69f9d0e245ddc0a6c312b6b9b70233f (patch) | |
tree | f6438ba9245ef21aca0efbdae3051f4111e7429d /src/core/SkOpts.h | |
parent | 149b47fec73ce945ef26463a3092bad5569b6a53 (diff) |
Graduate matrix map-point procs out of SkOpts.
These are implemented generically with Sk4s and don't benefit
from anything fancier than vanilla SSE/NEON.
This means there's no need to hide this code away in another
file or behind a function pointer... it's readable and we have
compile-time support for all the instructions it needs.
BUG=skia:
GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1872193002
CQ_EXTRA_TRYBOTS=client.skia:Test-Ubuntu-GCC-GCE-CPU-AVX2-x86_64-Release-SKNX_NO_SIMD-Trybot
Review URL: https://codereview.chromium.org/1872193002
Diffstat (limited to 'src/core/SkOpts.h')
-rw-r--r-- | src/core/SkOpts.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/core/SkOpts.h b/src/core/SkOpts.h index 3989047826..bc3ea00140 100644 --- a/src/core/SkOpts.h +++ b/src/core/SkOpts.h @@ -8,7 +8,6 @@ #ifndef SkOpts_DEFINED #define SkOpts_DEFINED -#include "SkMatrix.h" #include "SkTextureCompressor.h" #include "SkTypes.h" #include "SkXfermode.h" @@ -50,8 +49,6 @@ namespace SkOpts { int, const SkColor*); - extern SkMatrix::MapPtsProc matrix_translate, matrix_scale_translate, matrix_affine; - // Swizzle input into some sort of 8888 pixel, {premul,unpremul} x {rgba,bgra}. typedef void (*Swizzle_8888)(uint32_t*, const void*, int); extern Swizzle_8888 RGBA_to_BGRA, // i.e. just swap RB |