[Interest] QPA / EGLFS / OpenGL

Juha Vuolle juvuolle at gmail.com
Thu Sep 26 07:36:11 CEST 2013


Hi Andrews,

yes the EGLFS + imx6 + yocto is a working setup for OpenGL.

DirectFB not necessarily so straightforward, I believe you need to
provide vendor specific OpenGL integration.

Juha


2013/9/25 Knight Andrew <Andrew.Knight at digia.com>:
> Hi Andrew,
>
> I haven't used the imx6 myself, but it does appear to include hooks for EGLFS. If you configured Qt with -device linux-imx6-g++, they should already be baked in.
>
> So, you should start your app with with the -platform eglfs argument and go from there. You might run into permissions issues with your card, in which case you may need to e.g. add your user to the video group. Start with simple examples (qtbase/examples/gui) like openglwindow and analogclock.
>
> HTH,
> Andrew
>
> ________________________________________
> From: interest-bounces+andrew.knight=digia.com at qt-project.org [interest-bounces+andrew.knight=digia.com at qt-project.org] on behalf of Bell, Andrew [Allen & Heath UK] [Andrew.Bell at allen-heath.com]
> Sent: Wednesday, September 25, 2013 4:26 PM
> To: interest at qt-project.org
> Subject: [Interest] QPA / EGLFS / OpenGL
>
> Hi All
>
> I was hoping someone could set me straight on EGLFS vs DirectFB / XCB.
>
> I'm developing on an iMX6 using a Yocto built distro.
>
> I don't have X or wayland in my distro, but I do want to use opengl, and I've managed to build Qt with es2 enabled.
>
> Can someone tell me which level of support the different QPA flavors provide for opengl.
>
> Should I be using EGLFS or DirectFB ?
>
> Will the straight FB have basic opengl es2 support or none ?
>
> Any info on the QPA's support for opengl would be really useful.
>
> TIA
>
> Andrew.
>
>
>
>
>
>
>
>
> _______________________________________________
> Interest mailing list
> Interest at qt-project.org
> http://lists.qt-project.org/mailman/listinfo/interest



More information about the Interest mailing list