1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-04 14:12:10 +00:00
mpv/video
wm4 1d0bf4073b vo_opengl: handle probing GL texture formats better
Retrieve the depth for each component and internal texture format
separately. Only for 8 bit per component textures we assume that all
bits are used (or else we would in my opinion create too many probe
textures).

Assuming 8 bit components are always correct also fixes operation in
GLES3, where we assumed that each component had -1 bits depth, and this
all UNORM formats were considered unusable. On GLES, the function to
check the real bit depth is not available. Since GLES has no 16 bit
UNORM textures at all, except with the MPGL_CAP_EXT16 extension, just
drop the special condition for it. (Of course GLES still manages to
introduce a funny special case by allowing GL_LUMINANCE , but not
defining GL_TEXTURE_LUMINANCE_SIZE.)

Should fix #4749.
2017-08-11 21:29:35 +02:00
..
decode vd_lavc: fix device leak with copy-mode hwaccels 2017-08-09 12:00:56 +02:00
filter vf_vapoursynth: fix inverted sign and restore 10 bit support 2017-08-07 19:31:15 +02:00
out vo_opengl: handle probing GL texture formats better 2017-08-11 21:29:35 +02:00
csputils.c csputils: fix mp_colorspace_equal missing field 2017-07-18 02:20:50 +02:00
csputils.h
fmt-conversion.c
fmt-conversion.h
gpu_memcpy.c
gpu_memcpy.h
hwdec.c
hwdec.h
image_loader.c x11: load icon differently 2017-07-01 15:56:12 +02:00
image_loader.h x11: load icon differently 2017-07-01 15:56:12 +02:00
image_writer.c Replace remaining avcodec_close() calls 2017-07-16 12:51:48 +02:00
image_writer.h
img_format.c img_format: drop some unused things 2017-06-30 18:38:23 +02:00
img_format.h img_format: fix a comment 2017-07-15 13:04:32 +02:00
mp_image_pool.c Revert "mp_image_pool: disallow adding read only frames" 2017-08-08 16:16:55 +02:00
mp_image_pool.h
mp_image.c vd_lavc: decode embedded ICC profiles 2017-08-03 21:48:25 +02:00
mp_image.h vd_lavc: decode embedded ICC profiles 2017-08-03 21:48:25 +02:00
sws_utils.c sws_utils: switch back to GPL 2017-07-01 12:51:18 +02:00
sws_utils.h
vaapi.c
vaapi.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
vdpau.c vo_opengl: separate hwdec context and mapping, port it to use ra 2017-08-10 21:24:31 +02:00
vdpau.h
vt.c
vt.h