summaryrefslogtreecommitdiff
path: root/include/GL
AgeCommit message (Collapse)Author
2010-01-19Sun compilers now support some gcc __attribute__ valuesAlan Coopersmith
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 <alan.coopersmith@sun.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-11Merge branch 'master' of ssh://people.freedesktop.org/~jbarnes/mesaJesse Barnes
Conflicts due to DRI1 removal: src/mesa/drivers/dri/intel/intel_context.c src/mesa/drivers/dri/intel/intel_screen.c
2010-01-08DRI2/GLX: add INTEL_swap_event supportJesse Barnes
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 <jbarnes@virtuousgeek.org>
2010-01-08DRI2: add SwapBuffers supportJesse Barnes
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 <jbarnes@virtuousgeek.org>
2010-01-06glew: Update to version 1.5.2.José Fonseca
2010-01-01mesa: Avoid WIN32_LEAN_AND_MEAN re-definition.José Fonseca
2010-01-01glut: Silent the glut*_ATEXIT_HACK defined but not used warnings.José Fonseca
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.
2009-12-23Regenerate gl_mangle.h.Tom Fogal
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-19gl: added mangled glXGetProcAddressARB defineTom Fogal
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-23gl: updated wglext.h to version 17Brian Paul
2009-10-23gl: updated glxext.h to version 25Brian Paul
2009-10-23gl: updated glext.h to version 56Brian Paul
2009-10-08mesa: regenerated gl_mangle.h fileBrian Paul
2009-09-15gl: restore some PFNGL typedefsBrian Paul
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.
2009-08-03gl: upgrade wglext.h to version 15Brian Paul
2009-08-03gl: upgrade glxext.h to version 23Brian Paul
2009-08-03gl: upgrade glext.h to version 54Brian Paul
2009-06-24Merge branch 'mesa_7_5_branch'Brian Paul
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
2009-06-18glew: correct misspelling of glFramebufferTextureLayerKeith Whitwell
This was misspelt as glFramebufferTexturLayer (missing e), causing conflicts with the correctly spelt version in glext.h and extfuncs.h.
2009-06-15mesa: regenerated gl_mange.h fileBrian Paul
2009-06-05mesa: Fix wglext.h prototypes.Michal Krol
2009-06-04mesa: update wglext.h to latest versionBrian Paul
2009-06-04mesa: remove PFNGL typedefs that are in glext.hBrian Paul
2009-06-04mesa: upgrade glext.h to version 52Brian Paul
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.
2009-04-24GNU/Hurd fixesSamuel Thibault
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 <dbn.lists@gmail.com>
2009-04-24DRI2: Implement interface for drivers to access DRI2GetBuffersWithFormatIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
2009-04-10mesa: Don't define WGL_ARB_extensions_string in mesa_wgl.h.José Fonseca
It breaks wglext.h as it doesn't define PFNWGLGETEXTENSIONSSTRINGARBPROC.
2009-04-09DRI2: Provide an interface for drivers to flush front-buffer renderingIan Romanick
Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kristian Høgsberg <krh@redhat.com>
2009-03-28gl: add new OGL 3.1 enums to glext.hRoland Scheidegger
This is just temporary until the upstream source is updated.
2009-03-28gl: update glext.h to version 48Roland Scheidegger
2009-03-25gl: update include/GL/glext.h to version 48Brian Paul
2009-03-20Fix DRI2 accelerated EXT_texture_from_pixmap with GL_RGB format.Eric Anholt
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 <ian.d.romanick@intel.com>
2009-03-05gl: added include/GL/wglext.hBrian Paul
2009-03-05gl: update glext.h to version 46Brian Paul
2009-03-04fix incorrect prototype for glMapBufferRange() in glext.hBrian Paul
Needs to return void *
2009-02-23glx: add support for a reallyFlush() function before swap occurs.Alan Hourihane
2009-02-21mesa: regenerated gl_mange.h fileBrian Paul
2009-02-18mesa: bump gl.h version comment to 7.7 (bug 20170)Brian Paul
2009-02-12glut: Fix broken font symbols when gcc visibility attributes used.José Fonseca
2009-02-12glut: Don't try to guess system headers.José Fonseca
Just include them, especially such basic header as stdlib.h
2009-01-24glut: Automatic library linkage only on MSVC.José Fonseca
2009-01-24glut: Use a new define GLUT_STATIC to distinguish static builds.José Fonseca
_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.
2009-01-24glut: Ensure windows.h is included on windows.José Fonseca
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.
2009-01-23glew: Initial import.José Fonseca
From glew 1.5.1 release.
2009-01-23glut: Do not rely on GLAPIENTRY symbol.José Fonseca
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
2009-01-22glut: Don't include mesa_wgl.h on MinGW builds.José Fonseca
windows.h header recent MinGW versions already declare the WGL API, and including mesa_wgl.h actually cause build failures.
2009-01-19dri: add fake front definitionsAlan Hourihane
2009-01-14Merge commit 'origin/master' into gallium-0.2Alan Hourihane
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
2009-01-10mesa: remove deprecated headers from Makefile.amBrian Paul
2009-01-10mesa: deprecate GL/amesa.h header (allegro driver)Brian Paul