Commit Graph

86 Commits

Author SHA1 Message Date
reimar 2a15e8beb8 support negative stride (flipping) in vo_gl.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17221 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-18 12:04:08 +00:00
reimar 2d065d1c6d signed division must be used for calculation vo_dx and vo_dy.
Fixes a bug that causes overbig windows to disappear on Windows.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17128 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 15:56:27 +00:00
reimar 6b9f08f720 Get rid of most #ifdefs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17117 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-06 22:23:06 +00:00
reimar 28b32a786a Enable border toggling for gl and gl2 under windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17007 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-17 20:49:46 +00:00
reimar 1a3e0c3b12 documentation update.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16627 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-01 12:53:49 +00:00
reimar 464df17b27 debugging/testing helpers: allow forcing a certain width/height for textures
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16595 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:33:03 +00:00
reimar 98ef94eb18 panscan support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16591 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:18:16 +00:00
reimar d16d2c3e32 Support rectangular texture in fragment programs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16587 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 16:07:54 +00:00
reimar 2abdf6ac43 Fix crashes and green border when using YV12 input format
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16584 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-25 13:58:18 +00:00
reimar 4e60e039f5 hardware color-space conversion for vo_gl and vo_gl2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16489 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-14 22:08:04 +00:00
reimar 052fc0f4e9 Allow disabling the glFinish call
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16476 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-13 16:16:13 +00:00
reimar f68be97419 Fix texture format variable types. Internal format is GLint, others are GLenum
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16304 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-25 12:45:57 +00:00
reimar 6f4bba6b61 -wid support for windows. Not well tested, might still behave a bit weird.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16283 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-21 09:59:45 +00:00
reimar cbd8483a32 Get events from -wid window.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16240 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-16 23:24:52 +00:00
reimar 0f10868e3d use glUploadTex helper function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16225 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-14 19:40:33 +00:00
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