diff options
author | wm4 <wm4@nowhere> | 2012-08-02 21:28:59 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-02 22:07:38 +0200 |
commit | e48b21dd87468245268c470b250c3cdd5a1bbfae (patch) | |
tree | 43d11465e021a9573bf581ecf2d00c2819f8cabf /libvo/vo_gl.c | |
parent | 6c05d49730b8fe3b0eff6639b067c4978706bf59 (diff) | |
download | mpv-e48b21dd87468245268c470b250c3cdd5a1bbfae.tar.bz2 mpv-e48b21dd87468245268c470b250c3cdd5a1bbfae.tar.xz |
VO: remove VO direct rendering
This was disabled by default, and could be enabled with -dr. It was
disabled by default because it was buggy: there were issues with OSD
corruption.
It wasn't entirely sane for OpenGL based VOs either. OpenGL can chose
to drop mapped pixel buffer objects, requiring the application to map
and fill the buffer again. But there was no mechanism in mplayer to
fill the lost buffer again. (It seems this rarely happened in practice,
though.)
On the other side, users liked the --dr flag, because it promised them
more speed. I'm not sure if it actually helped with speed, but it's
unlikely it had any real advantages on modern systems.
In order to evade the --dr cargo culting in mplayer config files, it's
best to get rid of it.
Diffstat (limited to 'libvo/vo_gl.c')
-rw-r--r-- | libvo/vo_gl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libvo/vo_gl.c b/libvo/vo_gl.c index d9c0a2dda5..bfafebe15f 100644 --- a/libvo/vo_gl.c +++ b/libvo/vo_gl.c @@ -1383,8 +1383,6 @@ static int control(struct vo *vo, uint32_t request, void *data) switch (request) { case VOCTRL_QUERY_FORMAT: return query_format(vo, *(uint32_t *)data); - case VOCTRL_GET_IMAGE: - return get_image(vo, data); case VOCTRL_DRAW_IMAGE: return draw_image(vo, data); case VOCTRL_DRAW_EOSD: |