mpv/video
wm4 9c54b224d8 vo_opengl: handle GL_LUMINANCE_ALPHA and integer textures differently
GL_LUMINANCE_ALPHA is the only reason why per-plane swizzles exist.
Remove per-plane swizzles (again), and regrettably handle them as
special cases (again). Carry along the logical texture format (called
gl_format in some parts of the code, including the new one).

We also don't need a use_integer flag, since the new gl_format member
implies whether it's an integer texture. (Yes, the there are separate
logical GL formats for integer textures. This aspect of the OpenGL API
is hysteric at best.)

This should change nothing about actual rendering logic and GL API
usage.
2017-02-17 16:28:31 +01:00
..
decode videotoolbox: remove weird format-negotiation between VO and decoder 2017-02-17 14:14:22 +01:00
filter
out vo_opengl: handle GL_LUMINANCE_ALPHA and integer textures differently 2017-02-17 16:28:31 +01:00
csputils.c
csputils.h
fmt-conversion.c
fmt-conversion.h
gpu_memcpy.c
gpu_memcpy.h
hwdec.c
hwdec.h videotoolbox: remove weird format-negotiation between VO and decoder 2017-02-17 14:14:22 +01:00
image_writer.c
image_writer.h
img_format.c
img_format.h
img_fourcc.h
mp_image.c mp_image: use AVFrame.opaque_ref to pass through mpv-only fields 2017-02-13 13:12:29 +01:00
mp_image.h
mp_image_pool.c mp_image_tool: guard hw downloading against allocation failures 2017-02-07 17:06:20 +01:00
mp_image_pool.h
sws_utils.c
sws_utils.h
vaapi.c
vaapi.h
vdpau.c
vdpau.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
vt.c videotoolbox: fix RGB format 2017-02-17 14:14:58 +01:00
vt.h videotoolbox: add reverse format mapping function 2017-02-17 13:51:03 +01:00