https://source.android.com/devices/graphics/arch-egl-opengl
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