EGLSurface 和 OpenGL ES

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

 

  • 需要看下是不是限帧了,这个出现在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

 

你可能感兴趣的:(android,java)