1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-05 06:30:06 +00:00
mpv/video/out
wm4 51befc9deb osd: simplify an aspect of change detection handling
There was a somewhat obscure optimization in the OSD and subtitle
rendering path: if only the position of the sub-images changed, and not
the actual image data, uploading of the image data could be skipped. In
theory, this could speed up things like scrolling subtitles.

But it turns out that even in the rare cases subtitles have such scrolls
or axis-aligned movement, modern libass rarely signals this kind of
change. Possibly this is because of sub-pixel handling and such, which
break this.

As such, it's a worthless optimization and just introduces additional
complexity and subtle bugs (especially in cases libass does the
opposite: incorrectly signaling a position change only, which happened
before). Remove this optimization, and rename bitmap_pos_id to
change_id.
2015-03-18 13:15:20 +01:00
..
cocoa cocoa: support the "window-minimized" property 2015-03-08 22:00:47 +01:00
wayland
aspect.c
aspect.h
bitmap_packer.c buid: readd -Wparentheses 2015-03-02 19:09:25 +01:00
bitmap_packer.h
cocoa_common.h
cocoa_common.m cocoa: signal VO_EVENT_WIN_STATE on fps change 2015-03-14 12:33:09 +01:00
d3d_shader_420p.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_nv12.h vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
d3d_shader_yuv.hlsl vo_direct3d: support NV12 with shaders 2015-03-02 19:09:18 +01:00
dither.c
dither.h
filter_kernels.c filter_kernels: add comment to prevent confusion 2015-03-15 18:06:27 +01:00
filter_kernels.h filter_kernels: improve a comment 2015-01-22 20:08:47 +01:00
gl_cocoa.c cocoa: fix fallback for OpenGL 2.1 hardware [2] 2015-01-24 16:54:24 +01:00
gl_common.c vo_opengl: don't test for arrays 2015-03-13 11:55:31 +01:00
gl_common.h vo_opengl: don't test for arrays 2015-03-13 11:55:31 +01:00
gl_header_fixes.h cocoa: remove support for systems without gl3.h header 2015-01-22 08:27:03 +01:00
gl_hwdec_vaglx.c vo_opengl: remove hwdec unmap_image callback 2015-03-14 22:39:22 +01:00
gl_hwdec_vda.c vo_opengl: remove hwdec unmap_image callback 2015-03-14 22:39:22 +01:00
gl_hwdec_vdpau.c vo_opengl: remove hwdec unmap_image callback 2015-03-14 22:39:22 +01:00
gl_hwdec.c video: have a generic context struct for hwdec backends 2015-01-22 15:32:23 +01:00
gl_hwdec.h vo_opengl: remove hwdec unmap_image callback 2015-03-14 22:39:22 +01:00
gl_lcms.c vo_opengl: minor changes to ICC update code 2015-01-26 02:11:14 +01:00
gl_lcms.h vo_opengl: gl_lcms: implement change detection for memory profiles 2015-01-08 01:03:09 +01:00
gl_osd.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
gl_osd.h vo_opengl: refactor shader generation (part 1) 2015-03-12 23:20:20 +01:00
gl_utils.c vo_opengl: replace float array with a struct 2015-03-13 21:14:18 +01:00
gl_utils.h vo_opengl: replace float array with a struct 2015-03-13 21:14:18 +01:00
gl_video.c vo_opengl: reduce number of uniforms in dithering pass 2015-03-16 20:22:09 +01:00
gl_video.h vo_opengl: refactor smoothmotion -> interpolation 2015-03-15 18:01:39 +01:00
gl_w32.c vo_opengl: remove remnants of dropped stereo buffer support 2015-01-24 23:29:54 +01:00
gl_wayland.c
gl_x11.c vo_opengl: remove remnants of dropped stereo buffer support 2015-01-24 23:29:54 +01:00
gl_x11egl.c x11egl: minor cleanup 2015-02-20 19:54:33 +01:00
vo_caca.c video: remove vfcap.h 2015-01-21 22:08:24 +01:00
vo_direct3d.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
vo_image.c video: remove vfcap.h 2015-01-21 22:08:24 +01:00
vo_lavc.c video: remove vfcap.h 2015-01-21 22:08:24 +01:00
vo_null.c video: remove vfcap.h 2015-01-21 22:08:24 +01:00
vo_opengl_cb.c vo_opengl: refactor smoothmotion -> interpolation 2015-03-15 18:01:39 +01:00
vo_opengl.c vo_opengl: refactor smoothmotion -> interpolation 2015-03-15 18:01:39 +01:00
vo_sdl.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
vo_vaapi.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
vo_vdpau.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
vo_wayland.c osd: simplify an aspect of change detection handling 2015-03-18 13:15:20 +01:00
vo_x11.c vo: simplify VOs by adding generic screenshot support 2015-01-24 23:16:27 +01:00
vo_xv.c vo_xv: don't attempt to clear window before mapped 2015-02-26 09:26:28 +01:00
vo.c vo: make sure display-fps is up-to-date 2015-03-13 18:48:14 +01:00
vo.h command: fix display-fps property (again) 2015-03-13 13:14:11 +01:00
w32_common.c win32: support get display fps 2015-03-13 13:32:36 +01:00
w32_common.h
wayland_common.c buid: readd -Wparentheses 2015-03-02 19:09:25 +01:00
wayland_common.h
win_state.c player: add --autofit-smaller option 2015-01-16 22:30:41 +01:00
win_state.h
x11_common.c x11: ignore mouse enter/leave events due to pointer grab 2015-03-11 11:52:33 +01:00
x11_common.h vo_opengl, x11: implement icc-profile-auto 2015-01-26 02:18:47 +01:00
x11_icon.bin