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

Unified Diff: src/core/SkOpts.cpp

Issue 1320673014: Port SkMatrix opts to SkOpts. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 3 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/core/SkOpts.h ('k') | src/opts/SkMatrix_opts.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkOpts.cpp
diff --git a/src/core/SkOpts.cpp b/src/core/SkOpts.cpp
index 492fae3a6b8ca76709069c77062ef093d6e9032e..a540bc8d4f782dc0e0dd76444a624e58e3bf3d33 100644
--- a/src/core/SkOpts.cpp
+++ b/src/core/SkOpts.cpp
@@ -14,6 +14,7 @@
#include "SkBlurImageFilter_opts.h"
#include "SkColorCubeFilter_opts.h"
#include "SkFloatingPoint_opts.h"
+#include "SkMatrix_opts.h"
#include "SkMorphologyImageFilter_opts.h"
#include "SkTextureCompressor_opts.h"
#include "SkUtils_opts.h"
@@ -58,6 +59,10 @@ namespace SkOpts {
decltype(blit_row_color32) blit_row_color32 = sk_default::blit_row_color32;
+ decltype(matrix_translate) matrix_translate = sk_default::matrix_translate;
+ decltype(matrix_scale_translate) matrix_scale_translate = sk_default::matrix_scale_translate;
+ decltype(matrix_affine) matrix_affine = sk_default::matrix_affine;
+
// Each Init_foo() is defined in src/opts/SkOpts_foo.cpp.
void Init_ssse3();
void Init_sse41();
« no previous file with comments | « src/core/SkOpts.h ('k') | src/opts/SkMatrix_opts.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698