[vlc-devel] [PATCH 1/3] opengl: Use GLSL 1.2 shaders instead of arb extension

Ilkka Ollakka ileoo at videolan.org
Fri May 4 16:50:04 CEST 2012

On Fri, May 04, 2012 at 01:43:23PM +0300, Ilkka Ollakka wrote:
> Use VBO/VAO as most of the coordinates we use, are static and no need to push them
> again in every frame.

> OpenGL and OpenGL ES 2.0 support vbo/vao and GLSL shaders, so we can use same
> shader codes in both and we can cope with just using core specifications without
> extensions.

I debugged this patch littlebit with feepk and some points:
- macosx.m does not have GetProcAddr defined now, so it needs to be
- VertexArray in osx are behind APPLE postfix (glGenVertexArraysApple
- shaders need some small modifications to compile without warning in os
- ios.m does not have GetProcAddr either, but I didn't care that for

Ilkka Ollakka
"He flung himself on his horse and rode madly off in all directions"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20120504/e7d9780e/attachment.sig>

More information about the vlc-devel mailing list