diff options
author | wm4 <wm4@nowhere> | 2012-12-22 17:50:15 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-01-13 20:04:12 +0100 |
commit | 3d6d549dac2aa06ecd07bb04902f55140661ace3 (patch) | |
tree | 80d548014a2363fe236ca061c87282a5c05ee8c2 /Makefile | |
parent | 1c65428d6f70f05333ecc8284e3f235c679fff26 (diff) | |
download | mpv-3d6d549dac2aa06ecd07bb04902f55140661ace3.tar.bz2 mpv-3d6d549dac2aa06ecd07bb04902f55140661ace3.tar.xz |
vo_xv, vo_x11: simplify OSD redrawing
In order to support OSD redrawing for vo_xv and vo_x11, draw_bmp.c
included an awkward "backup" mechanism to copy and restore image
regions that have been changed by OSD/subtitles.
Replace this by a much simpler mechanism: keep a reference to the
original image, and use that to restore the Xv/X framebuffers.
In the worst case, this may increase cache pressure and memory usage,
even if no OSD or subtitles are rendered. In practice, it seems to be
always faster.
Diffstat (limited to 'Makefile')
0 files changed, 0 insertions, 0 deletions