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

Unified Diff: src/opts/SkOpts_avx.cpp

Issue 1432903002: float xfermodes (burn, dodge, softlight) in Sk8f, possibly using AVX. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 1.0f/255 Created 5 years, 1 month 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
Index: src/opts/SkOpts_avx.cpp
diff --git a/src/opts/SkOpts_avx.cpp b/src/opts/SkOpts_avx.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..88021530023bc080ec9c86fa6f2088c83dfdacb8
--- /dev/null
+++ b/src/opts/SkOpts_avx.cpp
@@ -0,0 +1,17 @@
+/*
+ * Copyright 2015 Google Inc.
+ *
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#include "SkOpts.h"
+#define SK_OPTS_NS sk_avx
+#include "SkXfermode_opts.h"
+
+namespace SkOpts {
+ void Init_avx() {
+ create_xfermode = sk_avx::create_xfermode;
+ }
+}
+

Powered by Google App Engine
This is Rietveld 408576698