Compile PNG's "intrinsics" when targeting arm64.
As noted in pngpriv.h, the alternative (assembly code) doesn't currently work on arm64. There's no mention of iOS or tvOS, so maybe we could remove those?
This commit is contained in:
@@ -38,10 +38,12 @@
|
||||
<file name="${NATIVE_TOOLKIT_PATH}/png/pngwtran.c" />
|
||||
<file name="${NATIVE_TOOLKIT_PATH}/png/pngwutil.c" />
|
||||
|
||||
<section if="ios || tvos">
|
||||
<!-- Files required only if PNG_ARM_NEON_IMPLEMENTATION == 1 (see pngpriv.h) -->
|
||||
<section if="ios || tvos || HXCPP_ARM64">
|
||||
|
||||
<file name="${NATIVE_TOOLKIT_PATH}/png/arm/arm_init.c" />
|
||||
<file name="${NATIVE_TOOLKIT_PATH}/png/arm/filter_neon_intrinsics.c" />
|
||||
<file name="${NATIVE_TOOLKIT_PATH}/png/arm/palette_neon_intrinsics.c" />
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user