[MPlayer-dev-eng] [PATCH] add Opengl ES vo
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Wed Nov 23 20:26:39 CET 2011
On Wed, Nov 23, 2011 at 01:02:43PM +0100, kirin_e at users.sourceforge.net wrote:
> I needed OpenGL ES X11 output for a device i have so i ended up writing a gles vo, here it is in case it's useful to others. Patch against snapshot 2011-10-31, uses OpenGL ES 1.1 and currently needs support for npot textures. Any comments or improvements are welcome.
Thanks, but I do not really like it for several reasons:
1) It is only egl/X11 with no clear way forward
2) It is only 1.1 which without shaders just isn't good performance-wise
and horrible for memory bandwidth, particularly when only supporting
24 and 32 bpp input formats
3) I do have an extension to the existing -vo gl that makes it (mostly)
work with ES 1.1.
The reason it is not committed is that calling the existing EGL
implementations "utter shit" would be being too nice which so far made
it impossible for me to finish it.
In particular, I have seen the eglProcAddress function do any of
- return NULL always
- crash
- return pointers to non-ES functions
I have not found a working implementation however.
In addition the Ubuntu/BeagleBoard combination hangs the system,
requiring a hard reset, after about 3 seconds of using OpenGL ES -
at least in combination with xvnc.
Apart from that, calling exit_player from a vo is not acceptable.
More information about the MPlayer-dev-eng
mailing list