Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(994)

Unified Diff: src/opts/SkOpts_sse2.cpp

Issue 1264543006: Port SkXfermode opts to SkOpts.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/opts/SkOpts_neon.cpp ('k') | src/opts/SkXfermode_opts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/opts/SkOpts_sse2.cpp
diff --git a/src/opts/SkOpts_sse2.cpp b/src/opts/SkOpts_sse2.cpp
index 69c55bc698856cc27c87d61bbc75b987a4b2bfd2..d80c6ff3523fcf600b37df485a25a2a8c8ea4643 100644
--- a/src/opts/SkOpts_sse2.cpp
+++ b/src/opts/SkOpts_sse2.cpp
@@ -6,6 +6,7 @@
*/
#include "SkOpts.h"
+#include "SkXfermode_opts.h"
namespace sse2 { // This helps identify methods from this file when debugging / profiling.
@@ -49,7 +50,8 @@ static void memset32(uint32_t* dst, uint32_t val, int n) {
namespace SkOpts {
void Init_sse2() {
- memset16 = sse2::memset16;
- memset32 = sse2::memset32;
+ memset16 = sse2::memset16;
+ memset32 = sse2::memset32;
+ create_xfermode = SkCreate4pxXfermode;
}
}
« no previous file with comments | « src/opts/SkOpts_neon.cpp ('k') | src/opts/SkXfermode_opts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698