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

Unified Diff: third_party/libpng/pnglibconf.h

Issue 1573943002: sketch hooking into PNG_FILTER_OPTIMIZATIONS (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: asserts Created 4 years, 11 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
« src/codec/SkPngFilters.cpp ('K') | « src/codec/SkPngFilters.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/libpng/pnglibconf.h
diff --git a/third_party/libpng/pnglibconf.h b/third_party/libpng/pnglibconf.h
index 0dcf6df85657c1ee80ff2c85a51c47038bdbae15..3ba831479ce28115c236f2c081912d26797df669 100644
--- a/third_party/libpng/pnglibconf.h
+++ b/third_party/libpng/pnglibconf.h
@@ -211,6 +211,9 @@
/* custom settings */
#define PNG_ARM_NEON_API_SUPPORTED
#define PNG_ARM_NEON_CHECK_SUPPORTED
+#if defined(__SSE2__)
+ #define PNG_FILTER_OPTIMIZATIONS sk_png_init_filter_functions_sse2
+#endif
/* end of custom settings */
#endif /* PNGLCONF_H */
« src/codec/SkPngFilters.cpp ('K') | « src/codec/SkPngFilters.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698