[MPlayer-dev-eng] [PATCH] add Opengl ES vo
Reimar Döffinger
Reimar.Doeffinger at gmx.de
Wed Nov 23 20:56:28 CET 2011
On Wed, Nov 23, 2011 at 08:26:39PM +0100, Reimar Döffinger wrote:
> 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.
Here is what I have so far btw.
I know it is an unfinished, crappy mess right now.
However it would make it possible to both reuse features and at
runtime chose between OpenGL implementations.
It also misses the configure part, so you must define CONFIG_GL_EGL
manually.
I used this configure line to do all that:
./configure --disable-matrixview --extra-cflags="-mcpu=cortex-a8 -mfpu=neon -DCONFIG_GL_EGL=1"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: gles.diff
Type: text/x-diff
Size: 17178 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20111123/1151ff23/attachment-0001.bin>
More information about the MPlayer-dev-eng
mailing list