summaryrefslogtreecommitdiff
path: root/include
AgeCommit message (Collapse)Author
2010-02-24glapi: Add GL_OES_EGL_imageKristian Høgsberg
2010-02-16dri2: Event driven buffer validation.Francisco Jerez
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 <krh@bitplanet.net>
2010-02-09dri_interface: Introduce DRI tokens for the texBuffer texture formatsKristian Høgsberg
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.
2010-02-05eglplatform.h: recognize __unix as well for Solaris & other SVR4 platformsAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2010-01-25mesa: misc GLX_INTEL_swap_event fixesRobert Bragg
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 <robert@linux.intel.com>
2010-01-25egl: Update headers.Chia-I Wu
Update to the current versions found at http://www.khronos.org/registry/egl/. There is one modification in khrplatform.h for GCC visibility.
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-11st/vega: Fix breakage from -fvisibility=hidden.Chia-I Wu
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é Fonseca
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 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-05egl: Fix breakage from -fvisibility=hidden.Chia-I Wu
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é 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-09-09Merge branch 'mesa_7_5_branch' into mesa_7_6_branchBrian Paul
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 Paul
See bug 20413.
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-07-06Merge commit 'origin/openvg-1.0'Zack Rusin
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-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-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-05-01OpenVG 1.0 State TrackerZack Rusin
Import of the OpenVG 1.0 state tracker for Gallium.
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-25egl: include stdint.h to get the c99 integer typedefsBrian Paul
Fixes breakage from commit 6dd9c221012d5e091b2ede90d9b2a6f0383abd58
2009-03-25Add Solaris to OS'es using X in eglplatform.hAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
2009-03-25Convert u_int*_t to C99 standard uint*_tAlan Coopersmith
Signed-off-by: Alan Coopersmith <alan.coopersmith@sun.com>
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