1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 06:30:06 +00:00
mpv/video/out
wm4 346ac1e09f vo_opengl: simplify mirroring and fix it if glBlitFramebuffer is used
The vp_w/vp_h variables and parameters were not really used anymore
(they were redundant with ra_tex w/h) - but vp_h was still used to
identify whether rendering should be done mirrored.

Simplify this by adding a fbodst struct (some bad naming), which
contains the render target texture, and some parameters how it should be
rendered to (for now only flipping). It would not be appropriate to make
this a member of ra_tex, so it's a separate struct.

Introduces a weird regression for the first frame rendered after
interpolation is toggled at runtime, but seems to work otherwise. This
is possibly due to the change that blit() now mirrors, instead of just
copying. (This is also why ra_fns.blit is changed.)

Fixes #4719.
2017-08-07 16:44:15 +02:00
..
cocoa cocoa: add an option to disable the native macOS fullscreen 2017-08-06 22:48:26 +02:00
opengl vo_opengl: simplify mirroring and fix it if glBlitFramebuffer is used 2017-08-07 16:44:15 +02:00
wayland video/out/wayland/buffer.c: Add missing free() 2017-05-26 08:52:12 +01:00
win32 droptarget: fix style and refactor 2017-03-26 00:41:16 +11:00
aspect.c aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
aspect.h aspect: change license to LGPL 2017-06-17 17:08:51 +02:00
bitmap_packer.c
bitmap_packer.h
cocoa_common.h osx: change license of OSX and cocoa files to LGPL 2017-06-24 16:29:22 +02:00
cocoa_common.m cocoa: add an option to disable the native macOS fullscreen 2017-08-06 22:48:26 +02:00
d3d_shader_420p.h
d3d_shader_yuv.hlsl
dither.c
dither.h
drm_common.c vo_drm: nake drm mode help output also output refresh rate 2017-06-18 20:54:44 +02:00
drm_common.h
filter_kernels.c vo_opengl: generalize --scale-clamp etc. 2017-07-12 19:08:58 +02:00
filter_kernels.h vo_opengl: generalize --scale-clamp etc. 2017-07-12 19:08:58 +02:00
vo_caca.c
vo_direct3d.c vo_direct3d: remove non-working nv12 shader support 2017-06-30 18:13:01 +02:00
vo_drm.c vo_drm: fallback to vo_wait_default if VT switcher is not available 2017-06-08 15:24:10 +02:00
vo_image.c image_writer, vo_image: change license to LGPL 2017-06-18 15:45:24 +02:00
vo_lavc.c encode_lavc: move from GPL 2+ to LGPL 2.1+. 2017-06-13 14:22:15 -04:00
vo_null.c vo.c, vo.h, vo_null.c: change license to LGPL 2017-05-10 15:06:20 +02:00
vo_opengl_cb.c vo_opengl: move GL state resetting to vo_opengl_cb 2017-08-05 16:27:09 +02:00
vo_opengl.c vo_opengl: add direct rendering support 2017-07-24 04:32:55 +02:00
vo_rpi.c
vo_sdl.c video: get rid of swapped packed YUV 2017-06-30 18:01:29 +02:00
vo_tct.c
vo_vaapi.c
vo_vdpau.c
vo_wayland.c
vo_x11.c build: make various x11 protocol extension libs mandatory 2017-04-21 07:30:03 +02:00
vo_xv.c video: get rid of swapped packed YUV 2017-06-30 18:01:29 +02:00
vo.c vo_opengl: add direct rendering support 2017-07-24 04:32:55 +02:00
vo.h vo_opengl: add direct rendering support 2017-07-24 04:32:55 +02:00
w32_common.c w32_common: handle media keys 2017-08-05 02:38:44 +10:00
w32_common.h w32_common, w32_keyboard: change license to LGPL 2017-06-24 12:54:45 +02:00
wayland_common.c
wayland_common.h
win_state.c win_state: change license to LGPL 2017-06-17 21:10:24 +02:00
win_state.h
x11_common.c x11: add 128x128 sized icon support 2017-07-02 13:07:36 +02:00
x11_common.h