Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have Ubuntu running on VirtualBox. Guest additions are installed and now the OS is hardware acceleration capable. I have OpenGL library in place.

Now I want to run apps using egl + opengles1.1 & 2.0. How do i get them on Ubuntu?

Are there any open-source libraries available?

The libraries should use the VirtualBox-provided hardware acceleration capabilities.

share|improve this question
    
It is very difficult to tell exactly what you are asking, can you be a bit more detailed? –  RolandiXor Jan 17 '13 at 5:27
add comment

2 Answers

Try ARM OpenGL ES 2.0 Emulator, I myself haven't managed to make OpenGL ES 2.0 work, but 1.1 seems to run fine(simpleApp demo). As I understand, it's supposed to be hardware accelerated as the emulator uses platform GL libraries and mesa3d is(not sure though) accelerated.

There's also libgles2-mesa - but unfortunately I couldn't make it work. es2gears/es2tri samples crash as well as simpleApp linked against mesa libs.

share|improve this answer
add comment

You can search for packages and package contents with apt-cache:

> apt-cache search opengels
mesa-utils-extra - Miscellaneous Mesa utilies (opengles, egl)

The output says that OpenGLES probably is in the package mesa-utils-extra. Mesa 3D has a project page for OpenGLES and writes there:

Mesa implements OpenGL ES 1.1 and OpenGL ES 2.0. More informations about OpenGL ES can be found at http://www.khronos.org/opengles/.

EGL is also built into Mesa:

> apt-cache search mesa | grep -i egl
mesa-utils-extra - Miscellaneous Mesa utilies (opengles, egl)
libegl1-mesa - free implementation of the EGL API -- runtime
libegl1-mesa-dbg - free implementation of the EGL API -- debugging symbols
libegl1-mesa-dev - free implementation of the EGL API -- development files
libegl1-mesa-drivers - free implementation of the EGL API -- hardware drivers
libegl1-mesa-drivers-dbg - free implementation of the EGL API -- driver debugging symbols

So you need to install mesa-utils-extra and probably also libegl1-mesa.

share|improve this answer
    
Thank you very much for the reply. But Mesa do not use VirtualBox virtual GPU for hardware acceleration. While running Mesa on VBox it uses software rasterizer. My requirement is to strictly use the virtual box 3D acceleration for Opengles demos. –  vboxuser Jan 17 '13 at 9:53
    
So maybe we should watch this/your question here: forums.virtualbox.org/… –  qbi Jan 17 '13 at 10:08
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.