Index: src/core/SkOpts.cpp |
diff --git a/src/core/SkOpts.cpp b/src/core/SkOpts.cpp |
index 45715a5c1518ec69192e38fc1829bf092665751f..c833f19c819192b768b13d22f69e0fbad4a23ea3 100644 |
--- a/src/core/SkOpts.cpp |
+++ b/src/core/SkOpts.cpp |
@@ -7,6 +7,7 @@ |
#include "SkOnce.h" |
#include "SkOpts.h" |
+#include "SkXfermode_opts.h" |
#if defined(SK_CPU_X86) |
#if defined(SK_BUILD_FOR_WIN32) |
@@ -41,10 +42,10 @@ static void memsetT(T dst[], T val, int n) { while (n --> 0) { *dst++ = val; } } |
namespace SkOpts { |
// Define default function pointer values here... |
- decltype(rsqrt) rsqrt = portable::rsqrt; |
- decltype(memset16) memset16 = portable::memsetT<uint16_t>; |
- decltype(memset32) memset32 = portable::memsetT<uint32_t>; |
- |
+ decltype(rsqrt) rsqrt = portable::rsqrt; |
+ decltype(memset16) memset16 = portable::memsetT<uint16_t>; |
+ decltype(memset32) memset32 = portable::memsetT<uint32_t>; |
+ decltype(create_xfermode) create_xfermode = SkCreate4pxXfermode; |
// Each Init_foo() is defined in src/opts/SkOpts_foo.cpp. |
void Init_sse2(); |