summaryrefslogtreecommitdiffstats
path: root/libvo/matrixview.h
diff options
context:
space:
mode:
authorwm4 <wm4@mplayer2.org>2011-10-23 06:26:49 +0200
committerUoti Urpala <uau@mplayer2.org>2011-10-24 03:08:48 +0300
commit821a313ba183b9eed8b280cbfda84a3f95a2ab2e (patch)
treef43ef2c8d22fb8293ebdc14f257bc3d281c08f3c /libvo/matrixview.h
parent66c3915621a46a7e302dc234fef2ab75623f04ab (diff)
downloadmpv-821a313ba183b9eed8b280cbfda84a3f95a2ab2e.tar.bz2
mpv-821a313ba183b9eed8b280cbfda84a3f95a2ab2e.tar.xz
vo_gl2, vo_matrixview: remove these VOs
Delete the vo_gl2 and vo_matrixview implementations. vo_gl2 was barely useful anymore. It was a hack based on an old vo_gl.c version, and all it did differently was rendering the video in tiles instead of using a single texture. That made it work with some crappy OpenGL implementations. These days all GPUs support textures of at least 2048x2048 pixels, which is enough for HD playback. On the other hand, gl2 suffered from various bugs and deficiencies, all of which are fixed in gl. Its existence also confused users; many thought that gl2 is the next version of gl and attempted to use it, even though it's much worse than gl and they should have used that instead. Should it turn out that tiling is actually useful, it should be implemented in vo_gl, instead of keeping vo_gl2 alive. vo_matrixview was a toy that couldn't even properly display a video. All it did was display a screensaver-like animation that showed "a Matrix-like running-text effect". (mplayer is not a screensaver.)
Diffstat (limited to 'libvo/matrixview.h')
-rw-r--r--libvo/matrixview.h32
1 files changed, 0 insertions, 32 deletions
diff --git a/libvo/matrixview.h b/libvo/matrixview.h
deleted file mode 100644
index 5081aa79e7..0000000000
--- a/libvo/matrixview.h
+++ /dev/null
@@ -1,32 +0,0 @@
-/*
- * This file is part of MPlayer.
- *
- * MPlayer is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
- * (at your option) any later version.
- *
- * MPlayer is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with MPlayer; if not, write to the Free Software Foundation, Inc.,
- * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
- */
-
-#ifndef MPLAYER_MATRIXVIEW_H
-#define MPLAYER_MATRIXVIEW_H
-
-#include <stdint.h>
-
-void matrixview_init (int w, int h);
-void matrixview_reshape (int w, int h);
-void matrixview_draw (int w, int h, double currentTime, float frameTime,
- uint8_t *data);
-void matrixview_matrix_resize(int w, int h);
-void matrixview_contrast_set(float contrast);
-void matrixview_brightness_set(float brightness);
-
-#endif /* MPLAYER_MATRIXVIEW_H */