summaryrefslogtreecommitdiffstats
path: root/include/GL
Commit message (Collapse)AuthorAgeFilesLines
* dri_interface: Introduce DRI tokens for the texBuffer texture formatsKristian Høgsberg2010-02-092-4/+7
| | | | | | This used to take GLX tokens, but the DRI interface can't depend on GLX defines. We fix this by introducing DRI tokens that have the same value as the GLX texture format tokens.
* mesa: misc GLX_INTEL_swap_event fixesRobert Bragg2010-01-252-5/+9
| | | | | | | | Fixup a few issues found through testing: - update GLX names to match glproto - register DRI2WireToEvent so it actually gets called Signed-off-by: Robert Bragg <[email protected]>
* Sun compilers now support some gcc __attribute__ valuesAlan Coopersmith2010-01-191-1/+2
| | | | | | | | | | | Sun cc 5.9 and later (__SUNPRO_C >= 0x590) support __attribute__ calls for aligned, always_inline, noinline, pure, const, and malloc. This commit includes updates to files that were regenerated by gl_XML.py after adding the __SUNPRO_C checks to it Signed-off-by: Alan Coopersmith <[email protected]> Signed-off-by: Brian Paul <[email protected]>
* Merge branch 'master' of ssh://people.freedesktop.org/~jbarnes/mesaJesse Barnes2010-01-113-1/+40
|\ | | | | | | | | | | Conflicts due to DRI1 removal: src/mesa/drivers/dri/intel/intel_context.c src/mesa/drivers/dri/intel/intel_screen.c
| * DRI2/GLX: add INTEL_swap_event supportJesse Barnes2010-01-082-0/+27
| | | | | | | | | | | | | | Add event support for the GLX swap buffers event, along with DRI2 protocol support for generating GLX swap buffers events in the direct rendered case. Signed-off-by: Jesse Barnes <[email protected]>
| * DRI2: add SwapBuffers supportJesse Barnes2010-01-081-1/+13
| | | | | | | | | | | | | | | | | | | | Support the new DRI2 protocol request, DRI2SwapBuffers, in both direct and indirect rendering context. This request allows the display server to optimize back->front swaps (e.g. through page flipping) and allows us to more easily support other GLX features like swap interval and the OML sync extension in DRI2. Signed-off-by: Jesse Barnes <[email protected]>
* | glew: Update to version 1.5.2.José Fonseca2010-01-063-27/+1265
|/
* mesa: Avoid WIN32_LEAN_AND_MEAN re-definition.José Fonseca2010-01-011-0/+2
|
* glut: Silent the glut*_ATEXIT_HACK defined but not used warnings.José Fonseca2010-01-011-6/+3
| | | | | | There are two ways to silent this: put inline keyword, or reimplement the hack as a #define. inline keyword actually varies slightly with compiler so I've opted by the latter.
* Regenerate gl_mangle.h.Tom Fogal2009-12-231-0/+43
| | | | Signed-off-by: Brian Paul <[email protected]>
* gl: added mangled glXGetProcAddressARB defineTom Fogal2009-11-191-0/+1
| | | | Signed-off-by: Brian Paul <[email protected]>
* gl: updated wglext.h to version 17Brian Paul2009-10-231-5/+40
|
* gl: updated glxext.h to version 25Brian Paul2009-10-231-4/+92
|
* gl: updated glext.h to version 56Brian Paul2009-10-231-3/+215
|
* mesa: regenerated gl_mangle.h fileBrian Paul2009-10-081-0/+42
|
* gl: restore some PFNGL typedefsBrian Paul2009-09-151-0/+15
| | | | | | | Commit d33c315d9e32584dea12cea683795b498a9f5eca removed a few too many typedefs. We need the typedefs in glext.h which are protected by #ifdef GL_VERSION_1_2 but we can exclude the ones protected by GL_VERSION_1_2_DEPRECATED.
* gl: upgrade wglext.h to version 15Brian Paul2009-08-031-4/+15
|
* gl: upgrade glxext.h to version 23Brian Paul2009-08-031-3/+15
|
* gl: upgrade glext.h to version 54Brian Paul2009-08-031-51/+515
|
* Merge branch 'mesa_7_5_branch'Brian Paul2009-06-241-3/+3
|\ | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: src/mesa/drivers/dri/i915/i915_tex_layout.c src/mesa/drivers/dri/i965/brw_wm_glsl.c src/mesa/drivers/dri/intel/intel_buffer_objects.c src/mesa/drivers/dri/intel/intel_pixel_bitmap.c src/mesa/drivers/dri/intel/intel_pixel_draw.c src/mesa/main/enums.c src/mesa/main/texstate.c src/mesa/vbo/vbo_exec_array.c
| * glew: correct misspelling of glFramebufferTextureLayerKeith Whitwell2009-06-181-3/+3
| | | | | | | | | | This was misspelt as glFramebufferTexturLayer (missing e), causing conflicts with the correctly spelt version in glext.h and extfuncs.h.
* | mesa: regenerated gl_mange.h fileBrian Paul2009-06-151-1/+33
| |
* | mesa: Fix wglext.h prototypes.Michal Krol2009-06-051-2/+2
| |
* | mesa: update wglext.h to latest versionBrian Paul2009-06-041-1/+11
| |
* | mesa: remove PFNGL typedefs that are in glext.hBrian Paul2009-06-041-85/+2
| |
* | mesa: upgrade glext.h to version 52Brian Paul2009-06-042-182/+312
|/ | | | | A number of the PFNGL* function typedefs are now in glext.h and must be omitted from the gl.h file. gl.h will be pruned in the next commit.
* GNU/Hurd fixesSamuel Thibault2009-04-241-1/+1
| | | | | | | | | | Here is a couple of fixes for GNU/Hurd: - dri_interface.h: no libdrm support either. - configure.ac: - GNU/Hurd is a GNU OS with _GNU_SOURCE and PTHREADS. - GNU needs a couple of flags like other OSes Signed-off-by: Dan Nicholson <[email protected]>
* DRI2: Implement interface for drivers to access DRI2GetBuffersWithFormatIan Romanick2009-04-241-1/+27
| | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
* mesa: Don't define WGL_ARB_extensions_string in mesa_wgl.h.José Fonseca2009-04-101-7/+0
| | | | It breaks wglext.h as it doesn't define PFNWGLGETEXTENSIONSSTRINGARBPROC.
* DRI2: Provide an interface for drivers to flush front-buffer renderingIan Romanick2009-04-091-1/+14
| | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kristian Høgsberg <[email protected]>
* gl: add new OGL 3.1 enums to glext.hRoland Scheidegger2009-03-281-0/+18
| | | | This is just temporary until the upstream source is updated.
* gl: update glext.h to version 48Roland Scheidegger2009-03-281-0/+78
|
* gl: update include/GL/glext.h to version 48Brian Paul2009-03-251-10/+52
|
* Fix DRI2 accelerated EXT_texture_from_pixmap with GL_RGB format.Eric Anholt2009-03-202-2/+18
| | | | | | | | | | | | | | This requires upgrading the interface so that the argument to glXBindTexImageEXT isn't just dropped on the floor. Note that this only fixes the accelerated path on Intel, as Mesa's texture format support is missing x8r8g8b8 support (right now, GL_RGB textures get uploaded as a8r8gb8, but in this case we're not doing the upload so we can't really work around it that way). Fixes bugs with compositors trying to use shaders that use alpha channels, on windows without a valid alpha channel. Bug #19910 and likely others as well. Reviewed-by: Ian Romanick <[email protected]>
* gl: added include/GL/wglext.hBrian Paul2009-03-051-0/+813
|
* gl: update glext.h to version 46Brian Paul2009-03-051-4/+68
|
* fix incorrect prototype for glMapBufferRange() in glext.hBrian Paul2009-03-041-2/+2
| | | | Needs to return void *
* glx: add support for a reallyFlush() function before swap occurs.Alan Hourihane2009-02-231-0/+11
|
* mesa: regenerated gl_mange.h fileBrian Paul2009-02-211-0/+298
|
* mesa: bump gl.h version comment to 7.7 (bug 20170)Brian Paul2009-02-181-1/+1
|
* glut: Fix broken font symbols when gcc visibility attributes used.José Fonseca2009-02-121-1/+1
|
* glut: Don't try to guess system headers.José Fonseca2009-02-121-17/+3
| | | | Just include them, especially such basic header as stdlib.h
* glut: Automatic library linkage only on MSVC.José Fonseca2009-01-241-1/+1
|
* glut: Use a new define GLUT_STATIC to distinguish static builds.José Fonseca2009-01-241-2/+2
| | | | | | | | | | | | _DLL is defined by MSVC when building against a DLL version of the CRT library. It bears no relation to whether we are building a DLL or not. That is, we can build a DLL against a static CRT, or a static lib against a dynamicaly linked CRT. See more detail at http://msdn.microsoft.com/en-us/library/2kzt1wy3.aspx This gets DLL version of glut linking correctly both with MinGW and MSVC. PS: GL/gl.h (and others) must be fixed too.
* glut: Ensure windows.h is included on windows.José Fonseca2009-01-241-87/+4
| | | | | | Trying to override windows headers is a recipe for disaster. Especially when using with glew. Also the windows headers in recent MinGW are complete enough that they don't need patching up.
* glew: Initial import.José Fonseca2009-01-233-0/+14824
| | | | From glew 1.5.1 release.
* glut: Do not rely on GLAPIENTRY symbol.José Fonseca2009-01-231-3/+10
| | | | | | | | | | | | | | | | | GLEW does some defining/undefining of GLAPIENTRY making it unreliable. GLEW should also be fixed, but removing the dependency on this symbol. This also restores the ability for GLUT to be used with -fvisibility=hidden. The downside of this is that ld warns of: Warning: size of symbol `glutBitmapXXXXX' changed from 4 in glut_xxx.o to 16 in glut_xxxx.o Due to the fonts being declared void * (*4 bytes), but defined as 16byte static structure. I'll fix that in a later commit. See also commits: - f321f16e83cae427d6496c11955fd1c898d0395c - d084982240bafba0169c4a6cacf02d45d6cfd8c1
* glut: Don't include mesa_wgl.h on MinGW builds.José Fonseca2009-01-221-1/+4
| | | | | windows.h header recent MinGW versions already declare the WGL API, and including mesa_wgl.h actually cause build failures.
* dri: add fake front definitionsAlan Hourihane2009-01-191-0/+2
|
* Merge commit 'origin/master' into gallium-0.2Alan Hourihane2009-01-148-1084/+3
|\ | | | | | | | | | | | | | | | | | | | | Conflicts: docs/install.html docs/relnotes-7.3.html src/mesa/shader/slang/slang_codegen.c src/mesa/shader/slang/slang_compile.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_preprocess.c src/mesa/shader/slang/slang_preprocess.h