mpv/video
wm4 85c21ae409 vo_opengl: cleanup swap_control extension loading
Instead of somehow looking for the substring "_swap_control" and trying
to several arbitrary function names, do it cleanly. The old approach has
the problem that it's not very exact, and may even load a pointer to a
function which doesn't exist. (Some GL implementations like Mesa return
function pointers even the functions which don't exist, and calling them
crashes.)

I couldn't find any evidence that glXSwapInterval, wglSwapIntervalSGI,
or wglSwapInterval actually exist, so don't include them. They were
carried over from MPlayer times.

To make diagnostics easier, print a warning in verbose mode if the
function could not be loaded.
2015-03-25 12:29:19 +01:00
..
decode vd_lavc: less confusing message when hardware decoding won't work 2015-03-20 22:14:14 +01:00
filter vf_expand: fix memory leak on memory allocation failure 2015-03-20 00:38:29 +01:00
out vo_opengl: cleanup swap_control extension loading 2015-03-25 12:29:19 +01:00
csputils.c vo_opengl: refactor shader generation (part 2) 2015-03-12 23:20:21 +01:00
csputils.h vo_opengl: refactor shader generation (part 2) 2015-03-12 23:20:21 +01:00
fmt-conversion.c video: work around libswscale for PNG pixel formats 2015-02-06 23:22:16 +01:00
fmt-conversion.h
hwdec.h command: add property returning detected hwdec API 2015-02-02 22:43:13 +01:00
image_writer.c Remove some FFmpeg/Libav compatibility hacks 2015-03-03 12:28:46 +01:00
image_writer.h Revert "Revert recent vo_opengl related commits" 2015-02-28 20:23:47 +01:00
img_format.c vo_opengl: move minor helper to common code 2015-03-09 22:47:33 +01:00
img_format.h vo_opengl: move minor helper to common code 2015-03-09 22:47:33 +01:00
img_fourcc.h
mp_image.c mp_image: reject 0-sized images 2015-03-23 18:38:19 +01:00
mp_image.h video: uninline memcpy_pic functions 2015-03-20 00:21:23 +01:00
mp_image_pool.c mp_image_pool: allow passing pool=NULL in more places 2015-01-22 17:37:40 +01:00
mp_image_pool.h
sws_utils.c vf_scale: libswscale is being stupid 2015-03-01 22:32:38 +01:00
sws_utils.h vf_scale: libswscale is being stupid 2015-03-01 22:32:38 +01:00
vaapi.c command: add property returning detected hwdec API 2015-02-02 22:43:13 +01:00
vaapi.h video: have a generic context struct for hwdec backends 2015-01-22 15:32:23 +01:00
vdpau.c vdpau: remove dead assignment 2015-03-23 18:09:40 +01:00
vdpau.h video: handle hwdec screenshots differently 2015-01-22 18:18:23 +01:00
vdpau_functions.inc video: handle hwdec screenshots differently 2015-01-22 18:18:23 +01:00
vdpau_mixer.c video: handle hwdec screenshots differently 2015-01-22 18:18:23 +01:00
vdpau_mixer.h