IMX6 eglGetDisplay used too much memory

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

IMX6 eglGetDisplay used too much memory

971 Views
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 Kudos
Reply
2 Replies

954 Views
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 Kudos
Reply

937 Views
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 Kudos
Reply