is there any example code for using opengl in i.mx6 platform, especially involving galcore module?

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

is there any example code for using opengl in i.mx6 platform, especially involving galcore module?

389 Views
doerthous
Contributor I

Hello, I try to write a simple demo for opengl learning with libEGL and libGLESv2.

When I nm the libEGL.so, I found the there are some functions, e.g: gcoOS_GetDisplayByIndex, defined in the galcore module (/usr/include/HAL/gc_hal_eglplatform.h). What is this module usefor? 

I can use /dev/fb0, and I know there is a fbdev EGL implementation which contains functions like fbXxx, e.g: fbGetDisplayByIndex(int index). What's the difference between fbGetDisplayByIndex and gcoOS_GetDisplayByIndex?

0 Kudos
Reply
0 Replies