Build ogre with opengles and without x11

Problems building or running the engine, queries about how to use features etc.
Post Reply
Mister_Magister
Gnoblar
Posts: 2
Joined: Tue Apr 17, 2018 6:01 pm

Build ogre with opengles and without x11

Post by Mister_Magister »

Hello!

Is it possible to build ogre for arm linux using opengles and completely without x11? Thanks for any answer :)
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: Build ogre with opengles and without x11

Post by paroj »

no. while ogre already uses EGL instead of GLX to create the context, it still relies on X11 for the window. Porting it to e.g. wayland should be straightforward though and according patches will be welcome.
Mister_Magister
Gnoblar
Posts: 2
Joined: Tue Apr 17, 2018 6:01 pm

Re: Build ogre with opengles and without x11

Post by Mister_Magister »

I dont really know how to port it to wayland. Will it be possible that someone else does that?

Or maybe using Qt?

Or SDL2?
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: Build ogre with opengles and without x11

Post by paroj »

actually the SampleBrowser already uses SDL2 for window creation in combination with EGL, so this part is take care of.

However GLSupport currently still would require linking against X11 and do some X11 calls to query possible resolutions. You could look at the Android implementation which basically only initialises EGL.

Alternatively, see http://wiki.ogre3d.org/Contractors, if you want to hire someone to do the required changes.
Post Reply