input: add an option to set the default pausing mode.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36212 b3059339-0415-0410-9bf9-f77b7e298cf2
Add documentation about Android -vo gl mode.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36213 b3059339-0415-0410-9bf9-f77b7e298cf2
sync with en/mplayer.1 rev. 36213



git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36214 b3059339-0415-0410-9bf9-f77b7e298cf2
Minor simplification.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36215 b3059339-0415-0410-9bf9-f77b7e298cf2
Search GLES library in more locations.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36216 b3059339-0415-0410-9bf9-f77b7e298cf2
Simplify drawing OpenGL vertices.

Avoid duplicating the calculation, and use
triangle strip instead of quads also for desktop
OpenGL.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36217 b3059339-0415-0410-9bf9-f77b7e298cf2
Avoid PushMatrix/PopMatrix.

This makes it easier to support e.g. GLES2.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36218 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove now unused function pointers.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36219 b3059339-0415-0410-9bf9-f77b7e298cf2
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).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36220 b3059339-0415-0410-9bf9-f77b7e298cf2
Avoid glColor4f, use glColor4ub instead.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36221 b3059339-0415-0410-9bf9-f77b7e298cf2
Add hack to support strides with GLES.

Reuse existing feature to upload texture line by line.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36222 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove glMatrixMode and glLoadIdentity functions.

They are not really necessary.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36223 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove unused mpglTexEnvf.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36224 b3059339-0415-0410-9bf9-f77b7e298cf2
Provide dummy glColor4ub glTexEnvi functions.

Avoids calling a NULL pointer with pure GLES implementations.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36225 b3059339-0415-0410-9bf9-f77b7e298cf2
Add a const.

It can help some compilers optimize.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36226 b3059339-0415-0410-9bf9-f77b7e298cf2
Add some forgotten "const" to function arguments.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36227 b3059339-0415-0410-9bf9-f77b7e298cf2
gl: support advanced processing for GLES2.

Brightness, contrast, saturation, gamma and xyz transform.
No advanced scaling yet though.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36228 b3059339-0415-0410-9bf9-f77b7e298cf2
Remove unnecessary and incorrect assignment.

Thanks to Martynas Venckus [martynas venck us] for spotting
and reporting the bug.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36229 b3059339-0415-0410-9bf9-f77b7e298cf2
Cosmetics, simplify end-of-string checks.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36230 b3059339-0415-0410-9bf9-f77b7e298cf2
Simplify and clean up code.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@36231 b3059339-0415-0410-9bf9-f77b7e298cf2