[vlc-commits] commit: EGL: initial video output plugin ( Rémi Denis-Courmont )

git at videolan.org git at videolan.org
Mon Nov 8 22:39:08 CET 2010


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Nov  8 23:21:48 2010 +0200| [d60221ca03df4687af1afc7f1ccf2501ac3a3f6b] | committer: Rémi Denis-Courmont 

EGL: initial video output plugin

Currently, this require EGL 1.3 or later to compile.
This was only tested against the GLX driver from the Mesa Project,
and desktop OpenGL, which requires EGL 1.4. Win32 support is untested
(not even compilation).

OpenGL ES 1 and 2 are mostly implemented but completely untested too.
The USE_OPENGL_ES constant would have to be predefined appropriately.

This plugin mostly works, but there are two major remaining issues.
Therefore, this plugin is disabled by default and has zero priority.

(1) Mouse is not implemented. The stupid fix involves cut&paste from
the XCB-GLX plugin. Moving mouse event reception to the window provider
might be smart though: I would rather not corrupt the EGL plugin with
X11, otherwise we might as well stick to GLX anyway.

(2) Resize events are mostly not working. EGL does not provide
notification for this. But there may be some bugs in Control() too.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=d60221ca03df4687af1afc7f1ccf2501ac3a3f6b
---

 configure.ac                    |   12 ++
 modules/LIST                    |    1 +
 modules/video_output/Modules.am |   14 ++
 modules/video_output/egl.c      |  396 +++++++++++++++++++++++++++++++++++++++
 4 files changed, 423 insertions(+), 0 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=d60221ca03df4687af1afc7f1ccf2501ac3a3f6b


More information about the vlc-commits mailing list