Feature #348

please add support for EGL / OpenGL|ES

Added by Davide Cavalca over 10 years ago. Updated about 9 years ago.

Status:FixedStart date:
Priority:NormalDue date:
Assignee:Andreas Smas% Done:

0%

Category:GLW
Target version:3.4

Description

Showtime glw ui uses OpenGL, which works great on a desktop computer, but not that much on embedded systems, which tend to lack processing power to run mesa. What you usually find on those platforms is hardware acceleration support for EGL and/or OpenGL|ES (http://www.khronos.org). It would be great if showtime managed to use them, as it would give a fully hardware accelerated UI. There are EGL and OpenGL|ES implementations in mesa, which can be useful for test/development.

eglFrontend.diff Magnifier (36.4 KB) Torbjörn Svangård, 01/22/2012 09:03 AM

eglfrontend.diff Magnifier (36.8 KB) Torbjörn Svangård, 01/22/2012 09:13 AM

History

#1 Updated by Andreas Smas about 10 years ago

  • Priority changed from High to Normal

#2 Updated by Andreas Smas about 10 years ago

  • Category deleted (4)

#3 Updated by Andreas Smas almost 10 years ago

  • Category set to GLW

#4 Updated by Andreas Smas almost 10 years ago

  • Target version set to 3.0

#5 Updated by Andreas Smas almost 10 years ago

  • Target version changed from 3.0 to 34

#6 Updated by Andreas Smas over 9 years ago

  • Status changed from New to Fixed

OpenGL ES 2.0 support is in there now. Almost..

It needs a bit more polishing but it's on the way

#7 Updated by Andreas Smas over 9 years ago

  • Target version changed from 34 to 3.4

#8 Updated by Torbjörn Svangård about 9 years ago

Hi,
Why was this issue set to fixed? All i can see in the code are some placeholders for OpenGL ES 2.0 code,
The configure script does not support building this code, so one need to manually edit configure.linux and add glw_backend_opengl_es. There is no EGL code, only GLX at least as far as i have found so far.

Is there a dev repo for EGL/GLES2 work that i havent found yet?

Kindest regards
/Torbjörn

#9 Updated by Andreas Smas about 9 years ago

All the rendering code works fine on OpenGL ES2.0. I just haven't finished any frontend (like glw_x11, glw_cocoa, etc) that uses OpenGL ES2.0

#10 Updated by Torbjörn Svangård about 9 years ago

I see, btw great work with both Showtime and Tvheadend. I think your work on these projects are very very impressive!
Im currently attempting to port the GLX frontend to a EGL one. Progress is limited, but educating :) Its a pleasure to read and learn your code.

#11 Updated by Torbjörn Svangård about 9 years ago

Not sure if this can be useful for anyone... but I have got an EGL-based frontend running (ported from the GLX frontend), however video rendering to texture is not working yet.

I have the intention of getting Showtime working well with the i.MX53 QSB, it has a way of doing memory zero-copy to GPU texture.
http://imxcv.blogspot.com/2011/10/video-to-texture-streaming-imx53.html

It is Freescale specific, but would be very nice to implement.

#12 Updated by Torbjörn Svangård about 9 years ago

The diff contained a misstake. Correct one is attached.
Would be nice if it was possible edit previous post.

Regards
/Torbjörn

Also available in: Atom PDF