The device approach is useful for adding platform specific hooks for eglfs via EGLFS_PLATFORM_HOOKS_SOURCES, so it is a good thing. So it is more of a convenience/cleaner way, than anything related to performance.
regards Prabindh ________________________________________ From: [email protected] [[email protected]] on behalf of Dmytriyenko, Denys Sent: Saturday, July 27, 2013 2:36 AM To: Christian Gagneraud Cc: [email protected] Subject: Re: [meta-ti] [Qt5] mkspecs/devices: beagleboard == am335x ? On Fri, Jul 26, 2013 at 10:45:02AM +1200, Christian Gagneraud wrote: > Hi there, > > In qtbase sources, there are a couple of "device" definitions files, > according to [1], this greatly help cross-compiling qt5. > This device file specify things for CPU and GPU optimisations. So > basically these files are tightly coupled with BSP providers. > > One of them is linux-beagleboard-g++ [2], is it appropriate to use > this one for AM335x based platform as well? > > The meta-qt5 layer doesn't seem to use this feature, but if it did, > would this device config files help to get an optimised Qt5 build > for TI SoCs? Especially, would that help to get OpenGL stuff sorted > out? > > Regards, > Chris > > [1] > http://blog.qt.digia.com/blog/2012/04/13/cross-compiling-qt-for-the-masses/ > [2] > https://qt.gitorious.org/qt/qtbase/trees/stable/mkspecs/devices/linux-beagleboard-g++ Chris, Looking at those files shows very basic compiler optimization flags being set, -march, -mtune, -mfpu etc. I don't see any GL or GPU specifics in there. It also hardcodes things like soft-fp, which is not good. All this stuff is alredy taken care of by the build framework and I'm sure meta-qt5, like the old qt4, sets all the right COMPILER_FLAGS to get the most performance from the target CPU. -- Denys _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti _______________________________________________ meta-ti mailing list [email protected] https://lists.yoctoproject.org/listinfo/meta-ti
