mpv/video/out/opengl
Niklas Haas 37aea112c1 vo_gpu_next: pass GL get_proc_addr pointer to libplacebo
Facing down the multitude of ways to somehow wrangle the get_fn pointer
out of the GL environment and into libplacebo, I decided the easiest is
to just store it inside the GL struct itself.

The lifetime of this get_fn function is a bit murky, since it's not
clear on whether or not it survives the VO init call (especially in the
case of the GL render API, which explicitly states that parameters do
not need to survive the call they're passed to), so just add a
disclaimer.

(It's fine for us to use like this because `gpu_ctx_create` is still
part of VO init)

Closes https://code.videolan.org/videolan/libplacebo/-/issues/216
2022-08-19 13:54:50 +02:00
..
angle_dynamic.c
angle_dynamic.h
common.c vo_gpu_next: pass GL get_proc_addr pointer to libplacebo 2022-08-19 13:54:50 +02:00
common.h vo_gpu_next: pass GL get_proc_addr pointer to libplacebo 2022-08-19 13:54:50 +02:00
context.c wayland: unify visibility checking code 2022-04-11 18:14:22 +00:00
context.h wayland: unify visibility checking code 2022-04-11 18:14:22 +00:00
context_android.c
context_angle.c
context_cocoa.c
context_drm_egl.c context_drm_egl: skip page flip wait on error 2022-08-11 09:05:44 +02:00
context_dxinterop.c video: opengl: use gl_check_extension() instead of strstr() 2021-11-17 22:38:34 +01:00
context_glx.c x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00
context_rpi.c
context_wayland.c vo: move wayland presentation to separate files 2022-06-19 18:13:55 +00:00
context_win.c video: opengl: use gl_check_extension() instead of strstr() 2021-11-17 22:38:34 +01:00
context_x11egl.c context_x11egl: remove supposed transparency fix 2022-07-01 14:13:19 +00:00
egl_helpers.c egl_helpers: request at least 8 alpha bits if necessary 2022-04-07 16:56:36 +00:00
egl_helpers.h egl_helpers: introduce wrapper around eglCreatePlatformWindowSurface 2021-11-17 22:38:34 +01:00
formats.c
formats.h
gl_headers.h vo_gpu: stop hard-coding max compute group threads 2021-12-19 01:51:54 +01:00
hwdec_d3d11egl.c video: opengl: use gl_check_extension() instead of strstr() 2021-11-17 22:38:34 +01:00
hwdec_drmprime_drm.c drm: avoid drmModeAtomicCommit races by blocking 2022-08-03 16:42:49 +02:00
hwdec_dxva2egl.c video: opengl: use gl_check_extension() instead of strstr() 2021-11-17 22:38:34 +01:00
hwdec_dxva2gldx.c
hwdec_ios.m
hwdec_osx.c
hwdec_rpi.c
hwdec_vdpau.c
libmpv_gl.c {player,video}: remove references to obsolete opengl-cb API 2021-12-15 12:29:10 +01:00
ra_gl.c vo_gpu: stop hard-coding max compute group threads 2021-12-19 01:51:54 +01:00
ra_gl.h
utils.c
utils.h