mirror of
https://github.com/mpv-player/mpv
synced 2024-12-28 01:52:19 +00:00
d90d5ee1a0
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. |
||
---|---|---|
.. | ||
hwdec_cuda_gl.c | ||
hwdec_cuda_vk.c | ||
hwdec_cuda.c | ||
hwdec_cuda.h | ||
hwdec_vaapi_gl.c | ||
hwdec_vaapi_vk.c | ||
hwdec_vaapi.c | ||
hwdec_vaapi.h |