[vlc-devel] [PATCH 0/2] opengl upgrades

Ilkka Ollakka ileoo at videolan.org
Sat Mar 31 09:14:22 CEST 2012


These patches remove opengl es 1. and modifies opengl-vout to use more
modern opengl standards without need of extensions. Same code should be
easier to use between OpenGL ES 2.0 and normal OpenGL.

Only big problem that I can spot now, is that OpenGL ES 2.0 does not have
GL_UNPACK_ROW_LENGTH by default, that is used to unpack YUV to separated
textures when doing YUV->RGB.

If someone has time to comment on code, it would help a lot.

Ilkka Ollakka (2):
  opengl: use vbo/vao and new shaders
  opengl: remove OpenGL ES 1

 include/vlc_opengl.h          |    1 -
 modules/video_output/egl.c    |   14 --
 modules/video_output/gl.c     |   10 -
 modules/video_output/ios.m    |    6 +-
 modules/video_output/opengl.c |  458 ++++++++++++++++++++---------------------
 modules/video_output/opengl.h |    6 +-
 6 files changed, 231 insertions(+), 264 deletions(-)

-- 
1.7.9.2




More information about the vlc-devel mailing list