Easiest way to run a simple GLES / EGL / OpenVG application on a PC?

I thought it should be easy, but ... geesh! The provider gave me a fairly simple demo program designed to demonstrate some trivial animations. The target platform is an embedded system (MX51) with accelerated support for OpenGL ES 2.0 / OpenVG and EGL.

Unfortunately, the demo also causes an annoying dependency on several useful Qt classes (e.g. QImage). If not for this dependency, I would compile / run the thing on target. But I don't like the idea of โ€‹โ€‹cross-compiling Qt just to run this little demo - even if there was enough space on the built-in board.

I was hoping that I could run the application on the standard (ish) Ubuntu 10.04 VM and started after these directions to make this happen. And in fact, I managed - for example, after 10 hours - to compile everything and get the binary executable file of the demo program. However, when I run it, I see the following error:

eglCreateWindowSurface: egl error "EGL_BAD_CONFIG" (0x3005) 

Sigh. Not what I wanted to see after all these efforts. It seems more complicated than it should be.

Is the built-in GL landscape really such a ghetto that I have to run even trivial programs on the target computer using the vendor-supplied BSP? Judging by the lack of answers to this guy's question , I think the answer may be yes. But I don't even care about acceleration (yet). I just want to run the stupidest OpenGL ES 2 / OpenVG programs on my desktop PC and get an idea of โ€‹โ€‹how it looks. (I donโ€™t care if Linux or Windows works on my computer.) How do people do such things?

+6
opengl-es
source share
2 answers

There are several OpenGL ES 2.0 emulators, such as:

For ARM Mali GPUs

For PowerVR GPUs

Also recently, AMD has published drivers that display OpenGL ES 2.0 on the desktop.

More recently, OpenGL 4.1 provides the GL_ARB_ES2_compatibility extension, which makes OpenGL 4.1 GL ES 2.0 drivers compatible.

For OpenVG, you can use AmanithVG GLE .

+5
source share

Qualcomm OpenGL ES emulator includes support for OpenVG. You can download it from http://developer.qualcomm.com

+1
source share

All Articles