aboutsummaryrefslogtreecommitdiffhomepage
path: root/libvo/vo_gl.c
Commit message (Collapse)AuthorAge
* Fix single-black-pixel-in-upper-left-corner bug (how do people notice a singleGravatar reimar2006-10-24
| | | | | | | black pixel?? Amazing...). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20436 b3059339-0415-0410-9bf9-f77b7e298cf2
* EOSD performance debugging info.Gravatar reimar2006-10-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20090 b3059339-0415-0410-9bf9-f77b7e298cf2
* Whitespace-only cosmeticsGravatar reimar2006-09-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19945 b3059339-0415-0410-9bf9-f77b7e298cf2
* Aggregate multiple small EOSD textures into one large since hundreds ofGravatar reimar2006-09-22
| | | | | | | | | texture creates are very slow. Might cause artefacts with scaled OSD since large textures are not cleared each time. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19944 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: move curtex++ out of for () into code body, needed for coming patchGravatar reimar2006-09-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19943 b3059339-0415-0410-9bf9-f77b7e298cf2
* use eosdDispList != 0 to check if eosd should be drawn instead of eosdtexCnt > 0Gravatar reimar2006-09-22
| | | | | | | in preparation of upcoming patch git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19942 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make genEOSD behaviour with NULL data more explicitGravatar reimar2006-09-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19941 b3059339-0415-0410-9bf9-f77b7e298cf2
* Modify clearEOSD to make experimenting easierGravatar reimar2006-09-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19940 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove useless zero-initialization code.Gravatar reimar2006-09-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19939 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: reindent, remove tabs and break overlong lines.Gravatar reimar2006-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19586 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: fix indentation after last patchGravatar reimar2006-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19585 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hardware EOSD (ass) support.Gravatar reimar2006-08-28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19584 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable Y800 colorspace support, otherwise mplayer uses it even when it's ↵Gravatar reimar2006-08-08
| | | | | | not supposed to. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19362 b3059339-0415-0410-9bf9-f77b7e298cf2
* vo_gl can do flipping without special filterGravatar reimar2006-07-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19001 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix negative stride handling in -dr caseGravatar reimar2006-07-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19000 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of left-over incorrect UnmapBuffer hackGravatar reimar2006-07-10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18999 b3059339-0415-0410-9bf9-f77b7e298cf2
* customtrect -vo gl suboptionGravatar reimar2006-07-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18968 b3059339-0415-0410-9bf9-f77b7e298cf2
* More helpful ProgramEnvParameters.Gravatar reimar2006-07-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18965 b3059339-0415-0410-9bf9-f77b7e298cf2
* Improve windows gui supportGravatar reimar2006-07-08
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18954 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not assign same texture number to GL_TEXTURE_2D and GL_TEXTURE_RECT,Gravatar reimar2006-07-04
| | | | | | | this can also cause problems. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18901 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 2Gravatar reynaldo2006-07-02
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of unused variableGravatar reimar2006-07-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18877 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make sure all texture units have a different texture bound.Gravatar reimar2006-07-01
| | | | | | | Should fix weird behaviour with e.g. yuv=4:lscale=1 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18876 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove pointless and sometimes incorrect lookupTex stuffGravatar reimar2006-06-22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18791 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce number of OpenGL state changes when drawing OSD by first drawing alpha.Gravatar reimar2006-06-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18722 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document lscale/cscale in -vo gl:help messageGravatar reimar2006-06-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18698 b3059339-0415-0410-9bf9-f77b7e298cf2
* loadGPUProgram function to load fragment program with error checking and ↵Gravatar reimar2006-06-08
| | | | | | statistics git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reworked YUV2RGB fragment program setup in preparation for upcoming patchesGravatar reimar2006-06-07
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18620 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move/add checks to avoid crashes and make error messages less confusingGravatar reimar2006-06-05
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18580 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix and improve xinerama supportGravatar reimar2006-04-16
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18117 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixes and cleanup for windows fullscreen switching (restore old position,Gravatar reimar2006-04-12
| | | | | | | fullscreen on current monitor). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18080 b3059339-0415-0410-9bf9-f77b7e298cf2
* support custom OSD colour for vo_gl.c. Based on patch by Tomas Janousek tomi ↵Gravatar reimar2006-03-26
| | | | | | at nomi cz git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17957 b3059339-0415-0410-9bf9-f77b7e298cf2
* extra checks on size of OSD parts (though IMHO these values should never be bad)Gravatar reimar2006-03-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17876 b3059339-0415-0410-9bf9-f77b7e298cf2
* do not call glDeleteTextures with 0 count, Xgl does not like it.Gravatar reimar2006-03-15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17872 b3059339-0415-0410-9bf9-f77b7e298cf2
* Patch by Stefan Huehner / stefan % huehner ! org \Gravatar rathann2006-02-09
| | | | | | | | | | | | | | | | | | | | | | patch replaces '()' for the correct '(void)' in function declarations/prototypes which have no parameters. The '()' syntax tell thats there is a variable list of arguments, so that the compiler cannot check this. The extra CFLAG '-Wstrict-declarations' shows those cases. Comments about a similar patch applied to ffmpeg: That in C++ these mean the same, but in ANSI C the semantics are different; function() is an (obsolete) K&R C style forward declaration, it basically means that the function can have any number and any types of parameters, effectively completely preventing the compiler from doing any sort of type checking. -- Erik Slagter Defining functions with unspecified arguments is allowed but bad. With arguments unspecified the compiler can't report an error/warning if the function is called with incorrect arguments. -- Måns Rullgård git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
* support negative stride (flipping) in vo_gl.Gravatar reimar2005-12-18
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17221 b3059339-0415-0410-9bf9-f77b7e298cf2
* signed division must be used for calculation vo_dx and vo_dy.Gravatar reimar2005-12-07
| | | | | | | 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
* Must use glFlush when doublebuffering is not usedGravatar reimar2005-12-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17118 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of most #ifdefsGravatar reimar2005-12-06
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17117 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use slice-height 16 as default for yuv colorspaces (only relevant if decoderGravatar reimar2005-11-22
| | | | | | | does not support slice rendering). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17028 b3059339-0415-0410-9bf9-f77b7e298cf2
* Enable border toggling for gl and gl2 under windows.Gravatar reimar2005-11-17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17007 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l typo, nomanyfmts should be used against playback problems.Gravatar reimar2005-10-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16881 b3059339-0415-0410-9bf9-f77b7e298cf2
* More consistent and sane types. Also avoids some gcc 4 warnings.Gravatar reimar2005-10-31
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16880 b3059339-0415-0410-9bf9-f77b7e298cf2
* Be less verbose.Gravatar reimar2005-10-13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16752 b3059339-0415-0410-9bf9-f77b7e298cf2
* documentation update.Gravatar reimar2005-10-01
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16627 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix/improve code doxumentation. Also group gl_common functions in severalGravatar reimar2005-09-25
| | | | | | | doxygen modules git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16596 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow specifying a custom (ppm) texture for texture unit 3Gravatar reimar2005-09-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16594 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support rectangular texture in fragment programsGravatar reimar2005-09-25
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16587 b3059339-0415-0410-9bf9-f77b7e298cf2
* Several bugfixes:Gravatar reimar2005-09-25
| | | | | | | | | black OSD border with scaled-osd draw only used parts of image (looks weird with equalizer controls otherwise) clear borders when switching to fullscreen when using -nodouble git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16585 b3059339-0415-0410-9bf9-f77b7e298cf2
* hardware color-space conversion for vo_gl and vo_gl2Gravatar reimar2005-09-14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16489 b3059339-0415-0410-9bf9-f77b7e298cf2