GL-ES 2.0 driver running on desktop?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

GL-ES 2.0 driver running on desktop?

Post by ent1ty »

Hello, I'm not sure how much of a Irrlicht-related question this is, but, is there any way I could run an Irrlicht app using the gl-es driver from the ogl-es branch on a desktop system - either windows or linux, any would work for me. The reason for this is debugging... I'd like to work with the same shaders that will eventually be used on a mobile device on my desktop dev system.
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
hendu
Posts: 2600
Joined: Sat Dec 18, 2010 12:53 pm

Re: GL-ES 2.0 driver running on desktop?

Post by hendu »

Yes, Mesa drivers support GLES just fine. If you have Intel hardware, Haswell for example, the implementation is even officially certified by Khronos.

Windows? Nope, without emulators.
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Re: GL-ES 2.0 driver running on desktop?

Post by ent1ty »

I have a somewhat older mobile ATI gpu (I did manage to play Dota2 on arch though), but i'll definitely give it a try - thanks for the response :)
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
ent1ty
Competition winner
Posts: 1106
Joined: Sun Nov 08, 2009 11:09 am

Re: GL-ES 2.0 driver running on desktop?

Post by ent1ty »

Okay, I got it working. In case anyone else wants to try this as well: what you need to link with is: GL, X11, libXxf86vm, EGL and libGLESv1_CM (at least on arch :) ) You may also wish to go to include/IrrCompileConfig.h and change IRR_OGLES2_SHADER_PATH to something more sensible.
irrRenderer 1.0
Height2Normal v. 2.1 - convert height maps to normal maps

Step back! I have a void pointer, and I'm not afraid to use it!
Post Reply