aboutsummaryrefslogtreecommitdiffhomepage
path: root/third_party/libpng
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/libpng')
-rw-r--r--third_party/libpng/pnglibconf.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/third_party/libpng/pnglibconf.h b/third_party/libpng/pnglibconf.h
index 0dcf6df856..3ba831479c 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 */