How to use fbGetDisplaybyIndex() and fbCreateWindow() in imx6 board for android 9 to access fb2 ?

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

How to use fbGetDisplaybyIndex() and fbCreateWindow() in imx6 board for android 9 to access fb2 ?

923 Views
KarthikM10
Contributor I

We are trying to use the functions fbGetDisplaybyIndex() and  fbCreateWindow() for openGL application in android p9.0.0_2.2.0 to access /dev/graphics/fb2.

Referring the document i.MX 6 Graphics User’s Guide

https://www.google.com/url?sa=t&rct=j&q=&esrc=s&source=web&cd=&cad=rja&uact=8&ved=2ahUKEwiywqyR1JP6A... 

While building in android source we are getting undefined reference error to these functions.

KarthikM10_0-1663151988200.png

We got to know that we need libraries like libEGL-fb.so, libVIVANTE-fb.so and libGAL-fb.so but these libraries are not present in the android 9 source code.

https://community.nxp.com/t5/i-MX-Processors/Required-fbGetDisplayByIndex-function-library-for-vivan... 

How to build those libraries for android 9 to compile and access fb2 for our openGL application on imx6 ?

 

Thank you in advance!

 

 

0 Kudos
Reply
3 Replies

911 Views
Bio_TICFSL
NXP TechSupport
NXP TechSupport

Hello KarthikM,

Android 9 does not support MX6 you should go back to android 7.

 

Regards

0 Kudos
Reply

900 Views
KarthikM10
Contributor I

Hello,

we are currently working with android 9 on imx6qp board and it has supported, we are using the source code from

https://www.nxp.com/design/software/embedded-software/i-mx-software/android-os-for-i-mx-applications... 

KarthikM10_0-1663323116413.png

 

We need to know that how does imx6 support for multiple display, if it's support means how to access and display the application in frame buffer 2.

 

0 Kudos
Reply

901 Views
KarthikM10
Contributor I

Hello,

Ok, We are working on openGL application in android 9 on imx6 board , from android 6 to android 9 they removed API's like

Screenshot from 2022-09-16 11-18-38.png

            displayWindow=android_createDisplaySurface():

if no support for this API's or functions fbGetDisplayByIndex() and fbCreateWindow(), How do we access the frame buffer on second display.

 

0 Kudos
Reply