summaryrefslogtreecommitdiffstats
path: root/src/glx
Commit message (Collapse)AuthorAgeFilesLines
* Remove CVS keywords.Keith Whitwell2008-09-216-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Cherry-picked from gallium-0.1 Conflicts: src/glu/sgi/libnurbs/interface/bezierEval.h src/glu/sgi/libnurbs/interface/bezierPatch.h src/glu/sgi/libnurbs/interface/bezierPatchMesh.h src/glu/sgi/libnurbs/internals/dataTransform.h src/glu/sgi/libnurbs/internals/displaymode.h src/glu/sgi/libnurbs/internals/sorter.h src/glu/sgi/libnurbs/nurbtess/definitions.h src/glu/sgi/libnurbs/nurbtess/directedLine.h src/glu/sgi/libnurbs/nurbtess/gridWrap.h src/glu/sgi/libnurbs/nurbtess/monoChain.h src/glu/sgi/libnurbs/nurbtess/monoPolyPart.h src/glu/sgi/libnurbs/nurbtess/monoTriangulation.h src/glu/sgi/libnurbs/nurbtess/partitionX.h src/glu/sgi/libnurbs/nurbtess/partitionY.h src/glu/sgi/libnurbs/nurbtess/polyDBG.h src/glu/sgi/libnurbs/nurbtess/polyUtil.h src/glu/sgi/libnurbs/nurbtess/primitiveStream.h src/glu/sgi/libnurbs/nurbtess/quicksort.h src/glu/sgi/libnurbs/nurbtess/rectBlock.h src/glu/sgi/libnurbs/nurbtess/sampleComp.h src/glu/sgi/libnurbs/nurbtess/sampleCompBot.h src/glu/sgi/libnurbs/nurbtess/sampleCompRight.h src/glu/sgi/libnurbs/nurbtess/sampleCompTop.h src/glu/sgi/libnurbs/nurbtess/sampleMonoPoly.h src/glu/sgi/libnurbs/nurbtess/sampledLine.h src/glu/sgi/libnurbs/nurbtess/searchTree.h src/glu/sgi/libnurbs/nurbtess/zlassert.h src/glu/sgi/libutil/error.c src/glu/sgi/libutil/glue.c src/glu/sgi/libutil/gluint.h src/glu/sgi/libutil/project.c src/glu/sgi/libutil/registry.c src/glx/x11/glxclient.h src/glx/x11/glxext.c src/mesa/drivers/dri/ffb/ffb_dd.h src/mesa/drivers/dri/ffb/ffb_points.h src/mesa/drivers/dri/gamma/gamma_context.h src/mesa/drivers/dri/gamma/gamma_macros.h src/mesa/drivers/dri/i810/i810context.h src/mesa/drivers/dri/r128/r128_dd.h src/mesa/drivers/dri/tdfx/tdfx_dd.h
* Update to SGI FreeB 2.0.Adam Jackson2008-09-1916-543/+448
| | | | | | | | | | | | | | | | | | | | | | | | | | Under the terms of version 1.1, "once Covered Code has been published under a particular version of the License, Recipient may, for the duration of the License, continue to use it under the terms of that version, or choose to use such Covered Code under the terms of any subsequent version published by SGI." FreeB 2.0 license refers to "dates of first publication". They are here taken to be 1991-2000, as noted in the original license text: ** Original Code. The Original Code is: OpenGL Sample Implementation, ** Version 1.2.1, released January 26, 2000, developed by Silicon Graphics, ** Inc. The Original Code is Copyright (c) 1991-2000 Silicon Graphics, Inc. ** Copyright in any portions created by third parties is as indicated ** elsewhere herein. All Rights Reserved. Official FreeB 2.0 text: http://oss.sgi.com/projects/FreeB/SGIFreeSWLicB.2.0.pdf As always, this code has not been tested for conformance with the OpenGL specification. OpenGL conformance testing is available from http://khronos.org/ and is required for use of the OpenGL logo in product advertising and promotion.
* glx: re-add glapi/ pathBrian2008-09-181-0/+1
|
* glx: added "glapi/" prefix to includeBrian2008-09-181-1/+1
|
* mesa: fix asst path/include mistakes in prev commitsChris Rankin2008-09-181-1/+1
|
* glx: remove #include "glheader.h" linesBrian Paul2008-09-1815-15/+21
| | | | | Was only used to get the PUBLIC/USED macros. Also, replace "GL_FALSE" with "False" in a couple places.
* glx: remove depency on glheader.h and GLboolean type in XF86DRI codeBrian Paul2008-09-182-8/+18
| | | | | Return Bool instead of GLboolean to match other functions. Define PUBLIC/USED macros locally.
* glx: fix 64-bit datatype issueGuillaume Melquiond2008-09-131-1/+7
|
* Finish off the previous fix for TFP.Eric Anholt2008-09-121-0/+3
| | | | | A couple of those lines of debug printfs I deleted weren't actually debug printfs.
* dri/swrast: fix swapBuffers after dri2George Sapountzis2008-09-121-0/+6
|
* DRI2: Drop sarea, implement swap buffers in the X server.Kristian Høgsberg2008-08-296-104/+174
|
* glx: free driScreen in FreeScreenConfigs()Kristof Ralovich2008-08-201-0/+3
|
* glx: free context in driDestroyContext()Kristof Ralovich2008-08-201-0/+1
|
* glx: free vertex array state when context is destroyedKristof Ralovich2008-08-203-2/+30
|
* fix mem leak (free psc->visuals)Kristof Ralovich2008-08-201-3/+6
|
* Fixed 'make install' for darwinJeremy Huddleston2008-08-121-1/+1
|
* Apple: Cleaned up some linking and dylib ids issuesJeremy Huddleston2008-08-111-1/+2
|
* glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protectionJeremy Huddleston2008-08-085-19/+93
|
* glx/x11: Fix missing __GL_EXT_BYTES declarationJeremy Huddleston2008-08-082-1/+3
|
* Drop unused 'entries' field from __glxHashTable.Adam Jackson2008-08-041-4/+2
|
* glx: Update my e-mail address. :)Ian Romanick2008-07-151-1/+1
|
* glx: Trivial clean-ups to __glXSetArrayEnableIan Romanick2008-07-151-4/+8
|
* glx/dri: only report DRI2 extensions when DRI2 is enabled.Dave Airlie2008-07-135-6/+6
| | | | Fixes bug 15477
* Call mklib with $(SHELL) so the user controls the interpreterDan Nicholson2008-07-122-2/+2
| | | | | Respect the user's choice of shell when running mklib rather than always using /bin/sh.
* glx: add LIBGL_ALWAYS_SOFTWAREGeorge Sapountzis2008-07-071-2/+9
| | | | | | this disables accelerated DRI and fallbacks to client-side software rendering. compile-tested only.
* glcontextmodes.c is required remove the reference in .gitignoreAlan Hourihane2008-07-041-1/+0
|
* Fix builds with compilers other than gcc 3.0 & newerAlan Coopersmith2008-06-213-0/+3
| | | | | | | Add #include "glheader.h" for definition of __builtin_expect for compilers that don't support it. Signed-off-by: Brian Paul <[email protected]>
* glx: load swrast_dri.soGeorge Sapountzis2008-06-135-2/+459
| | | | | | | | | | | | | | caveats: - does not work with old (i.e. libGLcore) xserver: - made unbindContext a noop - extensions: GLX_SGI_make_current_read GLX_EXT_texture_from_pixmap GLX_MESA_copy_sub_buffer
* glx: use ErrorMessageFGeorge Sapountzis2008-06-131-13/+10
|
* copy msaa visuals capabilityRoland Scheidegger2008-06-101-1/+4
|
* glx: use goto's vs. nested if's ala xserverGeorge Sapountzis2008-06-091-152/+136
| | | | compile tested only
* glx: add dri_common.c ala xserverGeorge Sapountzis2008-06-095-517/+504
| | | | | | also drop driFilterModes which is unused in preparation of loading swrast_dri.so
* Silence warningAlan Hourihane2008-06-051-1/+1
|
* replace make with $(MAKE) (bug 16133)Brian Paul2008-05-281-1/+1
|
* Revert "glapi: Generate xserver glapi sources in the mesa tree"Kristian Høgsberg2008-05-218-16848/+0
| | | | | | | | | This reverts commit 7688791fc52f116eea421fda1d17aba5cf10977b, and takes us back to generating the glapi files straight into the xserver tree. Conflicts: src/glx/x11/indirect_size_get.c
* Default DRI driver directory to match X.Org xserverDan Nicholson2008-05-091-1/+1
| | | | | | | Since the only valid consumer of the DRI drivers is the X.Org xserver, this changes the default DRI driver directory to match xorg-server: ${libdir}/dri. The old default of /usr/X11R6/modules/dri was wrong for nearly all current systems.
* Never fail `make clean'Dan Nicholson2008-05-071-1/+1
| | | | | | Mostly some pedantic changes such that `make clean' always ignores errors. Also changed the top clean target to do the `touch configs/current' dance instead of realclean.
* Always cleanup the makedepend backup filesDan Nicholson2008-05-062-2/+2
| | | | | | Consistently cleanup the depend.bak files created by makedepend. Also, realclean has been changed to use a single find command, which speeds it up considerably.
* Error consistently when running recursive makeDan Nicholson2008-05-061-2/+2
| | | | | When changing directories and running a sub-make, ensure that both the cd and make commands propagate errors to the parent make.
* include <X11/Xlib.h>Alan Hourihane2008-04-232-0/+2
|
* glx: nitpick renamesGeorge Sapountzis2008-04-234-2/+2
|
* glx: split out current context codeGeorge Sapountzis2008-04-237-521/+538
| | | | also clean header inclusion after code movement
* Get the default GLXPixmap texture target from the server when appropriate.Michel Dänzer2008-04-101-27/+37
| | | | | | | Fixes compiz with direct rendering when both GLX_TEXTURE_2D_EXT and GLX_TEXTURE_RECTANGLE_EXT are supported for a GLXPixmap and the application didn't specify the texture target as a GLX drawable attribute when creating the GLX drawable.
* Handle fbconfig comparison correctly for attributes the X server didn't send.Jie Luo2008-04-082-5/+6
|
* Only convert configs if screen creation was successful.Kristian Høgsberg2008-04-081-8/+10
| | | | Thanks to Adam Jackson for pointing it out.
* Pick up dri2proto from the standard proto header include path.Kristian Høgsberg2008-04-021-1/+1
|
* Initialize GLX_EXT_texture_from_pixmap attributes correctly.Kristian Høgsberg2008-04-021-4/+1
|
* DRI interface changes and DRI2 direct rendering support.Kristian Høgsberg2008-03-3111-256/+1305
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add DRI2 direct rendering support to libGL and add DRI2 client side protocol code. Extend the GLX 1.3 create drawable functions in glx_pbuffer.c to call into the DRI driver when possible. Introduce __DRIconfig, opaque struct that represents a DRI driver configuration. Get's rid of the open coded __GLcontextModes in the DRI driver interface and the context modes create and destroy functions that the loader was requires to provide. glcore.h is no longer part of the DRI driver interface. The DRI config is GL binding agnostic, that is, not specific to GLX, EGL or other bindings. The core API is now also an extension, and the driver exports a list of extensions as the symbol __driDriverExtensions, which the loader must dlsym() for. The list of extension will always include the DRI core extension, which allows creating and manipulating DRI screens, drawables and contexts. The DRI legacy extension, when available, provides alternative entry points for creating the DRI objects that work with the XF86DRI infrastructure. Change DRI2 client code to not use drm drawables or contexts. We never used drm_drawable_t's and the only use for drm_context_t was as a unique identifier when taking the lock. We now just allocate a unique lock ID out of the DRILock sarea block. Once we get rid of the lock entirely, we can drop this hack. Change the interface between dri_util.c and the drivers, so that the drivers now export the DriverAPI struct as driDriverAPI instead of the InitScreen entry point. This lets us avoid dlsym()'ing for the DRI2 init screen function to see if DRI2 is supported by the driver.
* glx: Add isDirect back to __GLXcontextRec. It is neededXiang, Haihao2008-03-183-2/+9
| | | | | | to check whether oldGC is used for direct rendering in function MakeContextCurrent. However it is possible oldGC->driContext is already freed. fix bug #14926.
* Test createNewScreen for NULL, not createNewScreenName in driCreateScreen().Kristian Høgsberg2008-03-151-1/+1
|