From f3b00ec142c99836c918da8cb23d02148440e5f1 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Sat, 5 Sep 2015 11:39:20 +0200 Subject: vo_opengl: require FBOs and get rid of the single-pass optimization This change makes vo_opengl slightly less compatible (ancient devices without FBOs will no longer work) and decreases performance in the simplest case (vo=opengl), in exchange for significantly reducing code complexity and making everything easier to reason about. --- DOCS/man/vo.rst | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'DOCS/man/vo.rst') diff --git a/DOCS/man/vo.rst b/DOCS/man/vo.rst index ef4a677c62..2334535998 100644 --- a/DOCS/man/vo.rst +++ b/DOCS/man/vo.rst @@ -290,6 +290,13 @@ Available video output drivers are: color space conversion and chroma upsampling is generally in the hand of the hardware decoder APIs. + ``opengl`` makes use of FBOs by default. Sometimes you can achieve better + quality or performance by changing the ``fbo-format`` suboption to + ``rgb16f``, ``rgb32f`` or ``rgb``. Known problems include Mesa/Intel not + accepting ``rgb16``, Mesa sometimes not being compiled with float texture + support, and some OS X setups being very slow with ``rgb16`` but fast + with ``rgb32f``. + ``scale=`` ``bilinear`` @@ -657,8 +664,7 @@ Available video output drivers are: ``fbo-format=`` Selects the internal format of textures used for FBOs. The format can - influence performance and quality of the video output. (FBOs are not - always used, and typically only when using extended scalers.) + influence performance and quality of the video output. ``fmt`` can be one of: rgb, rgba, rgb8, rgb10, rgb10_a2, rgb16, rgb16f, rgb32f, rgba12, rgba16, rgba16f, rgba32f. Default: rgba16. @@ -826,13 +832,6 @@ Available video output drivers are: Note that some cheaper LCDs do dithering that gravely interferes with ``opengl``'s dithering. Disabling dithering with ``dither-depth=no`` helps. - Unlike ``opengl``, ``opengl-hq`` makes use of FBOs by default. Sometimes you - can achieve better quality or performance by changing the ``fbo-format`` - suboption to ``rgb16f``, ``rgb32f`` or ``rgb``. Known problems include - Mesa/Intel not accepting ``rgb16``, Mesa sometimes not being compiled with - float texture support, and some OS X setups being very slow with ``rgb16`` - but fast with ``rgb32f``. - ``sdl`` SDL 2.0+ Render video output driver, depending on system with or without hardware acceleration. Should work on all platforms supported by SDL 2.0. -- cgit v1.2.3