diff options
author | wm4 <wm4@nowhere> | 2017-06-30 16:57:17 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-06-30 17:07:55 +0200 |
commit | 0c0a06140c8460115d5ce357a8adfc4d8c1bae69 (patch) | |
tree | 4a776f3152fa74ed81a0a2397d629edfd8ccdfba /osdep/win32-console-wrapper.c | |
parent | 91583fccac85880ad2199f50463c095560791d56 (diff) | |
download | mpv-0c0a06140c8460115d5ce357a8adfc4d8c1bae69.tar.bz2 mpv-0c0a06140c8460115d5ce357a8adfc4d8c1bae69.tar.xz |
vo_opengl: restructure format setup
Instead of setting up a weird swizzle (which is linked to how the
internal renderer code works, rather than the generic format code), add
per-component mapping to gl_imgfmt_desc.
The renderer still computes the weird swizzle, but at least it's
confined to itself. Also, it appears the hwdec backends don't need this
anymore.
It's really nice that the messy init_format() goes away too.
Diffstat (limited to 'osdep/win32-console-wrapper.c')
0 files changed, 0 insertions, 0 deletions