1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-28 01:52:19 +00:00
mpv/video/out/hwdec
wm4 d90d5ee1a0 vo_gpu: hwdec_vaapi_gl: use gl_check_extension() instead of strstr()
In theory, using strstr() to search for extensions is a bad idea,
because some extension names might be prefixes for other names, so you
could get false positives. gl_check_extension() avoids this case.

It's not clear whether this is really needed; maybe not. Surely the EGL
committee is aware of these practices (many GL clients do this, which is
why it's widely considered bad practice), and would avoid defining new
extension names which contain existing names as sub-strings, but
whatever.
2019-12-07 14:16:30 +01:00
..
hwdec_cuda_gl.c vo_gpu: hwdec_cuda: Synchronise OpenGL Interop 2019-09-28 19:24:24 +03:00
hwdec_cuda_vk.c vo_gpu: hwdec_cuda: Reduce message level of errors while probing 2019-11-17 09:44:32 -08:00
hwdec_cuda.c vo_gpu: hwdec_cuda: Reduce message level of errors while probing 2019-11-17 09:44:32 -08:00
hwdec_cuda.h vo_gpu: hwdec_cuda: Synchronise OpenGL Interop 2019-09-28 19:24:24 +03:00
hwdec_vaapi_gl.c vo_gpu: hwdec_vaapi_gl: use gl_check_extension() instead of strstr() 2019-12-07 14:16:30 +01:00
hwdec_vaapi_vk.c vo_gpu: hwdec_vaapi: Refactor Vulkan and OpenGL interops for VAAPI 2019-09-15 17:51:47 -07:00
hwdec_vaapi.c build: fix compilation conditions for vaapi interop inits 2019-11-10 20:59:17 -08:00
hwdec_vaapi.h vo_gpu: hwdec_vaapi: Refactor Vulkan and OpenGL interops for VAAPI 2019-09-15 17:51:47 -07:00