EGLSurface 和 OpenGL ES

31 篇文章 1 订阅

https://source.android.com/devices/graphics/arch-egl-opengl

https://mp.weixin.qq.com/s?__biz=MzA3NTYzODYzMg==&mid=2653579482&idx=2&sn=76bf8cff3c7830021eef178f636c8fef&chksm=84b3baddb3c433cb816d49a4186f69c4eee93a157bc50937ab294172a7b1e8a311adc774291d&mpshare=1&scene=1&srcid=0919KSTOxUoT4oAnOw5tZ4z2&pass_ticket=SuWJaO7SN9MeDQguCpdkO2zjdPhxPOMhi0QIgjHOlvHve2GAww7nfw%2FbEAzo%2Bl%2Bf#rd

 

https://blog.csdn.net/armwind/article/details/73436532

http://www.360doc.com/content/15/0630/20/10366845_481774837.shtml

 

  • <config pps_mode="1" component="com.facebook.katana" fps="50"/>

    需要看下是不是限帧了,这个出现在pps 平衡模式中名单中

  • HAL层传输给AP层的帧率一直维持在20帧以上,从HAL层角度来看,不会存在卡顿。

    所以还是和当前系统性能。

    HAL层上传数据给显示层:

    07-17 05:17:17.481258   323 17984 I MtkCam/DisplayClient: [DisplayClient::enquePrvOps] fps: 19.961496 = 20 / 1001928947 ns

    07-17 05:17:17.481258   323 17984 I MtkCam/DisplayClient: [DisplayClient::enquePrvOps] fps: 19.961496 = 20 / 1001928947 ns

    07-17 05:17:18.482811   323 17984 I MtkCam/DisplayClient: [DisplayClient::enquePrvOps] fps: 19.972439 = 20 / 1001379946 ns

    三方apk有消化不了丢帧(slot):

    07-17 05:17:04.600968 17616 17801 I BufferQueueProducer: [SurfaceTexture-0-17616-0](this:0x8ae79000,id:0,api:4,p:300,c:17616) queueBuffer: slot 1 is dropped, handle=0x8a640c00

    07-17 05:17:04.640824 17616 17801 I BufferQueueProducer: [SurfaceTexture-0-17616-0](this:0x8ae79000,id:0,api:4,p:300,c:17616) queueBuffer: slot 0 is dropped, handle=0x8a640b40

    07-17 05:17:04.681653 17616 17801 I BufferQueueProducer: [SurfaceTexture-0-17616-0](this:0x8ae79000,id:0,api:4,p:300,c:17616) queueBuffer: slot 2 is dropped, handle=0x8a640cc0

    07-17 05:17:04.722935 17616 17801 I BufferQueueProducer: [SurfaceTexture-0-17616-0](this:0x8ae79000,id:0,api:4,p:300,c:17616) queueBuffer: slot 4 is dropped, handle=0x8a640f00

 

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值