summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* dri2: Event driven buffer validation.Francisco Jerez2010-02-161-8/+6
| | | | | | | | | | | | | | | | | | When a buffer invalidation event is received from the X server, the "invalidate" hook of the DRI2 flush extension is executed: A generic implementation (dri2InvalidateDrawable) is provided that just bumps the "pStamp" sequence number in __DRIdrawableRec. For old servers not supporting buffer invalidation events, the invalidate hook will be called before flushing the fake front/back buffer (that's typically once per frame -- not a lot worse than the situation we were in before). No effort has been made on preserving backwards compatibility with version 2 of the flush extension, but I think it's acceptable because AFAIK no released stack is making use of it. Signed-off-by: Kristian Høgsberg <[email protected]>
* 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.
* eglplatform.h: recognize __unix as well for Solaris & other SVR4 platformsAlan Coopersmith2010-02-051-1/+1
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* 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]>
* egl: Update headers.Chia-I Wu2010-01-254-74/+436
| | | | | | Update to the current versions found at http://www.khronos.org/registry/egl/. There is one modification in khrplatform.h for GCC visibility.
* 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]>
* | st/vega: Fix breakage from -fvisibility=hidden.Chia-I Wu2010-01-111-0/+5
| | | | | | | | | | | | Mark VG and VGU functions as public. Signed-off-by: Chia-I Wu <[email protected]>
* | gallium: Provide alternative stdint.h and stdbool.h C99 headers, instead of ↵José Fonseca2010-01-102-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.
* | glew: Update to version 1.5.2.José Fonseca2010-01-063-27/+1265
| |
* | egl: Fix breakage from -fvisibility=hidden.Chia-I Wu2010-01-051-0/+5
|/ | | | | | Mark EGL API and driver functions as PUBLIC. Signed-off-by: Chia-I Wu <[email protected]>
* 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.
* Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul2009-09-091-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
| * egl: also use X types for building on Apple/MacOS XBrian Paul2009-09-081-1/+2
| | | | | | | | See bug 20413.
* | 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 commit 'origin/openvg-1.0'Zack Rusin2009-07-064-0/+1155
|\ \
| * | OpenVG 1.0 State TrackerZack Rusin2009-05-014-0/+1155
| | | | | | | | | | | | Import of the OpenVG 1.0 state tracker for Gallium.
* | | 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
|
* egl: include stdint.h to get the c99 integer typedefsBrian Paul2009-03-251-0/+1
| | | | Fixes breakage from commit 6dd9c221012d5e091b2ede90d9b2a6f0383abd58
* Add Solaris to OS'es using X in eglplatform.hAlan Coopersmith2009-03-251-1/+1
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* Convert u_int*_t to C99 standard uint*_tAlan Coopersmith2009-03-252-3/+3
| | | | Signed-off-by: Alan Coopersmith <[email protected]>
* 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 *