log libvo/gl_common.c @ 35531:62a39248a55a

age author description
Fri, 14 Sep 2012 14:18:14 +0000 cehoyos gl_common: fix wrong gl_type for uyvy and yuy2 in little endian
Thu, 13 Sep 2012 21:58:38 +0000 reimar gl: Prefer OSX backend over SDL.
Thu, 13 Sep 2012 21:46:59 +0000 reimar Provide a swap buffer function for OS X.
Thu, 13 Sep 2012 19:57:24 +0000 reimar Allow compiling -vo gl with OSX backend even if X11 and SDL are not available.
Thu, 13 Sep 2012 19:22:31 +0000 reimar Use OSX common layer in -vo gl.
Sat, 18 Aug 2012 18:44:13 +0000 reimar Hack to make BGRA work both in GL and GLES.
Sat, 18 Aug 2012 18:19:57 +0000 reimar Internal format for BGRA must be BGRA, not RGBA.
Sat, 18 Aug 2012 15:54:34 +0000 reimar Replace MESA YCBCR support by the Apple variant.
Sun, 12 Aug 2012 17:15:35 +0000 reimar Support interleaving the two frame halves from a 3D video
Fri, 10 Aug 2012 21:12:02 +0000 reimar Use depth textures only if available (MESA + r200 crash otherwise)
Thu, 09 Aug 2012 18:49:45 +0000 reimar Query correct component to get luminance texture bit depth
Wed, 08 Aug 2012 19:18:02 +0000 reimar When the LUMINANCE16 format is less than 14 bit try to use
Tue, 07 Aug 2012 21:39:47 +0000 reimar Add support for depth textures to simplify some experiments.
Tue, 07 Aug 2012 17:46:36 +0000 reimar Work around IMG drivers not being able to parse our shaders.
Sun, 20 May 2012 16:09:56 +0000 reimar Change some texture formats to synonyms that Mesa GLES accepts.
Sun, 20 May 2012 15:41:41 +0000 reimar Make a glGetError function pointer available.
Sat, 31 Mar 2012 21:03:45 +0000 reimar Small fixes to make it easier to compiler for OpenGL ES
Sun, 12 Feb 2012 18:49:07 +0000 reimar vo_sdl: reuse some more sdl_common code.
Tue, 07 Feb 2012 23:04:30 +0000 cehoyos Support displaying 64bit RGB via OpenGL.
Sat, 14 Jan 2012 15:49:54 +0000 reimar Fix vo_gl unsharp filter for chroma.
Fri, 23 Dec 2011 22:34:42 +0000 reimar vo_gl stereo: allow swapping left and right view.
Sat, 10 Dec 2011 20:55:31 +0000 reimar Add highly experimental support for OpenGL ES.
Sat, 10 Dec 2011 20:21:50 +0000 reimar Use glLoadMatrixf. This makes it easier to support OpenGL ES.
Wed, 26 Oct 2011 15:12:35 +0000 diego Add missing mp_msg.h #includes, remove some unnecessary ones.
Wed, 28 Sep 2011 18:52:11 +0000 reimar Remove usage of glColor3f, there is not really a point in it.
Fri, 26 Aug 2011 19:35:46 +0000 reimar Remove pointless pointer indirection for shader program strings.
Fri, 26 Aug 2011 19:24:12 +0000 reimar Hook up -vo gl noise support.
Fri, 26 Aug 2011 18:51:51 +0000 reimar Add disabled feature: noise filter for vo_gl.
Sat, 20 Aug 2011 11:36:30 +0000 reimar Fix disabled code.
Sat, 20 Aug 2011 11:29:23 +0000 reimar Fix spelling.
Thu, 11 Aug 2011 17:45:38 +0000 diego doxygen: drop filename from @file directive
Tue, 21 Jun 2011 19:44:24 +0000 reimar Second GL_YCBCR_MESA format is YVYU, not YUY2.
Wed, 11 May 2011 06:59:51 +0000 reimar Request GL_LUMINANCE16 as internal format for > 8 bit YUV formats.
Tue, 10 May 2011 17:51:39 +0000 reimar Make mp_get_chroma_shift simpler/more generic and add an argument
Sun, 14 Nov 2010 09:12:34 +0000 cboesch Remove most of the NULL pointer check before free all over the code
Mon, 18 Oct 2010 20:44:04 +0000 cigaes Move the read_pnm function into a separate file.
Sun, 10 Oct 2010 11:20:57 +0000 reimar Extract code to read a pnm file into a separate function.
Mon, 05 Jul 2010 19:19:56 +0000 reimar Add initial stereo support to -vo gl.
Sun, 13 Jun 2010 10:42:32 +0000 reimar Dual-license gl_common and vo_gl under the LGPL v2.1 or later as
Sun, 09 May 2010 00:16:46 +0000 reimar Handle chroma texture size becoming 0, e.g. due to bad rounding.
Sun, 25 Apr 2010 10:53:01 +0000 reimar Support for auto-selecting the OpenGL backend.
Sun, 25 Apr 2010 10:44:53 +0000 reimar Add reinitialization support. Necessary for fullscreen on OSX.
Sun, 25 Apr 2010 10:12:39 +0000 reimar Missing space in error message.
Sun, 25 Apr 2010 09:52:01 +0000 reimar Share SDL initialization code.
Sun, 25 Apr 2010 09:24:30 +0000 reimar Fullscreen support for -vo gl using SDL.
Sun, 25 Apr 2010 08:35:35 +0000 reimar Window resizing support for -vo gl with SDL backend.
Sun, 25 Apr 2010 08:17:23 +0000 reimar Add sdl_common file and use it to share the input handling between -vo gl
Sun, 25 Apr 2010 07:32:42 +0000 reimar Use SDL_GL_ProcAddress to work around conflicts between -lGL
Sun, 25 Apr 2010 06:52:13 +0000 reimar Update copyright and email address.
Sun, 25 Apr 2010 06:14:25 +0000 reimar Clarify that the GL_TEXT_FRAGMENT_SHADER_ATI bug workaround is for OSX,
Sat, 24 Apr 2010 22:13:57 +0000 reimar Add workaroound for yuv=7 mode - does hurt speed but not much
Sat, 24 Apr 2010 17:02:50 +0000 reimar Try harder to find linked OpenGL functions.
Sat, 24 Apr 2010 16:49:46 +0000 reimar Some crash-resilience fixes.
Sat, 24 Apr 2010 16:46:47 +0000 reimar First steps to support -vo gl with SDL-based Window handling.
Sun, 04 Apr 2010 16:56:30 +0000 reimar Factor out the YUV->RGB conversion auto-selection and also
Sun, 04 Apr 2010 11:45:05 +0000 reimar Share more code between the two ATI fragment shader YUV to RGB
Sat, 03 Apr 2010 20:31:03 +0000 reimar Try to detect and work around broken glXGetProcAddress on at
Sat, 03 Apr 2010 19:58:06 +0000 reimar Implement OpenGL-based YUV to RGB version for Radeon 9200 class
Sat, 03 Apr 2010 07:12:32 +0000 reimar Indentation fix.
Sat, 03 Apr 2010 07:08:07 +0000 reimar Add mpgl prefix to all OpenGL-related function pointers.
Fri, 12 Mar 2010 17:21:05 +0000 reimar Add newlines to generated fragment program to make both fragment program dump
Thu, 28 Jan 2010 18:06:47 +0000 reimar Try the more specific names first for the SwapInterval function to make it less
Thu, 28 Jan 2010 18:01:19 +0000 reimar glXSwapIntervalEXT is defined to take different arguments from glXSwapIntervalSGI,
Sun, 03 Jan 2010 12:55:09 +0000 reimar Add pointers to a few more standard OpenGL functions to ease future extensions.
Thu, 31 Dec 2009 22:53:25 +0000 reimar Add support for 16-bit per component YUV formats.
Thu, 31 Dec 2009 18:25:35 +0000 reimar Extract functions to generate yuv->rgb matrices and lookup tables into a
Thu, 31 Dec 2009 18:07:37 +0000 reimar Put the colourspace-related variables into a separate struct to ease
Wed, 30 Dec 2009 11:32:24 +0000 reimar Support all planar YUV formats in OpenGL vos.
Sun, 20 Dec 2009 14:32:34 +0000 reimar Change %f to %e in generated fragment programs to avoid losing precision unnecessarily.
Sat, 19 Dec 2009 20:45:34 +0000 reimar Fix a broken indentation.
Sat, 19 Dec 2009 20:44:55 +0000 reimar Enable running fragment programs with YUV_CONVERSION_NONE
Sat, 19 Dec 2009 13:49:44 +0000 reimar Rename GL_* defines to CONFIG_GL_*
Sat, 19 Dec 2009 10:52:32 +0000 reimar Make the check for X11 and WIN32 backends for OpenGL separate.
Wed, 09 Dec 2009 17:50:07 +0000 reimar Use a fallback to make sure the basic OpenGL functions are available instead of
Wed, 09 Dec 2009 17:36:55 +0000 reimar Prefer GLAPIENTRY over APIENTRY, it is the better name and used more by OpenGL headers.
Tue, 08 Dec 2009 23:32:51 +0000 reimar Pass all OpenGL functions through a function pointer indirection.
Tue, 08 Dec 2009 06:42:46 +0000 reimar Very preliminary code to allow selecting the OpenGL backend at runtime.
Sat, 21 Nov 2009 22:30:33 +0000 reimar Move OpenGL-related messages that have large output from MSGL_V to MSGL_DGB2.
Sat, 21 Nov 2009 22:27:40 +0000 reimar Add support for Windows OpenGL rendering onto a device instead of into a window.
Sat, 21 Nov 2009 18:59:52 +0000 reimar Support RGB48NE format in OpenGL vos (only really useful once they are modified
Fri, 20 Nov 2009 23:36:16 +0000 reimar Use calloc to allocate a rather large (currently 32k) array instead of
Sun, 27 Sep 2009 14:24:15 +0000 reimar Also check GLX client and server strings for extensions
Wed, 13 May 2009 02:58:57 +0000 diego whitespace cosmetics: Remove all trailing whitespace.
Thu, 23 Apr 2009 10:18:32 +0000 reimar Change getdladdr to always use dlopen, dlsym and then dlclose.
Mon, 05 Jan 2009 14:48:03 +0000 diego Add missing 'void' keyword to parameterless function declarations.
Fri, 05 Dec 2008 22:16:45 +0000 reimar Add experimental support for glXAllocateMemoryMESA
Fri, 05 Dec 2008 15:36:54 +0000 reimar Add support for YCBCR MESA texture format to vo_gl.
Wed, 03 Dec 2008 09:58:11 +0000 reimar Cosmetics, whitespace and "... == NULL" to "!..."
Sat, 15 Nov 2008 17:45:55 +0000 reimar Replace some of the different inconsistent XGetGeometry uses by a
Thu, 06 Nov 2008 18:39:37 +0000 reimar For fragment programs, check GL_MAX_TEXTURE_IMAGE_UNITS instead of GL_MAX_TEXTURE_UNITS.
Sat, 20 Sep 2008 19:41:13 +0000 reimar Fix glAdjustAlignment parameter in glCreateClearTex
Sat, 20 Sep 2008 17:48:01 +0000 reimar Change glCreateClearTex to use the same host data format as later uploads.
Sun, 07 Sep 2008 14:09:51 +0000 diego Replace casual GPL notices by proper license headers.
Sat, 24 May 2008 12:10:08 +0000 reimar Simplify yuv to rgb conversion matrix stuff.
Sat, 24 May 2008 11:31:49 +0000 reimar Cosmetics: align
Sat, 24 May 2008 11:25:57 +0000 reimar update doxygen comments
Sat, 24 May 2008 11:19:38 +0000 reimar Add a filter strength parameter for blurring/sharpening scalers.
Sat, 24 May 2008 11:03:00 +0000 reimar Use a struct instead of a huge and further growing argument list.
Wed, 12 Mar 2008 15:17:06 +0000 reimar Fix and simplify lscale=2 (bicub_x) scaler, produced funny
Mon, 11 Feb 2008 19:37:47 +0000 reimar Try harder to find OpenGL functions on Windows.
Tue, 29 Jan 2008 18:00:20 +0000 reimar Allow for larger fragment programs.
Sat, 19 Jan 2008 14:20:56 +0000 reimar Fix a coefficient for lscale=5 OpenGL mode
Sat, 19 Jan 2008 11:09:33 +0000 reimar Simplify and silence lots of warnings
Sat, 19 Jan 2008 10:10:05 +0000 reimar Fix using both lscale and cscale 4
Fri, 18 Jan 2008 19:05:29 +0000 reimar Add a fragment program for 5x5 unsharp masking
Fri, 18 Jan 2008 18:38:02 +0000 reimar Remove leftover backslash
Fri, 18 Jan 2008 18:37:18 +0000 reimar Simplify
Fri, 18 Jan 2008 18:34:10 +0000 reimar Use the same unsharp filter template for 2D and RECT textures
Wed, 16 Jan 2008 20:36:01 +0000 reimar Fix OpenGL unsharp filter
Tue, 15 Jan 2008 18:14:00 +0000 reimar Create/allocate conversion textures before scaler textures.
Tue, 15 Jan 2008 17:59:20 +0000 reimar Add experimental unsharp-mask OpenGL scaler. Certainly not yet perfect.
Tue, 15 Jan 2008 17:51:21 +0000 reimar Add a forgotten case to create_scaler_textures, avoids an incorrect warning.
Thu, 18 Oct 2007 12:39:59 +0000 reimar Fix typo in comment
Tue, 04 Sep 2007 10:46:31 +0000 reimar Add a bicubic scaler that needs a lot more instruction but no
Mon, 03 Sep 2007 13:18:26 +0000 reimar Fix compilation after patch to remove global vo_hdc
Mon, 03 Sep 2007 08:44:36 +0000 reimar Remove global vo_hdc, since it is recommended to release a DC as soon as possible.
Sun, 11 Mar 2007 14:59:08 +0000 reimar Add a new GPU-based scaling method to vo gl
Sun, 25 Feb 2007 16:07:51 +0000 reimar The fragment program functions are and most likely always will be ARB-only,
Sun, 17 Dec 2006 12:33:09 +0000 reimar Fix compilation under MinGW with X11 enabled
Sat, 25 Nov 2006 13:34:55 +0000 reimar Avoid void * arithmetic
Fri, 17 Nov 2006 10:03:33 +0000 reimar Put files fully owned by my under GPL v2 "or later"
Fri, 28 Jul 2006 19:37:49 +0000 reimar Some more documentation
Thu, 27 Jul 2006 17:35:06 +0000 reynaldo marks some read-only char* inside structs as const, patch by Stefan Huehner, stefan At huehner-org
Sun, 23 Jul 2006 15:19:59 +0000 reimar Simplify and and speedup generation of yuv2rgb and gamma map tables
Mon, 10 Jul 2006 12:06:41 +0000 reimar Fix off-by-one error for negative strides (flipped image)
Sat, 08 Jul 2006 19:23:26 +0000 reimar Support for 16 bit ppms
Sun, 02 Jul 2006 03:59:36 +0000 reynaldo rm unnecesary casts from void* - part 2
Thu, 22 Jun 2006 17:02:42 +0000 reimar reduce number of texture indirections to support older cards
Tue, 13 Jun 2006 19:55:20 +0000 reimar Do not use border for bicubic filter helper texture, since it will cause ATI
Mon, 12 Jun 2006 16:25:05 +0000 reimar Optimize bicubic filtering
Sun, 11 Jun 2006 10:08:40 +0000 reimar fix image adjustment (brightness etc.) for yuv=6
Thu, 08 Jun 2006 19:02:56 +0000 reimar Add yuv to rgb conversion using a 3D lookup texture
Thu, 08 Jun 2006 18:50:11 +0000 reimar loadGPUProgram function to load fragment program with error checking and statistics
Wed, 07 Jun 2006 14:07:32 +0000 reimar Add bicubic texture scaling
Wed, 07 Jun 2006 13:24:54 +0000 reimar Reworked YUV2RGB fragment program setup in preparation for upcoming patches
Mon, 05 Jun 2006 11:45:33 +0000 reimar Move/add checks to avoid crashes and make error messages less confusing
Mon, 05 Jun 2006 11:26:33 +0000 reimar add (currently unused) lookup for glTexImage3D
Mon, 05 Jun 2006 11:23:51 +0000 reimar more GL extension checks to avoid crashes with Mesa
Sat, 13 May 2006 23:06:18 +0000 reimar show OpenGL extension string with -v, very helpful for debugging
Sat, 13 May 2006 23:03:19 +0000 reimar glBindTexture might be called glBindTextureEXT as well
Fri, 21 Apr 2006 18:46:17 +0000 reimar minor fixes: get rid of pointless inline attributes and some additional checks
Thu, 09 Feb 2006 14:08:03 +0000 rathann Patch by Stefan Huehner / stefan % huehner ! org \
Tue, 17 Jan 2006 20:25:42 +0000 reimar avoid Solaris 10 compile error with gcc 3.4.5
Sat, 07 Jan 2006 19:56:55 +0000 reimar avoid some gcc 4 compiler warnings
Sat, 07 Jan 2006 19:53:51 +0000 reimar Less ugly and easier to extend getFunctions
Sun, 18 Dec 2005 12:04:08 +0000 reimar support negative stride (flipping) in vo_gl.
Tue, 06 Dec 2005 22:23:06 +0000 reimar Get rid of most #ifdefs
Sat, 19 Nov 2005 14:00:35 +0000 reimar Also parse glX extension string, makes -vo gl:swapinterval work again on linux
Sun, 13 Nov 2005 21:53:26 +0000 reimar disable *SwapInterval function when extensions are missing, since it
Mon, 07 Nov 2005 21:29:38 +0000 reimar do not call glFinish when we do not have a context
Mon, 31 Oct 2005 13:56:16 +0000 reimar More consistent and sane types. Also avoids some gcc 4 warnings.
Mon, 03 Oct 2005 14:25:04 +0000 reimar Make fragment program snprintf less confusing.
Sat, 01 Oct 2005 12:49:28 +0000 reimar Support for ATI specific YUV->RGB conversion.
Sun, 25 Sep 2005 16:41:28 +0000 reimar fix/improve code doxumentation. Also group gl_common functions in several
Sun, 25 Sep 2005 16:30:00 +0000 reimar support loading a texture from a PPM file
Sun, 25 Sep 2005 16:17:03 +0000 reimar contrast 0 should lead to a grey, not a black image
Sun, 25 Sep 2005 16:12:01 +0000 reimar get rid of global getProcAddress variable
Sun, 25 Sep 2005 16:07:54 +0000 reimar Support rectangular texture in fragment programs
Sun, 25 Sep 2005 13:56:42 +0000 reimar texture units do not need to be explicitly enabled when using a fragment
Wed, 14 Sep 2005 22:08:04 +0000 reimar hardware color-space conversion for vo_gl and vo_gl2
Tue, 13 Sep 2005 15:56:32 +0000 reimar Improved glFindFormat
Mon, 12 Sep 2005 15:15:28 +0000 reimar Use GL_CLAMP_TO_EDGE instead of GL_CLAMP to avoid border texels being sampled.
Mon, 12 Sep 2005 14:51:30 +0000 reimar Fix border color (forgot to divide by 255.0).
Fri, 09 Sep 2005 17:08:26 +0000 reimar Set texture border color to avoid weird border colors in some rare cases.
Fri, 09 Sep 2005 15:54:09 +0000 reimar Fix a typo in a comment
Thu, 25 Aug 2005 12:45:57 +0000 reimar Fix texture format variable types. Internal format is GLint, others are GLenum
Fri, 19 Aug 2005 12:09:44 +0000 reimar Fix crash in windows
Fri, 19 Aug 2005 09:31:02 +0000 reimar automatic vsync enabling for vo_gl.
Tue, 16 Aug 2005 17:57:53 +0000 reimar use GenBuffers to get a buffer number instead of hardcoding 1.
Sun, 14 Aug 2005 19:38:16 +0000 reimar extra check for glUploadTex to avoid a possible hang.
Sun, 14 Aug 2005 19:24:49 +0000 reimar remove/move some unused headers/variables/code
Sun, 14 Aug 2005 13:44:14 +0000 reimar Helper function for drawing texture and general cleanup of vo_gl2.c
Wed, 27 Jul 2005 17:22:24 +0000 reimar More helper functions/defines and bugfixes
Tue, 26 Jul 2005 18:28:51 +0000 reimar Use dlsym to get glXGetProcAddress, only way to (hopefully) make it
Tue, 26 Jul 2005 13:47:18 +0000 reimar OpenGL fixes for windows and vo_gl.c ported to windows.
Tue, 26 Jul 2005 10:16:18 +0000 reimar support for rectangular and streaming textures.
Wed, 29 Dec 2004 14:33:40 +0000 reimar Doxygen comments improved
Sat, 11 Dec 2004 16:57:42 +0000 reimar Improving gl2 under windows, moving some functionality to gl_common
Thu, 02 Dec 2004 23:55:08 +0000 reimar Make the context not current before destroying it.
Wed, 01 Dec 2004 17:05:58 +0000 reimar More similar code from gl and gl2 moved to gl_common
Mon, 01 Nov 2004 20:24:37 +0000 reimar fullscreen fixes and GUI support for vo_gl
Sun, 17 Oct 2004 13:28:22 +0000 reimar added gl_common for code used by both vo_gl.c and vo_gl2.c.