Code Monkey home page Code Monkey logo

Comments (1)

kevingpqi123 avatar kevingpqi123 commented on June 20, 2024

针对三星部分手机 PAGImageView 渲染空白的问题,我们分析了下原因,结论如下:
出现问题的原因是三星部分机型 HardwareBuffer 相关实现可能存在一些问题,对于 PAGImageView 而言,pag 在播放动画的过程中,创建了一个 Bitmap,该 Bitmap 通过 Bitmap.wrapHardwareBuffer 的方式创建,Bitmap 占用的内存来源于创建的 HardwareBuffer,播放的过程中会不断将渲染的数据 copy 至创建的HardwareBuffer,然后将 Bitmap 渲染出来,但是在三星的部分机型上 Bitmap 的宽高可以正常读取,却无法正常显示,目前已拉群将该问题反馈至三星

对于 pag 而言,如果这里做处理就要加机型判断,我们倾向于等待三星的问题修复,问题修复后会第一时间知会大家

from libpag.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.