v4.4.8
版本发布时间: 2024-09-20 14:13:11
Tencent/libpag最新发布版本:v4.4.8(2024-09-20 14:13:11)
主要修改内容: (1)鸿蒙版本完善:增加 PAGImageView,支持网络文件加载,完善鸿蒙硬件、软件解码
已知问题:
- 对于 PAGImageView, 由于鸿蒙系统问题, 直接使用NativeImage的内存进行 lz4 编解码会产生性能问题,从而导致画面卡顿严重,目前暂时使用 bitmap 的内存,相对于其他平台性能会稍差一些;由于鸿蒙版本无法直接设置 NativeImage 在 NativeWindow 中的 Matrix,相对于其它平台,在缓存后,PAGImageView 在鸿蒙系统中目前无法完全脱离 OpenGL 渲染环境
- 由于鸿蒙系统的软硬解存在设计缺陷,如只支持异步解码方式、解码后数据需要 copy 否则会出现画面错乱,因此在内存占用和性能方面会弱于其它平台, 这会导致含有 BMP 预合成的素材渲染会有一定的性能问题
(2)iOS 平台移除 PAGDecoder 和 PAGImageView 对于部分方法的入参限制 (3)修改部分 pag 文件渲染异常问题
Main revisions: (1) Improvements for HarmonyOS version: adding PAGImageView, supporting network file loading, enhancing HarmonyOS hardware and software decoding.
Known issues:
- For PAGImageView, due to issues with the HarmonyOS system, directly using NativeImage's memory for lz4 encoding/decoding will result in performance problems, causing severe stuttering. Currently, bitmap memory is temporarily used, which may perform slightly less than other platforms. Additionally, due to limitations in the HarmonyOS version, it is currently impossible to directly set the Matrix of NativeImage in NativeWindow. After caching, PAGImageView in the HarmonyOS system cannot completely detach from the OpenGL rendering environment.
- Due to design flaws in the software and hardware decoding of the HarmonyOS system, such as only supporting asynchronous decoding and requiring data copy after decoding to avoid image distortion, the memory usage and performance will be weaker than other platforms. This can lead to performance issues when rendering materials with BMP pre-composition.
(2) Removing input parameter restrictions for certain methods in PAGDecoder and PAGImageView on the iOS platform. (3) Fixing rendering anomalies in some pag files.
1、 libpag_4.4.8_android_armeabi_armv7a_arm64v8a.aar 6.03MB
2、 libpag_4.4.8_android_armeabi_armv7a_arm64v8a_harfbuzz.aar 6.03MB
3、 libpag_4.4.8_android_armeabi_armv7a_arm64v8a_noffavc.aar 4.47MB
4、 libpag_4.4.8_android_obj.zip 79.45MB
5、 libpag_4.4.8_android_obj_harfbuzz.zip 79.45MB
6、 libpag_4.4.8_android_obj_noffavc.zip 79.45MB
7、 libpag_4.4.8_include.zip 56.33KB
8、 libpag_4.4.8_ios_arm64_x86_64.zip 3MB
9、 libpag_4.4.8_ios_arm64_x86_64_static.zip 8.83MB
10、 libpag_4.4.8_ios_dSYM.zip 17.35MB
11、 libpag_4.4.8_macOS_arm64_x86_64.zip 6.23MB
12、 libpag_4.4.8_macOS_dSYM.zip 18.15MB
13、 libpag_4.4.8_miniprogram.zip 1.58MB
14、 libpag_4.4.8_ohos_arm64-v8a.har 1.79MB
15、 libpag_4.4.8_ohos_arm64-v8a.symbol.zip 2.88MB
16、 libpag_4.4.8_web.zip 2.56MB
17、 libpag_enterprise_4.4.8_include.zip 59.51KB
18、 libpag_enterprise_4.4.8_ios.dSYM.zip 18.94MB
19、 libpag_enterprise_4.4.8_ios_arm64_movie.zip 2.15MB
20、 libpag_enterprise_4.4.8_ios_arm64_x86_64.zip 3.22MB
21、 libpag_enterprise_4.4.8_ios_arm64_x86_64_movie.zip 6.78MB
22、 libpag_enterprise_4.4.8_ios_movie.dSYM.zip 20.06MB