1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-19 13:21:13 +00:00
mpv/video
Niklas Haas 0af561953a
vo_opengl: unify user_shaders constants
Commit 3fb6380 was supposed to increase MAX_TEXTURE_HOOKS but instead
increased SHADER_MAX_HOOKS, since I forgot that they were separate (for
whatever reason).

To prevent this mistake from happening again, and to unify the location
in which user_shader-specific #defines are placed, get rid of the two
constants in opengl/video.c and move/reuse them from user_shaders.h
instead.

Also bump up MAX_SAVED_TEXTURES (now SHADER_MAX_SAVED) slightly as a
precaution against adding more passes to vo_opengl. I think we're
already flirting with the limit.
2017-06-28 00:01:25 +02:00
..
decode vd: use ST.2086 / HDR10 MaxCLL in addition to mastering metadata 2017-06-18 20:54:44 +02:00
filter vf_format: also reset gamma-related attributes when changing gamma 2017-06-18 20:54:44 +02:00
out vo_opengl: unify user_shaders constants 2017-06-28 00:01:25 +02:00
csputils.c vo_opengl: implement sony s-log2 trc 2017-06-18 20:54:44 +02:00
csputils.h vo_opengl: implement sony s-log2 trc 2017-06-18 20:54:44 +02:00
fmt-conversion.c video/fmt-conversion, img_format: change license to LGPL 2017-06-18 15:15:07 +02:00
fmt-conversion.h video/fmt-conversion, img_format: change license to LGPL 2017-06-18 15:15:07 +02:00
gpu_memcpy.c
gpu_memcpy.h
hwdec.c vd_lavc, vaapi: move hw device creation to generic code 2017-02-20 08:39:55 +01:00
hwdec.h hwdec: fix 2 comments 2017-05-24 14:32:23 +02:00
image_writer.c image_writer, vo_image: change license to LGPL 2017-06-18 15:45:24 +02:00
image_writer.h image_writer, vo_image: change license to LGPL 2017-06-18 15:45:24 +02:00
img_format.c video/fmt-conversion, img_format: change license to LGPL 2017-06-18 15:15:07 +02:00
img_format.h video/fmt-conversion, img_format: change license to LGPL 2017-06-18 15:15:07 +02:00
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 vaapi: use libavutil functions for copying hw surfaces to memory 2017-01-12 13:58:28 +01:00
mp_image.c mp_image: infer correct HLG sig_peak 2017-06-27 00:33:42 +02:00
mp_image.h mp_image: change license to LGPL (almost) 2017-06-16 19:35:58 +02:00
sws_utils.c build: replace some FFmpeg API checks with version checks 2017-01-24 08:11:42 +01:00
sws_utils.h
vaapi.c vdpau, vaapi: unref libavutil device ref 2017-04-29 15:09:40 +02:00
vaapi.h vd_lavc, vaapi: move hw device creation to generic code 2017-02-20 08:39:55 +01:00
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
vdpau.c vdpau: crappy hack to allow initializing hw decoding after preemption 2017-05-19 15:24:38 +02:00
vdpau.h vdpau: support new vdpau libavcodec decode API 2017-03-23 11:14:11 +01:00
vt.c vo_opengl: hwdec_osx: use new format setup function 2017-02-17 17:08:37 +01:00
vt.h videotoolbox: add reverse format mapping function 2017-02-17 13:51:03 +01:00