Mercurial > mplayer.hg
diff libvo/gl_compat.h @ 36126:fd34a83228ca
Switch OpenGL ES renderer to 2.0.
1.0 is too limited to be really useful for video,
and 2.0 is almost universally available anyway.
This also adds support for YUV conversion in hardware,
however this code is still very rough and limited in
features.
A lot of work, like being able to change the coefficients,
supporting gamma, supporting EOSD (ASS rendering) still
needs to be done for this to be really usable.
Unfortunately development is difficult since almost
no working implementations are available:
MESA seems currently completely broken unless you use
and Intel card _and_ force software rendering,
Galaxy S2 still crashes regularly (certainly in part
my fault for doing something weird, but still).
author | reimar |
---|---|
date | Sat, 04 May 2013 13:28:14 +0000 |
parents | a51578d7e264 |
children | 2b742d298c68 |
line wrap: on
line diff
--- a/libvo/gl_compat.h Sat May 04 11:15:19 2013 +0000 +++ b/libvo/gl_compat.h Sat May 04 13:28:14 2013 +0000 @@ -413,6 +413,18 @@ #ifndef GL_PROGRAM_ERROR_STRING #define GL_PROGRAM_ERROR_STRING 0x8874 #endif +#ifndef GL_FRAGMENT_SHADER +#define GL_FRAGMENT_SHADER 0x8B30 +#endif +#ifndef GL_VERTEX_SHADER +#define GL_VERTEX_SHADER 0x8B31 +#endif +#ifndef GL_COMPILE_STATUS +#define GL_COMPILE_STATUS 0x8B81 +#endif +#ifndef GL_LINK_STATUS +#define GL_LINK_STATUS 0x8B82 +#endif /** \} */ // end of glextdefines group #endif /* MPLAYER_GL_COMPAT_H */