0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 20:03:10 +02:00
mpv/video/out
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
..
cocoa cocoa_common: remove deprecated VOCTRLs/VO_EVENTs 2019-12-12 19:56:03 +01:00
d3d11 vo_gpu/d3d11: fix VRAM leak 2022-07-21 16:13:45 +02:00
gpu gpu/hwdec: reorder drmprime below drmprime_drm 2022-08-09 22:19:45 -07:00
gpu_next vo_gpu_next: pass GL get_proc_addr pointer to libplacebo 2022-08-19 13:54:50 +02:00
hwdec hwdec/drmprime: fix build 2022-08-09 21:21:47 -07:00
mac various: fix typos 2022-04-25 09:07:18 -04:00
opengl vo_gpu_next: pass GL get_proc_addr pointer to libplacebo 2022-08-19 13:54:50 +02:00
placebo libplacebo: fix compatibility with libplacebo >= 5 2022-07-16 13:06:21 +03:00
vulkan x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00
win32 vo_gpu: win: remove exclusive-fullscreen detection hack 2017-12-20 14:53:41 +11:00
android_common.c options: simplify --android-surface-size handling 2020-09-20 12:04:25 +02:00
android_common.h context_android: move common code to a separate file 2019-09-27 00:05:06 +03:00
aspect.c options: add --video-scale-x/y 2020-06-03 17:26:44 +02:00
aspect.h aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
bitmap_packer.c video/out/bitmap_packer: Avoid empty initializer list 2019-11-18 16:50:21 +01:00
bitmap_packer.h bitmap_packer: remove some unused functions 2016-07-01 20:29:45 +02:00
cocoa_cb_common.swift mac: fix traditional fullscreen on macOS 11 2021-02-27 13:12:46 +01:00
cocoa_common.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
cocoa_common.m various: fix typos 2022-04-25 09:07:18 -04:00
dither.c video/out/dither: remove custom index_t typedef 2022-06-04 01:23:03 +02:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
dr_helper.c client API: fix potential deadlock problems by throwing more shit at it 2019-09-26 14:14:49 +02:00
dr_helper.h client API: fix potential deadlock problems by throwing more shit at it 2019-09-26 14:14:49 +02:00
drm_atomic.c drm: context_drm_egl: add support for enabling VRR 2022-04-05 20:56:36 -07:00
drm_atomic.h drm: context_drm_egl: add support for enabling VRR 2022-04-05 20:56:36 -07:00
drm_common.c drm_common: remove hard dependency on drmIsKMS() 2022-08-11 18:31:04 +02:00
drm_common.h wayland: use mp_tag_str not drm_format_string 2022-05-30 19:51:46 +00:00
drm_prime.c drm_prime: fallback to drmModeAddFB2 2020-05-08 21:26:25 +02:00
drm_prime.h drm_prime: double free bug 2020-03-05 18:12:57 +01:00
filter_kernels.c various: fix typos 2022-04-25 09:07:18 -04:00
filter_kernels.h vo_opengl: refactor scaler LUT weight packing/loading 2017-09-04 13:53:14 +02:00
libmpv_sw.c client API: add software rendering API 2020-07-08 22:42:05 +02:00
libmpv.h client API: add software rendering API 2020-07-08 22:42:05 +02:00
present_sync.c vo: move wayland presentation to separate files 2022-06-19 18:13:55 +00:00
present_sync.h vo: move wayland presentation to separate files 2022-06-19 18:13:55 +00:00
vo_caca.c vo_caca: Implement VOCTRL_UPDATE_WINDOW_TITLE 2019-10-29 17:07:41 +01:00
vo_direct3d.c various: fix typos 2022-04-25 09:07:18 -04:00
vo_drm.c drm_common: enable specific device selection by means of path 2021-10-25 20:37:03 +02:00
vo_gpu_next.c vo_gpu_next: fix screenshots on single-frame files 2022-07-23 14:54:39 +02:00
vo_gpu.c vo_gpu[_next]: hwdec: fix logging regression when probing 2022-03-21 09:53:37 -07:00
vo_image.c options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
vo_lavc.c encode: get rid of the output packet queue 2018-05-03 01:08:44 +03:00
vo_libmpv.c client API: add software rendering API 2020-07-08 22:42:05 +02:00
vo_mediacodec_embed.c vo_mediacodec_embed: fix forgotten VO_CAP_NOREDRAW→VO_CAP_NORETAIN 2018-02-20 01:59:20 +02:00
vo_null.c options: change option macros and all option declarations 2020-03-18 19:52:01 +01:00
vo_rpi.c vo_rpi: fix DISPMANX_UPDATE_HANDLE_T leak 2021-09-28 16:46:52 +00:00
vo_sdl.c sub: rename SUBBITMAP_RGBA to SUBBITMAP_BGRA 2022-01-11 23:45:08 +02:00
vo_sixel.c vo_sixel: don't divide by zero on small terminal 2020-12-02 17:06:11 +02:00
vo_tct.c vo_tct: add resize capability 2021-08-26 11:29:07 -07:00
vo_vaapi_wayland.c vo_vaapi_wayland: remove vaapi format query as formats are never used 2022-06-21 14:05:19 +00:00
vo_vaapi.c x11: support xorg present extension 2022-06-19 18:13:55 +00:00
vo_vdpau.c various: fix typos 2022-04-25 09:07:18 -04:00
vo_wlshm.c vo: move wayland presentation to separate files 2022-06-19 18:13:55 +00:00
vo_x11.c x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00
vo_xv.c x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00
vo.c vo: allow vaapi_wayland and vaapi_x11 to coexist 2022-05-30 19:51:46 +00:00
vo.h vd_lavc: add vo caps and option to set GPU film grain application 2022-04-05 15:02:18 +02:00
w32_common.c various: remove trailing whitespace 2022-05-14 14:51:34 +00:00
w32_common.h w32_common, w32_keyboard: change license to LGPL 2017-06-24 12:54:45 +02:00
wayland_common.c wayland: add support for configure bounds 2022-08-14 16:04:49 +00:00
wayland_common.h wayland: add support for configure bounds 2022-08-14 16:04:49 +00:00
win_state.c win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
win_state.h win_state: add vo_calc_window_geometry3 2021-09-06 10:16:10 +03:00
x11_common.c x11: fix display-{width,height} calculation 2022-08-14 16:04:23 +00:00
x11_common.h x11: avoid XPresent API calls when it's not needed 2022-06-22 18:09:11 +00:00