1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-30 15:29:56 +00:00
mpv/video
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
..
decode various: fix typos 2022-04-25 09:07:18 -04:00
filter vf_format: support forwarding/stripping film grain metadata 2022-04-05 15:02:18 +02:00
out vo_gpu_next: pass GL get_proc_addr pointer to libplacebo 2022-08-19 13:54:50 +02:00
csputils.c csputils: add mappings for DCI-P3 (ST.431-2) and P3-D65 (ST.432-1) 2020-12-30 20:03:54 +02:00
csputils.h csputils: add MP_CHROMA_TOPLEFT 2020-12-02 01:36:29 +01:00
cuda.c
d3d.c
d3d.h
drmprime.c video/drmprime: fix use-after-free 2022-08-09 22:19:45 -07:00
fmt-conversion.c
fmt-conversion.h
hwdec.c hwdec/drmprime: add drmprime hwdec-interop 2022-08-09 10:19:18 -07:00
hwdec.h hwdec/drmprime: add drmprime hwdec-interop 2022-08-09 10:19:18 -07:00
image_loader.c
image_loader.h
image_writer.c video/image_writer: tag colorspace in AVCodecContext 2022-05-04 14:42:06 -04:00
image_writer.h video/image_writer: add Jpeg XL screenshots 2022-04-26 16:48:00 +03:00
img_format.c
img_format.h
mp_image_pool.c
mp_image_pool.h
mp_image.c video: remove unnecessary code 2022-08-01 23:11:42 +02:00
mp_image.h mp_image: support film grain parameters 2022-04-05 15:02:18 +02:00
repack.c osdep: rename MP_UNREACHABLE 2021-11-03 15:15:20 +01:00
repack.h
sws_utils.c sws_utils: work around libswscale corrupting memory yet again 2020-09-17 15:24:27 +02:00
sws_utils.h sws_utils: work around libswscale corrupting memory yet again 2020-09-17 15:24:27 +02:00
vaapi.c
vaapi.h
vdpau_functions.inc
vdpau_mixer.c
vdpau_mixer.h
vdpau.c
vdpau.h
zimg.c csputils: add MP_CHROMA_TOPLEFT 2020-12-02 01:36:29 +01:00
zimg.h