vo_gl: refuse to use software renderer unless explicitly requested
commita8397e4a09bdfe4d6ed8a28c4f5fe8ab61c33807
authorwm4 <wm4@mplayer2.org>
Mon, 23 Apr 2012 22:48:14 +0000 (24 00:48 +0200)
committerUoti Urpala <uau@mplayer2.org>
Mon, 10 Sep 2012 11:14:00 +0000 (10 14:14 +0300)
tree4458008c15357e1e3f767cbb6d16615e13282b1f
parent6f0f424eb243f9f9362d6dca5028f411e95f0805
vo_gl: refuse to use software renderer unless explicitly requested

vo_gl will now fail at initialization if a software renderer is
detected. This is the same behavior as vo_gl_nosw. Making this the
default behavior is preferable, because it will simplify positioning
vo_gl in the VO autoprobe list (video_out_drivers[]). Also, vo_gl_nosw
exists only if X11 support is configured.

Move gl in place of gl_nosw. Add the "sw" suboption to vo_gl to allow
using vo_gl even if a software renderer is detected.

vo_gl_nosw is now completely equivalent to vo_gl. It is kept to avoid
breaking too many user configurations, but should be considered
deprecated.
libvo/video_out.c
libvo/vo_gl.c