vo_gl: convert to new API, clean up code
commitc852246cdf3e2604d1a3bff1fccd981d7b3b58c9
authorwm4 <wm4@mplayer2.org>
Sun, 25 Sep 2011 09:18:07 +0000 (25 11:18 +0200)
committerUoti Urpala <uau@mplayer2.org>
Mon, 24 Oct 2011 03:13:17 +0000 (24 06:13 +0300)
tree132f089b74befd752483e8c399e432427fe25270
parent821a313ba183b9eed8b280cbfda84a3f95a2ab2e
vo_gl: convert to new API, clean up code

Reformat vo_gl.c, gl_common.c, gl_common.h.
Remove all global variables and move them into a context struct (the
Windows and SDL backends still refer to global_vo though).
Change vo_gl.c to use the "new" VO API.
libvo/gl_common.c
libvo/gl_common.h
libvo/vo_gl.c