Commit Graph

176 Commits

Author SHA1 Message Date
reimar 1feebc74c7 OpenGL fixes for windows and vo_gl.c ported to windows.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16110 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 13:47:18 +00:00
reimar c30b5e70b7 support for rectangular and streaming textures.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16100 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-26 10:16:18 +00:00
reimar 6acf6c886e Use DRAW_IMAGE instead of draw_frame
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16093 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-25 19:11:14 +00:00
reimar de6925b979 Enable manyfmts by default for vo_gl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16013 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-19 08:42:55 +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 1c0928d65e Fix OSD handling, DVD subtitles work now. Will be a bit slower though.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15720 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-13 20:09:05 +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
henry dbb001bae2 replace VO and VF numeric flags with #defined identifiers
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-18 15:52:38 +00:00
henry e68fc0c46a revert the previous commit, gl needs to reload the font immediately
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15087 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-10 13:12:55 +00:00
henry d84d885309 remove force_load_font stuff moved to sub.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15081 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-09 22:45:47 +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
al 546e6316ac Move generic tests to a common place.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14737 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-19 20:14:00 +00:00
reimar 2ac89bd388 set sub_bg_alpha only to 255 when using hardware OSD.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14431 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-08 17:58:56 +00:00
reimar efa1ae2274 Use subopt helper to parse arguments
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14287 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-31 14:58:49 +00:00
reimar f9258247dd Doxygen comments improved
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14270 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-29 14:33:40 +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 6a197759bd 4 and 8 bit formats use a palette, so we cannot really support them (atm).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13994 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-20 10:57:39 +00:00
reimar 60fae69741 missing return for InitGl function
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13921 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-11 19:39:23 +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
reimar 1a7a3f8b38 fullscreen fixes and GUI support for vo_gl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13844 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-11-01 20:24:37 +00:00
reimar 69a5c44698 OSD variant for vo_gl.c that behaves more like the one of other vos.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13661 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-17 19:32:47 +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 a89dbc8ecd aspect scaling and panscan support for vo_gl.c
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13602 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-10 14:05:29 +00:00
reimar 780e75dd68 Variables for OSD support should be static
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13600 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-10 12:26:58 +00:00
reimar 274c433f07 OpenGL OSD rendering for vo_gl
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13586 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-08 19:53:11 +00:00
reimar fb4299aa23 10l compilation fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13577 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-06 19:53:16 +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 0a2999f9f4 improved suboption parsing, fixes also compiler warnings
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13238 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-03 12:12:17 +00:00
reimar ef6466d9ad Using updated colorspace specifications from colorspaces.txt.
All by manyfmts suboption supported formats should display correctly now.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13207 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-30 21:06:52 +00:00
rathann d9a5e00183 small gcc warning fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13189 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-28 20:59:49 +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 4eebc5af53 changed misleading TEXTUREFORMAT_32BPP (was 24bpp!) to vo_gl2 style TEXTUREFORMAT_ALWAYS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12844 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-17 14:32:22 +00:00
reimar 7eb4b975ed removed XFlush() before XSync()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12750 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-07-02 16:16:46 +00:00
reimar ca4e501dc0 changes to get manyfmts nearer to working and fixed memory leak
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12446 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-08 21:38:41 +00:00
reimar d81b02cce8 fixed suboption parsing, added help for suboptions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12213 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-15 18:19:39 +00:00
reimar 02fa83290a vo_gl supporting more color formats for testing
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12160 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-08 21:50:29 +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
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
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 6a8d08a063 Removed YUV (YV12) and BGR support, leaving the native RGB support. Also cleaned some other parts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10139 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-20 16:48:05 +00:00
arpi ac3b6c6552 - optional slice height for -vo gl (example: -vo gl:32)
based on patch by Dmitry Baryshkov <lumag@qnc.ru>
- default height changed from 1 to 4, seems to be more optimal and works
fast on both g400max & gf4ti4200


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8655 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-30 01:34:20 +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 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 7eadbc8831 -fixed-vo support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7778 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-10-17 09:49:25 +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
arpi 1d17fa69c3 ignore BadAccess error at XSelectInput() (grabbing mouse etc) with warning
patch Kazunori Ueno <jagarl@creator.club.ne.jp>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6954 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-09 17:43:49 +00:00
alex bb314fce93 query_format revised
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6213 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-27 17:56:52 +00:00
arpi e6bcec1c6b some cleanup, gl/gl2 updated to use vo_window
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6096 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-14 23:44:35 +00:00
pontscho da6135b983 fix playlist bug with gui and rewrite mousecursor show/hide code
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5652 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-16 17:41:29 +00:00
nick 5ddd8e92a1 I don't like such reports: '-vo dga:vidix or -vo x11:vidix works fine for me'
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4738 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-17 08:24:43 +00:00
albeu 30c218a61b Added new input mouse support in x11 vo
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4659 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-11 11:44:50 +00:00
arpi 4b33dccb25 10000hl to Holm... control MUST BE static...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4597 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 01:21:48 +00:00
arpi 7c51652a1b query_ stuff replaced by new control() - patch by David Holm
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4593 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-09 00:47:26 +00:00
rfelker 8b91d86c30 change init to config in vo_gl and vo_md5 like in the other vo_ modules -- fixes crash caused by the changeover
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4449 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-01 02:49:04 +00:00
alex 947903ce8d removed obsoleted Terminate_Display_Process, using vo_x11_uninit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4441 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-31 11:46:46 +00:00
nick b587a3d642 new info for tuning
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4434 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-31 09:57:13 +00:00
nick fa1d5742bc Extensions for video accelerated architecture
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4353 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-26 16:01:26 +00:00
atmos4 eb2c656b52 Xinerama patch number two by attila.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4018 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-06 21:07:20 +00:00
nick dfe91abaa2 Move yuv2rgb to postprocess
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2733 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-11-06 11:22:40 +00:00
atmos4 14fe0175c0 Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and vo_xmga are untested!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2250 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-18 02:42:20 +00:00
atmos4 ee2e0f2bdd Use aspect()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2058 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-03 17:27:13 +00:00
arpi e1622e70c8 now using x11_common stuff for X11 opening and w/h/bpp query
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2042 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-01 22:38:16 +00:00
atmos4 18c3d56469 -fs fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2041 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-10-01 20:56:19 +00:00
atlka ca99c8dc89 changes according to -utf8 option, draw_osd() function added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1502 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-08-13 11:08:18 +00:00
atmos4 6e0c3925d7 Fixed a typo and wrong varname.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1303 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-10 13:24:59 +00:00
alex c4c7864848 no segfault if no glx present
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1291 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-07-07 20:53:01 +00:00
arpi_esp 9e90ab5430 patch: some X11 compliance fixed: set ClassHint and better fullscreen mode
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1138 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-17 01:22:09 +00:00
al3x 790fa570cf -Wall like fixes
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1110 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-06-12 14:03:18 +00:00
szabii eb30258d07 fprintf(stderr converted to printf(
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@615 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-24 11:30:57 +00:00
szabii cd30d641c1 some warnings killed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@613 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-24 10:21:12 +00:00
lgb 8b84635c64 Autohide X11 cursor
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@385 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-04-13 00:54:05 +00:00
arpi_esp 0661c59b20 added check_events() interface
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-03-03 21:46:39 +00:00
arpi_esp d34041569e Initial revision
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-02-24 20:28:24 +00:00