mpv/DOCS
Niklas Haas 362015cd77
vo_opengl: abstract hook texture access behind macro
This macro takes care of rotation, swizzling, integer conversion and
normalization automatically. I found the performance impact to be
nonexistant for superxbr and debanding, although rotation *did* have an
impact due to the extra matrix multiplication. (So it gets skipped where
possible)

All of the internal hooks have been rewritten to use this new mechanism,
and the prescaler hooks have finally been separated from each other.
This also means the prescale FBO kludge is no longer required.

This fixes image corruption for image formats like 0bgr, and also fixes
prescaling under rotation. (As well as other user hooks that have
orientation-dependent access)

The "raw" attributes (tex, tex_pos, pixel_size) are still un-rotated, in
case something needs them, but ideally the hooks should be rewritten to
use the new API as much as possible. The hooked texture has been renamed
from just NAME to NAME_raw to make script authors notice the change (and
also deemphasize direct texture access).

This is also a step towards getting rid of the use_integer pass.
2016-05-15 20:42:08 +02:00
..
man vo_opengl: abstract hook texture access behind macro 2016-05-15 20:42:08 +02:00
client-api-changes.rst client API: access choices as flags if appropriate 2016-05-04 17:37:54 +02:00
compile-windows.md DOCS/compile-windows.md: use CC=gcc.exe for msys2 compile 2016-03-18 18:10:09 -07:00
contribute.md Add a CONTRIBUTING.md file 2015-12-22 23:18:46 +01:00
edl-mpv.rst demux_timeline: fix nested timelines 2016-02-20 16:22:15 +01:00
encoding.rst manpage: update config file locations 2014-06-28 15:55:09 +02:00
interface-changes.rst client API: access choices as flags if appropriate 2016-05-04 17:37:54 +02:00
libmpv-client-api.rst DOCS: add some hints to the new examples repository 2016-03-10 21:59:21 +01:00
mplayer-changes.rst Disable DVD and BD menu support (to be removed) 2015-06-26 23:37:30 +02:00
release-policy.md DOCS: update release policy 2015-09-23 01:07:52 +02:00
tech-overview.txt options: remove --leak-report 2015-05-02 19:03:28 +02:00
waf-buildsystem.rst Various spelling fixes 2015-06-18 19:36:58 +02:00