1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 12:55:16 +00:00
Commit Graph

71 Commits

Author SHA1 Message Date
reimar
5543cc2bf5 textures smaller 64x64 might not be supported
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16223 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 19:36:34 +00:00
reimar
c7888c0a7f remove/move some unused headers/variables/code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16222 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 19:24:49 +00:00
reimar
f1fcbe1d11 10l, texture_width/height initialization was removed, so use
image_width/height here


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16221 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 18:36:01 +00:00
reimar
698494f779 Helper function for drawing texture and general cleanup of vo_gl2.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16215 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 13:44:14 +00:00
ivo
cd55954e4e Fix the return types of all (six) libvo API functions. Used to be uint32_t, but
return values can be negative (VO_ERROR, VO_NOTAVAIL and VO_NOTIMPL), so it's
changed to int now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16172 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 01:24:37 +00:00
reimar
fd0aa2708e support -wid
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15749 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-18 18:32:29 +00:00
reimar
881f0f083f -geometry support for gl2 under win, default window pos centered for gl, gl2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15596 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-30 08:45:21 +00:00
reimar
7322c396a9 Implement -geometry for vo gl and gl2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15590 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-29 17:04:51 +00:00
reimar
cdfb0214ba Remove a lot of duplicate code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14748 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-21 14:44:39 +00:00
reimar
efb6997813 Remove unused defines
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14271 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 14:35:18 +00:00
reimar
84fd90d3e4 Improving gl2 under windows, moving some functionality to gl_common
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14143 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-11 16:57:42 +00:00
reimar
d924f1beb1 Move selection of internal texture format to appropriate place, should
be at texture initialization as visual might change.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14091 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-03 00:11:28 +00:00
reimar
c977dab456 More similar code from gl and gl2 moved to gl_common
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14079 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-01 17:05:58 +00:00
reimar
34065ca6f9 Avoid drawing before transformation matrices are set up.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13927 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-13 12:01:20 +00:00
faust3
819ba1a04f 10l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13878 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-05 13:48:41 +00:00
reimar
a594c4f593 more fullscreen fixes and gl2 uses setGlWindow.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13872 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-04 18:31:55 +00:00
diego
5b0d96c6b4 Handle "xxx.h" vs "../xxx.h" include paths in a consistent way.
Based on a patch by Sebastian Hegler <s_hegler at gmx dot de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13788 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-28 01:15:53 +00:00
reimar
0164758aa8 added gl_common for code used by both vo_gl.c and vo_gl2.c.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13654 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-17 13:28:22 +00:00
reimar
4131acb7ff fixed UNPACK_ALIGNMENT setting.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13576 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-06 16:48:19 +00:00
reimar
e3e81503aa fixed memleak, especially for fixed-vo.
Based on a patch by beastd (eclipse7 (at) gmx (dot) net).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13541 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-03 21:42:31 +00:00
reimar
d7d2ea1551 removed saver_on, saver_off calls, they are already in x11_common.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12896 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-25 12:49:01 +00:00
reimar
bf366b0d9d fix for people experimenting with GUI under windows
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12886 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-22 19:07:13 +00:00
reimar
2b2bb254b7 use RGB32 textures on OS X
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12843 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-17 14:18:29 +00:00
reimar
121a0f799a 100l, OSX compile fix, patch by Steven Schulz (sms (at) 2BSD (dot) com)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12763 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-06 11:10:27 +00:00
reimar
7f03f78675 removed XFlush() before XSync(), made config_glx return-type signed, force 32bit on Darwin, idea from a patch by Marc Hoffman (mmh <at> pleasantst.com).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12751 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-02 16:18:24 +00:00
reimar
ebe46df414 avoid visuals with low color-depth.
Based on idea from Timo Kanera (timo (at) kanera (dot) de).


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12710 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-27 20:45:08 +00:00
reimar
f0978d51d9 removing useless code, improving readability
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12449 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-08 23:53:20 +00:00
reimar
2a78342333 fixed memory leak and removed unnecessary static variable
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12447 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-08 21:40:20 +00:00
reimar
bb4e355258 clear buffer after (glX)SwapBuffers in fullscreen to avoid flickering borders
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12395 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-02 14:16:13 +00:00
reimar
6e443b3534 GUI support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12383 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-01 19:37:09 +00:00
reimar
6080f08560 corrected problems with switching to and from fullscreen mode esp. with fixed-vo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12036 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-17 11:53:25 +00:00
attila
d592bf3e6a printf -> mp_msg
patch by Reimar Döffinger <Reimar.Doeffinger@stud.uni-karlsruhe.de>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11989 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-02-22 15:30:01 +00:00
joey
640f93d018 runtime 'stay-on-top' functionality
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-11-30 16:36:10 +00:00
attila
394bbcb577 * clear window on fullscreen switch
* add call of vo_x11_sizehint


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11088 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-12 14:42:27 +00:00
gabucino
fadce2d781 many small typo and grammar fixes
Based on Bernard Leak's mail <bernard 4t brenda-arkle.demon.co.uk>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11001 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-10-04 17:29:08 +00:00
faust3
a9faa87694 fix fullscreen switching in vo gl and vo gl2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10920 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-21 15:44:23 +00:00
attila
a7093bca30 dont fix things at the wrong place
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10906 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-21 11:27:11 +00:00
faust3
e1db17e9f6 fix black screen on linux, patch by Jindrich Makovicka
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10903 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-21 10:36:03 +00:00
faust3
ae1496e7df vo_gl2 port to win32 patch by Tristan Seligmann <mithrandi-mplayer-dev-eng at mithrandi.za.net>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10881 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-09-19 14:33:51 +00:00
mosu
908e6a761d Avoid flickering during resizes. Keep video contents even when paused. Fix by Tomas Simonaitis <haden@homelan.lt>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10758 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-31 22:27:10 +00:00
alex
379ad8406e 1000l
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10605 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-14 01:15:41 +00:00
alex
fea222079a removed broken swscaler support, added runtime fullscreens switching ability, and some other general cleanup thingies
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10144 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-20 19:30:46 +00:00
michael
01c201dbe8 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 10:58:14 +00:00
alex
6811f96358 removed get_info, using the same sheme as in libmpcodecs instead
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-11 15:22:10 +00:00
arpi
f859d013a8 *HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-06 23:54:29 +00:00
arpi
e5947d8b27 here is a somewhat generic equalizer implementation for the X11 vo drivers
using the window's colormap (DirectColor).
this method is using the video card's hardware gamma ramp so it involves
no performance penalties at all.
patch by lucho <lucho@haemimont.bg>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7965 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-29 20:27:47 +00:00
arpi
889ffa50ea vo_init() moved to/fixed in preinit()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7932 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-27 03:16:21 +00:00
pontscho
210f7955fb -fixed-vo support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7764 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-16 21:32:03 +00:00
alex
64bedd9683 finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo api
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 21:32:32 +00:00
alex
0b03ca9d27 removed old input code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7112 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-28 15:55:58 +00:00