mpv/DOCS/man
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
..
af.rst manpage: minor corrections 2016-01-24 19:41:32 +01:00
ao.rst ao_dsound: remove this audio output 2016-01-06 13:52:15 +01:00
changes.rst manpage: move out the MPlayer comparison page 2015-02-05 22:12:11 +01:00
encode.rst man: fix grammar issues 2015-12-19 09:26:41 +01:00
input.rst manpage: document missing sub-properties 2016-05-11 19:14:31 +02:00
ipc.rst man: ipc: update for named pipe IPC on Windows 2016-03-23 23:15:27 +11:00
lua.rst lua: add timer:is_enabled() function 2016-05-14 20:49:28 +02:00
mpv.rst manpage: document -- and some issues passing filenames 2016-05-10 11:15:45 +02:00
options.rst video: add --hwdec=auto-copy mode 2016-05-11 16:20:13 +02:00
osc.rst manpage: fix some script_message references to preferred name 2016-05-09 20:39:33 +02:00
vf.rst DOCS: update documentation related to color management 2016-05-06 18:09:17 +02:00
vo.rst vo_opengl: abstract hook texture access behind macro 2016-05-15 20:42:08 +02:00