1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 12:55:16 +00:00
mpv/video/out
wm4 3f5715a053 vo_opengl: improve robustness against PBO failure
If PBO upload fails, disable PBOs and revert to the normal codepath. In
theory we should retry PBO upload on failure (because OpenGL specifies
that it can sporadically fail), but since it normally doesn't happen,
and the fallback will work, I'm not bothering.

Some restructuring is needed, since glUnmapBuffer needs to be called
earlier. In fact, the old code structure didn't make too much sense, and
is a leftover from MPlayer's direct rendering support, which let the
decoder decode to a PBO-mapped region. This means the buffer_ptr field
can be dropped. Drop buffer_size as well, since it only had 2 possible
values (0 or the size required for the current config).
2015-09-02 22:45:07 +02:00
..
cocoa
wayland
aspect.c video: fix panscan in vertical case 2015-06-29 23:46:59 +02:00
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_common.h
cocoa_common.m cocoa: hide cursor using a blank image instead of a system-wide API 2015-08-11 08:02:58 +02:00
d3d_shader_420p.h
d3d_shader_nv12.h
d3d_shader_yuv.hlsl
dither.c
dither.h
drm_common.c vo_drm: fix missing newlines in error messages 2015-06-28 15:22:11 +02:00
drm_common.h
filter_kernels.c vo_opengl: add tscale-clamp option 2015-08-20 21:55:19 +02:00
filter_kernels.h vo_opengl: add tscale-clamp option 2015-08-20 21:55:19 +02:00
gl_cocoa.c
gl_common.c vo_rpi: use EGL to render subtitles 2015-08-18 23:01:09 +02:00
gl_common.h gl_wayland: eglSwapInterval(0) to avoid blocking 2015-08-21 00:01:01 +02:00
gl_header_fixes.h
gl_hwdec_dxva2.c client API, dxva2: add a workaround for OpenGL fullscreen issues 2015-07-03 16:38:12 +02:00
gl_hwdec_vaglx.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
gl_hwdec_vda.c vo_opengl, vda: return to old state 2015-09-01 15:40:04 +02:00
gl_hwdec_vdpau.c video: reduce error message when loading hwdec backend fails 2015-06-20 22:26:57 +02:00
gl_hwdec.c video: fix VideoToolbox/VDA autodetection 2015-08-17 23:51:31 +02:00
gl_hwdec.h vo_opengl_cb, vo_opengl: add option for preloading hwdec context 2015-07-07 15:05:32 +02:00
gl_lcms.c
gl_lcms.h
gl_osd.c vo_rpi: redraw subtitles only on change 2015-08-18 23:09:37 +02:00
gl_osd.h vo_rpi: redraw subtitles only on change 2015-08-18 23:09:37 +02:00
gl_rpi.c vo_rpi, vo_opengl: do not globally terminate EGL on VO uninit 2015-08-31 19:46:02 +02:00
gl_rpi.h rpi: factor out context creation 2015-08-18 23:00:51 +02:00
gl_utils.c vo_opengl: don't distinguish "real" and texture size 2015-09-02 13:17:23 +02:00
gl_utils.h vo_opengl: don't distinguish "real" and texture size 2015-09-02 13:17:23 +02:00
gl_video.c vo_opengl: improve robustness against PBO failure 2015-09-02 22:45:07 +02:00
gl_video.h vo_opengl: remove redundant statement in PBO code 2015-09-02 13:17:22 +02:00
gl_w32.c win32: revert wchar_t changes 2015-08-01 21:09:11 +02:00
gl_wayland.c gl_wayland: Wait for frame callbacks 2015-08-21 00:01:01 +02:00
gl_x11.c vo_opengl: X11: don't leak when GL init fails 2015-07-02 00:30:13 +02:00
gl_x11egl.c vo_opengl: X11 EGL: more detailed error reporting 2015-07-02 00:28:25 +02:00
vo_caca.c
vo_direct3d.c vo_direct3d: create multithreaded IDirect3DDevice9 2015-07-30 21:26:42 +02:00
vo_drm.c vo_drm: make VT switching non mandatory 2015-06-28 17:11:51 +02:00
vo_image.c
vo_lavc.c
vo_null.c
vo_opengl_cb.c vo_opengl: refactor queue configuration 2015-07-16 22:43:40 +02:00
vo_opengl.c vo_opengl: force redraw when framestepping with interpolation 2015-08-25 21:31:37 +02:00
vo_rpi.c vo_rpi: disable background by default 2015-08-20 19:07:18 +02:00
vo_sdl.c vo_sdl: fix glaring memory leak 2015-06-25 09:55:24 +02:00
vo_vaapi.c vo_vaapi: drop unused field 2015-07-15 13:27:38 +02:00
vo_vdpau.c vo_vdpau: fix frame scheduling if display FPS is unknown 2015-08-04 19:23:07 +02:00
vo_wayland.c vo_wayland: Wait for frame callbacks 2015-08-21 00:01:01 +02:00
vo_xv.c x11: move GCs and background clearing to vo_xv 2015-07-01 23:55:10 +02:00
vo.c vo: fix video EOF with display-sync 2015-08-12 10:46:29 +02:00
vo.h player: add display sync mode 2015-08-10 18:48:45 +02:00
w32_common.c w32: shift drag and drop appends 2015-08-30 05:55:16 -07:00
w32_common.h
wayland_common.c input: add append argument to file drop event 2015-08-30 05:28:24 -07:00
wayland_common.h vo_wayland: Wait for frame callbacks 2015-08-21 00:01:01 +02:00
win_state.c
win_state.h
x11_common.c x11: drag and drop append with modifier 2015-08-30 05:28:30 -07:00
x11_common.h x11: drag and drop append with modifier 2015-08-30 05:28:30 -07:00
x11_icon.bin