Skip to content

v4.0.5.17_release_20220704

Pre-release
Pre-release
Compare
Choose a tag to compare
@kevingpqi123 kevingpqi123 released this 04 Jul 03:40
· 30 commits to release/4.0.5 since this release

主要修改内容:
(1)Android 侧修改软解注册的时机,解决部分场景软解无效问题;
(2)完善 PAGView 刷新逻辑,修复 PAGView remove 后 add 无法播放问题;
(3)Windows 端支持读取系统字体;
(4)Web 端修改:

  • PAGSurface 上 "fromCanvas" 替代 "FromCanvas" , "fromTexture"替代"FromTexture" , "fromRenderTarget" 替代 "FromRenderTarget"
  • PAGComposition 上 "make" 替代 "Mak".
  • PAGSolidLayer 上 "make" 替代 "Make".
  • PAGImageLayer 上 "make" 替代 "Make".
  • 增加 “BackendContext" 类
  • libpag 上增加 "SDKVersion"接口用于获取版本号
  • PAGView 上增加 "onAnimationUpdate" 事件,增加 "setComposition" , "matrix" , "setMatrix" , "getLayersUnderPoint" 函数接口
  • 支持注销软件解码器
  • 当获取 PAGLayer 会返回对应类型的 TypeLayer

Main revisions:
(1)The Android side modifies the timing of soft decryption registration to solve the issue of invalid soft decryption in some scenarios;
(2) Improve PAGView refresh logic and fix the issue that add cannot play after PAGView remove;
(3)Windows supports reading system fonts;
(4)Web side modification:

  • On PAGSurface, "from Canvas" replaces "FromCanvas", "from Texture" replaces "FromTexture", and "from RenderTarget" replaces"FromRenderTarget"
  • "make" replaces "Make" on PAGComposition.
  • "make" replaces "Make" on PAGSolidLayer.
  • "make" replaces "Make" on PAGImageLayer.
  • Add "BackendContext" class
  • Add "SDKVersion" interface to libpag to obtain version number
  • Add "onAnimationUpdate" event to PAGView, add "setComposition" , "matrix" , "setMatrix" , "getLayersUnderPoint" function interface
  • Support unregistering software decoders
  • When getting PAGLayer, the corresponding type of TypeLayer will be returned.