IMX6 eglGetDisplay used too much memory

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

IMX6 eglGetDisplay used too much memory

1,109 次查看
JoRadio
Contributor II

When I initialize EGL display using the FB API of IMX6, the eglGetDisplay function will occupy 140MB of memory after being called. Is this normal? Why does each OpenGL program occupy so much memory?

0 项奖励
回复
2 回复数

1,092 次查看
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi,

It's not just FB that is allocated, Tthe following buffers are also allocated:

  • GPU Command Buffers
  • Shader Compilation Buffer
  • Texture/Buffer management pool
  • DRM/FB device cache



Best Regards,
Zhiming

0 项奖励
回复

1,075 次查看
JoRadio
Contributor II
I have used IMX8 products. When initializing OpenGL, this product doesn't need to allocate so much memory, so I think this is a GPU driver defect of IMX6. If each process that uses OpenGL needs to allocate so much memory, the total number of processes will be limited.
0 项奖励
回复