IMX6 eglGetDisplay used too much memory

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

IMX6 eglGetDisplay used too much memory

315件の閲覧回数
JoRadio
Contributor I

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 返答(返信)

300件の閲覧回数
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 件の賞賛
返信

283件の閲覧回数
JoRadio
Contributor I
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 件の賞賛
返信