Olivier LE ROY

i.Mx6 Vivante libGAL.so: _UploadBGRtoARGB

Discussion created by Olivier LE ROY on Oct 8, 2012

Hi,

 

I am working on an OpenGL project on the freescale i.MX6 which uses GL_RGB textures.

 

I have been doing code profiling with oprofile and found out that libGAL.so makes convertions in CPU: _UploadBGRtoARGB, which account for 30 % of the CPU load in our application.

 

Does this mean that the native format of Vivante hardware is BGRA, and if I want to improve the efficiency of my application, i need to use GL_BGRA?

Outcomes