Code Monkey home page Code Monkey logo

Comments (1)

CainKernel avatar CainKernel commented on July 24, 2024

似乎华为手机都有这个问题 ——
https://cn.club.vmall.com/thread-15136902-1-1.html
https://cn.club.vmall.com/thread-12292348-1-1.html
我手上没有华为相关的设备,不太清楚具体出现问题的原因,估计跟Mali GPU 或驱动层有关吧。个人猜测有以下几种可能—— 第一,驱动层有Bug,如果是这个原因,那应用层是没法解决的,得找华为的工程师要解决方案。第二,如果是GPU读取过慢导致的,这里大概率是OpenGL ES驱动缓冲区的命令没有加载的问题吧,你尝试用glFlush(),或者glFinish()看能否解决,不过glFlush()、glFinish() 都会导致预览帧率降低。另外还有一种解决方案,就是通过SharedContext 绘制需要截屏的内容输出到ImageReader中再做保存。你先看看以上几种思路能否解决你的问题?

from caincamera.

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.