summaryrefslogtreecommitdiffstats
path: root/libvo/vo_gl.c
Commit message (Collapse)AuthorAgeFilesLines
* Fix texture format variable types. Internal format is GLint, others are GLenumreimar2005-08-251-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16304 b3059339-0415-0410-9bf9-f77b7e298cf2
* -wid support for windows. Not well tested, might still behave a bit weird.reimar2005-08-211-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16283 b3059339-0415-0410-9bf9-f77b7e298cf2
* less weird OSD alpha transformation.reimar2005-08-191-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16273 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not set SwapInterval for values < 0.reimar2005-08-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16272 b3059339-0415-0410-9bf9-f77b7e298cf2
* automatic vsync enabling for vo_gl.reimar2005-08-191-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16269 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get events from -wid window.reimar2005-08-161-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16240 b3059339-0415-0410-9bf9-f77b7e298cf2
* Our buffer usage actually fits better to GL_DYNAMIC_DRAW than GL_STREAM_DRAW.reimar2005-08-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16238 b3059339-0415-0410-9bf9-f77b7e298cf2
* OSD textures can be deleted with one function call...reimar2005-08-161-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16237 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make glFinish optionalreimar2005-08-161-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16236 b3059339-0415-0410-9bf9-f77b7e298cf2
* use GenBuffers to get a buffer number instead of hardcoding 1.reimar2005-08-161-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16234 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove/move some unused headers/variables/codereimar2005-08-141-10/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16222 b3059339-0415-0410-9bf9-f77b7e298cf2
* Helper function for drawing texture and general cleanup of vo_gl2.creimar2005-08-141-39/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16215 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix the return types of all (six) libvo API functions. Used to be uint32_t, butivo2005-08-051-6/+6
| | | | | | | | 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
* More helper functions/defines and bugfixesreimar2005-07-271-56/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16118 b3059339-0415-0410-9bf9-f77b7e298cf2
* catch failed buffer allocationreimar2005-07-261-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16114 b3059339-0415-0410-9bf9-f77b7e298cf2
* OpenGL fixes for windows and vo_gl.c ported to windows.reimar2005-07-261-0/+39
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16110 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for rectangular and streaming textures.reimar2005-07-261-30/+95
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16100 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use DRAW_IMAGE instead of draw_framereimar2005-07-251-22/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16093 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable manyfmts by default for vo_glreimar2005-07-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16013 b3059339-0415-0410-9bf9-f77b7e298cf2
* support -widreimar2005-06-181-3/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15749 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix OSD handling, DVD subtitles work now. Will be a bit slower though.reimar2005-06-131-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15720 b3059339-0415-0410-9bf9-f77b7e298cf2
* -geometry support for gl2 under win, default window pos centered for gl, gl2reimar2005-05-301-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15596 b3059339-0415-0410-9bf9-f77b7e298cf2
* Implement -geometry for vo gl and gl2.reimar2005-05-291-3/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15590 b3059339-0415-0410-9bf9-f77b7e298cf2
* replace VO and VF numeric flags with #defined identifiershenry2005-04-181-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15213 b3059339-0415-0410-9bf9-f77b7e298cf2
* revert the previous commit, gl needs to reload the font immediatelyhenry2005-04-101-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15087 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove force_load_font stuff moved to sub.chenry2005-04-091-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15081 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a lot of duplicate codereimar2005-02-211-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14748 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move generic tests to a common place.al2005-02-191-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14737 b3059339-0415-0410-9bf9-f77b7e298cf2
* set sub_bg_alpha only to 255 when using hardware OSD.reimar2005-01-081-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14431 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use subopt helper to parse argumentsreimar2004-12-311-50/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14287 b3059339-0415-0410-9bf9-f77b7e298cf2
* Doxygen comments improvedreimar2004-12-291-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14270 b3059339-0415-0410-9bf9-f77b7e298cf2
* More similar code from gl and gl2 moved to gl_commonreimar2004-12-011-82/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14079 b3059339-0415-0410-9bf9-f77b7e298cf2
* 4 and 8 bit formats use a palette, so we cannot really support them (atm).reimar2004-11-201-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13994 b3059339-0415-0410-9bf9-f77b7e298cf2
* missing return for InitGl functionreimar2004-11-111-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13921 b3059339-0415-0410-9bf9-f77b7e298cf2
* more fullscreen fixes and gl2 uses setGlWindow.reimar2004-11-041-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13872 b3059339-0415-0410-9bf9-f77b7e298cf2
* fullscreen fixes and GUI support for vo_glreimar2004-11-011-57/+74
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13844 b3059339-0415-0410-9bf9-f77b7e298cf2
* OSD variant for vo_gl.c that behaves more like the one of other vos.reimar2004-10-171-7/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13661 b3059339-0415-0410-9bf9-f77b7e298cf2
* added gl_common for code used by both vo_gl.c and vo_gl2.c.reimar2004-10-171-15/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13654 b3059339-0415-0410-9bf9-f77b7e298cf2
* aspect scaling and panscan support for vo_gl.creimar2004-10-101-2/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13602 b3059339-0415-0410-9bf9-f77b7e298cf2
* Variables for OSD support should be staticreimar2004-10-101-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13600 b3059339-0415-0410-9bf9-f77b7e298cf2
* OpenGL OSD rendering for vo_glreimar2004-10-081-2/+148
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13586 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l compilation fixreimar2004-10-061-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13577 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed UNPACK_ALIGNMENT setting.reimar2004-10-061-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13576 b3059339-0415-0410-9bf9-f77b7e298cf2
* improved suboption parsing, fixes also compiler warningsreimar2004-09-031-13/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13238 b3059339-0415-0410-9bf9-f77b7e298cf2
* Using updated colorspace specifications from colorspaces.txt.reimar2004-08-301-9/+9
| | | | | | | 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
* small gcc warning fixesrathann2004-08-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13189 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed saver_on, saver_off calls, they are already in x11_common.creimar2004-07-251-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12896 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed misleading TEXTUREFORMAT_32BPP (was 24bpp!) to vo_gl2 style ↵reimar2004-07-171-3/+3
| | | | | | TEXTUREFORMAT_ALWAYS git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12844 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed XFlush() before XSync()reimar2004-07-021-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12750 b3059339-0415-0410-9bf9-f77b7e298cf2
* changes to get manyfmts nearer to working and fixed memory leakreimar2004-05-081-20/+16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12446 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed suboption parsing, added help for suboptionsreimar2004-04-151-12/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12213 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_gl supporting more color formats for testingreimar2004-04-081-6/+79
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12160 b3059339-0415-0410-9bf9-f77b7e298cf2
* printf -> mp_msgattila2004-02-221-4/+5
| | | | | | | 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
* runtime 'stay-on-top' functionalityjoey2003-11-301-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11543 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix fullscreen switching in vo gl and vo gl2faust32003-09-211-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10920 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid flickering during resizes. Keep video contents even when paused. Fix ↵mosu2003-08-311-10/+12
| | | | | | by Tomas Simonaitis <haden@homelan.lt> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10758 b3059339-0415-0410-9bf9-f77b7e298cf2
* Removed YUV (YV12) and BGR support, leaving the native RGB support. Also ↵alex2003-05-201-145/+15
| | | | | | cleaned some other parts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10139 b3059339-0415-0410-9bf9-f77b7e298cf2
* - optional slice height for -vo gl (example: -vo gl:32)arpi2002-12-301-11/+20
| | | | | | | | | 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
* removed get_info, using the same sheme as in libmpcodecs insteadalex2002-11-111-10/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8149 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_init() moved to/fixed in preinit()arpi2002-10-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7932 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fixed-vo supportpontscho2002-10-171-76/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7778 b3059339-0415-0410-9bf9-f77b7e298cf2
* finally removed query_vaa, bes_da and vo_tune_info - the obsoleted libvo apialex2002-08-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7125 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed old input codealex2002-08-281-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7112 b3059339-0415-0410-9bf9-f77b7e298cf2
* ignore BadAccess error at XSelectInput() (grabbing mouse etc) with warningarpi2002-08-091-1/+1
| | | | | | | patch Kazunori Ueno <jagarl@creator.club.ne.jp> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6954 b3059339-0415-0410-9bf9-f77b7e298cf2
* query_format revisedalex2002-05-271-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6213 b3059339-0415-0410-9bf9-f77b7e298cf2
* some cleanup, gl/gl2 updated to use vo_windowarpi2002-05-141-28/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6096 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix playlist bug with gui and rewrite mousecursor show/hide codepontscho2002-04-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5652 b3059339-0415-0410-9bf9-f77b7e298cf2
* I don't like such reports: '-vo dga:vidix or -vo x11:vidix works fine for me'nick2002-02-171-1/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4738 b3059339-0415-0410-9bf9-f77b7e298cf2
* Added new input mouse support in x11 voalbeu2002-02-111-1/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4659 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10000hl to Holm... control MUST BE static...arpi2002-02-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4597 b3059339-0415-0410-9bf9-f77b7e298cf2
* query_ stuff replaced by new control() - patch by David Holmarpi2002-02-091-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4593 b3059339-0415-0410-9bf9-f77b7e298cf2
* change init to config in vo_gl and vo_md5 like in the other vo_ modules -- ↵rfelker2002-02-011-1/+1
| | | | | | fixes crash caused by the changeover git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4449 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed obsoleted Terminate_Display_Process, using vo_x11_uninitalex2002-01-311-11/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4441 b3059339-0415-0410-9bf9-f77b7e298cf2
* new info for tuningnick2002-01-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4434 b3059339-0415-0410-9bf9-f77b7e298cf2
* Extensions for video accelerated architecturenick2002-01-261-0/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4353 b3059339-0415-0410-9bf9-f77b7e298cf2
* Xinerama patch number two by attila.atmos42002-01-061-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4018 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move yuv2rgb to postprocessnick2001-11-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2733 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update to new (cleaner, more bugfree, better) aspect api. vo_gl vo_gl2 and ↵atmos42001-10-181-4/+6
| | | | | | vo_xmga are untested! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2250 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use aspect()atmos42001-10-031-11/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2058 b3059339-0415-0410-9bf9-f77b7e298cf2
* now using x11_common stuff for X11 opening and w/h/bpp queryarpi2001-10-011-76/+39
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2042 b3059339-0415-0410-9bf9-f77b7e298cf2
* -fs fixatmos42001-10-011-1/+18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2041 b3059339-0415-0410-9bf9-f77b7e298cf2
* changes according to -utf8 option, draw_osd() function addedatlka2001-08-131-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1502 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed a typo and wrong varname.atmos42001-07-101-1/+1
| | | | git-svn