summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)AuthorFilesLines
2010-01-19Sun compilers now support some gcc __attribute__ valuesAlan Coopersmith1-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 <alan.coopersmith@sun.com> Signed-off-by: Brian Paul <brianp@vmware.com>
2010-01-11Merge branch 'master' of ssh://people.freedesktop.org/~jbarnes/mesaJesse Barnes3-1/+40
Conflicts due to DRI1 removal: src/mesa/drivers/dri/intel/intel_context.c src/mesa/drivers/dri/intel/intel_screen.c
2010-01-11st/vega: Fix breakage from -fvisibility=hidden.Chia-I Wu1-0/+5
Mark VG and VGU functions as public. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-10gallium: Provide alternative stdint.h and stdbool.h C99 headers, instead of ↵José Fonseca2-0/+165
ad-hoc definitions. Everybody is using the C99's integer types. Everybody except Microsoft, which in turns means everybody is including their own definitions of C99 integer types for MSVC, causing duplicate definitions when linking two projects. This is the case of building Gallium and LLVM with MSVC. Shipping alternative stdint.h and stdbool.h headers for MSVC allows us to share a single definition. It also removes clutter from the Gallium headers.
2010-01-08DRI2/GLX: add INTEL_swap_event supportJesse Barnes2-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 <jbarnes@virtuousgeek.org>
2010-01-08DRI2: add SwapBuffers supportJesse Barnes1-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 <jbarnes@virtuousgeek.org>
2010-01-06glew: Update to version 1.5.2.José Fonseca3-27/+1265
2010-01-05egl: Fix breakage from -fvisibility=hidden.Chia-I Wu1-0/+5
Mark EGL API and driver functions as PUBLIC. Signed-off-by: Chia-I Wu <olvaffe@gmail.com>
2010-01-01mesa: Avoid WIN32_LEAN_AND_MEAN re-definition.José Fonseca1-0/+2
2010-01-01glut: Silent the glut*_ATEXIT_HACK defined but not used warnings.José Fonseca1-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.
2009-12-23Regenerate gl_mangle.h.Tom Fogal1-0/+43
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-11-19gl: added mangled glXGetProcAddressARB defineTom Fogal1-0/+1
Signed-off-by: Brian Paul <brianp@vmware.com>
2009-10-23gl: updated wglext.h to version 17Brian Paul1-5/+40
2009-10-23gl: updated glxext.h to version 25Brian Paul1-4/+92
2009-10-23gl: updated glext.h to version 56Brian Paul1-3/+215
2009-10-08mesa: regenerated gl_mangle.h fileBrian Paul1-0/+42
2009-09-15gl: restore some PFNGL typedefsBrian Paul1-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.
2009-09-09Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul1-1/+2
Conflicts: Makefile configs/default progs/glsl/Makefile src/gallium/auxiliary/util/u_simple_shaders.c src/gallium/state_trackers/glx/xlib/xm_api.c src/mesa/drivers/dri/i965/brw_draw_upload.c src/mesa/drivers/dri/i965/brw_vs_emit.c src/mesa/drivers/dri/intel/intel_context.h src/mesa/drivers/dri/intel/intel_pixel.c src/mesa/drivers/dri/intel/intel_pixel_read.c src/mesa/main/texenvprogram.c src/mesa/main/version.h
2009-09-08egl: also use X types for building on Apple/MacOS XBrian Paul1-1/+2
See bug 20413.
2009-08-03gl: upgrade wglext.h to version 15Brian Paul1-4/+15
2009-08-03gl: upgrade glxext.h to version 23Brian Paul1-3/+15
2009-08-03gl: upgrade glext.h to version 54Brian Paul1-51/+515
2009-07-06Merge commit 'origin/openvg-1.0'Zack Rusin4-0/+1155
2009-06-18glew: correct misspelling of glFramebufferTextureLayerKeith Whitwell1-3/+3
This was misspelt as glFramebufferTexturLayer (missing e), causing conflicts with the correctly spelt version in glext.h and extfuncs.h.
2009-06-24Merge branch 'mesa_7_5_branch'Brian Paul1-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
2009-06-15mesa: regenerated gl_mange.h fileBrian Paul1-1/+33
2009-06-05mesa: Fix wglext.h prototypes.Michal Krol1-2/+2
2009-06-04mesa: update wglext.h to latest versionBrian Paul1-1/+11
2009-06-04mesa: remove PFNGL typedefs that are in glext.hBrian Paul1-85/+2
2009-06-04mesa: upgrade glext.h to version 52Brian Paul2-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.
2009-05-01OpenVG 1.0 State TrackerZack Rusin4-0/+1155
Import of the OpenVG 1.0 state tracker for Gallium.
2009-04-24GNU/Hurd fixesSamuel Thibault1-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 <dbn.lists@gmail.com>
2009-04-24DRI2: Implement interface for drivers to access DRI2GetBuffersWithFormatIan Romanick1-1/+27
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é Fonseca1-7/+0
It breaks wglext.h as it doesn't define PFNWGLGETEXTENSIONSSTRINGARBPROC.
2009-04-09DRI2: Provide an interface for drivers to flush front-buffer renderingIan Romanick1-1/+14
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 Scheidegger1-0/+18
This is just temporary until the upstream source is updated.
2009-03-28gl: update glext.h to version 48Roland Scheidegger1-0/+78
2009-03-25egl: include stdint.h to get the c99 integer typedefsBrian Paul1-0/+1
Fixes breakage from commit 6dd9c221012d5e091b2ede90d9b2a6f0383abd58
2009-03-25Add Solaris to OS'es using X in eglplatform.hAlan Coopersmith1-1/+1
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25Convert u_int*_t to C99 standard uint*_tAlan Coopersmith2-3/+3
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25gl: update include/GL/glext.h to version 48Brian Paul1-10/+52
2009-03-20Fix DRI2 accelerated EXT_texture_from_pixmap with GL_RGB format.Eric Anholt2-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 <ian.d.romanick@intel.com>
2009-03-05gl: added include/GL/wglext.hBrian Paul1-0/+813
2009-03-05gl: update glext.h to version 46Brian Paul1-4/+68
2009-03-04fix incorrect prototype for glMapBufferRange() in glext.hBrian Paul1-2/+2
Needs to return void *
2009-02-25egl: Allow compilation to succeed with FreeBSDBenjamin Close1-1/+1
Signed-off-by: Benjamin Close <Benjamin.Close@clearchain.com>
2009-02-23glx: add support for a reallyFlush() function before swap occurs.Alan Hourihane1-0/+11
2009-02-21mesa: regenerated gl_mange.h fileBrian Paul1-0/+298
2009-02-18mesa: bump gl.h version comment to 7.7 (bug 20170)Brian Paul1-1/+1
2009-02-12glut: Fix broken font symbols when gcc visibility attributes used.José Fonseca1-1/+1