summaryrefslogtreecommitdiff
path: root/GL
AgeCommit message (Collapse)AuthorFilesLines
2008-05-21Move GL/glx on level up now that it's the only thing left under GL.Kristian Høgsberg59-46375/+0
2008-05-21Move the windows GL files to the xwin DDX.Kristian Høgsberg4-2316/+0
2008-05-21Get out of the mesa symlinking business.Kristian Høgsberg21-212/+33615
This copies over the files generated from mesa/src/mesa/glapi. There's a corresponding mesa commit that makes it easy to generate the glapi files straight into the xserver tree when the XML definitions change. The only few files that are copied from mesa but aren't generated are glapi.[ch] and glthread.[ch]. Everything in there is technically DRI driver API and the whole setup is still a bit fragile, but it's not a new problem. The --with-mesa-source configure option is still around since other parts of the server (XGL and DMX - grep for MESA_SOURCE) need that, but for common case of building with GLX and AIGLX support, that option is no longer needed.
2008-05-21Drop glcore GLX provider.Kristian Høgsberg3-530/+1
Obsoleted by the DRI swrast driver.
2008-05-21Stop symlinking glcontextmodes.[ch] from mesa.Kristian Høgsberg2-6/+0
2008-05-21glx: drop drm.h, sareaHandle from swrast loaderGeorge Sapountzis1-5/+2
2008-05-20Add loader for the swrast dri driver.George Sapountzis6-207/+800
2008-04-24XQuartz: Compile in missing glx source that we still needJeremy Huddleston1-0/+5
(cherry picked from commit c611335dee267e41dcd1733a6bb5206b102f804e)
2008-04-24glx: test for valid read and draw privates before using themDave Airlie1-28/+30
this should fix a bug where f-spot exiting blows up the X server
2008-04-23Moved Apple GL bits into our DDX subtreeJeremy Huddleston3-1960/+1
(cherry picked from commit c9356f32892978faecb30f7b7af7488820ce37ff)
2008-04-23xquartz: build fixes for GLX/DRI2 fallout (note: not guaranteed)Ben Byer1-28/+30
(cherry picked from commit 85a5796b667461bf1fafc68c07b3a704cd8efd5b)
2008-04-23glx / xquartz: we still need glxcontentmodes.[ch] kthxBen Byer1-0/+2
(cherry picked from commit 27545fd37f8c703b72f7cfc329778abc1ceabfa0)
2008-04-23xquartz: remove vestigial aglGlx.cBen Byer2-1368/+4
(cherry picked from commit 40bd041e4255f26fcbdf0831e68619ae0f46ab39)
2008-04-23Prefer glxvisuals with stencil buffer for default visualsHans de Goede1-3/+10
The first fbconfig which has a depthbuffer > 0 and doublebuf is choosen when associating fbconfigs with the visuals, indepenent of stencil bits. This happens to work ok on intel as there all fbconfigs with a depthbuffer > 0 also have stencil bits. This patch fixes this by first trying to get a fbconfig for default X visuals with both stencilbuf, depthbuf and doublebuffering, and if that fails fallback to trying to get one with only a depthbuf and doublebuffering.
2008-04-23glcore: drop GLcore (files)George Sapountzis15-615/+0
2008-04-23glcore: drop GLcore (build system)George Sapountzis2-3/+2
2008-04-23glcore: build from mesa, dlopen from xorgGeorge Sapountzis1-3/+80
* The GLcore interface is disposable * GLcore is installed in DRI_DRIVER_INSTALL_DIR which is overloaded for GLX_PROVIDER_INSTALL_DIR
2008-04-22GLcore: make googleearth not crash the server on sw-rendering.Dave Airlie1-0/+1
I don't think this is the 100% correct answer as I get log spam saying (EE) DoSwapInterval: cx = 0x98b8998, GLX screen = 0x96dd780 (EE) AIGLX: cx->pGlxScreen->swapInterval == NULL but thats better than X exiting in my book.
2008-04-14glx: silly nitpick...Dave Airlie1-1/+1
even though i and j are the same, we use i to derefence visuals everywhere else
2008-04-14glcore: make visualRating GLX_NONE - note GLX_NONE is not == 0Dave Airlie1-0/+1
Finally glxinfo returns the set of 3 visuals and glxgears works again for me on sw rendering
2008-04-14glcore: zero fbconfigs before filling them in.Dave Airlie1-1/+1
I'm not sure this the complete proper solution, perhaps it should explicitly fill in ever field. This at least makes glxinfo on glcore return sensible information, it doesn't make gears work yet though.
2008-04-04Convert __DRIconfigs after we've made sure createNewScreen succeeded.Kristian Høgsberg1-2/+2
2008-04-02Send the GLX_EXT_texture_from_pixmap attributes to the client.Kristian Høgsberg1-1/+6
2008-04-02dri2: Unbreak glcore visual setup.Kristian Høgsberg1-3/+2
2008-03-31Implement DRI2 direct rendering and update AIGLX to DRI interface changes.Kristian Høgsberg12-347/+604
Get rid of glcontextmodes.[ch] from build, rename __GlcontextModes to __GLXcontext. Drop all #includes of glcontextmodes.h and glcore.h. Drop the DRI context modes extension. Add protocol code to DRI2 module and load DRI2 extension by default.
2008-03-18Apply __glXDisp_GetVisualConfigs message patchEamon Walsh1-0/+6
From http://bugs.freedesktop.org/show_bug.cgi?id=13863 Problem was that the glxcmds.c __glXDisp_GetVisualConfigs function left garbage in the tail end of the message used for extensions.
2008-03-09GLX: Track changes to DRI_TEX_BUFFER extension.Kristian Høgsberg1-5/+2
We now just pass in the __DRIdrawable.
2008-03-09DRI2: Return event buffer head index in DRI2CreateDrawable.Kristian Høgsberg2-3/+5
And pass it to the DRI driver in AIGLX.
2008-03-07Fix DRI2 texture target for GLX_EXT_texture_from_pixmap.Kristian Høgsberg1-13/+2
Thanks to Dennis Kasprzyk for pointing it out and for reminding me to commit it.
2008-03-05Fix distcheck.Adam Jackson1-4/+4
(cherry picked from commit 2a47accff8dccded4dfe031f9366c028ba927824)
2008-03-01fix typoGeorge Sapountzis1-1/+1
2008-03-01glcore: split mesa and X in build systemGeorge Sapountzis2-24/+21
2008-02-29GLX: Adjust to changes in DRI driver interface.Kristian Høgsberg2-39/+41
2008-02-28XACE: Fix instances of DixUnknownAccess at hook callsites.Eamon Walsh1-4/+4
2008-02-27More checking for failed contexts/drawablesAlan Hourihane1-0/+11
2008-02-27Fix context sharing between direct/indirect contextsAlan Hourihane1-0/+8
2008-02-26AIGLX: Switch to server context for calling DamageDamageRegion().Michel Dänzer1-0/+4
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=14518 .
2008-02-17glx: Use glapi sources from the mesa treeDan Nicholson11-16855/+27
With recent mesa HEAD, the glapi sources used only in the xserver glx module are carried in the mesa tree. Previously, these were generated separately and committed to the xserver tree. The build is changed to symlink these files like the other mesa sources. This reduces the chance for mismatches between mesa's glX API and the xserver's glX API.
2008-02-14GLX: Implement support for TTM BO based TFP when available.Kristian Høgsberg1-0/+60
2008-02-14Add GLX provider for DRI2.Kristian Høgsberg3-0/+601
2008-02-15AIGLX: Refactor code common between __glXDRI{drawableDestroy,releaseTexImage}.Michel Dänzer1-63/+38
2008-02-14AIGLX: Fix crash after client using GLX_EXT_texture_from_pixmap died.Pierre Willenbrock1-0/+36
2008-01-19AIGLX: Fix GLX_EXT_texture_from_pixmap fallback with EXA.Michel Dänzer1-28/+54
Use pScreen->GetImage to obtain the pixmap contents instead of dereferencing pPixmap->devPrivate.ptr directly.
2008-01-01regenerated to add framebuffer object tokens (bug 13800)Brian1-0/+5
2008-01-01regenerated, adds GL_MAX_3D_TEXTURE_SIZE (see bug 13811)Brian1-0/+1
2007-12-29GL: Add GLX compile flags lost in modular X server changesJurij Smakov1-1/+2
RISC chips that trap on unaligned loads and stores need to define __GLX_ALIGN64. This used to get added to the cflags in the old *.cf files but it no longer does in the modular X server. Also, Alpha needs to pass -mieee to the compiler as well. This is a simple backport of a patch that debian, and probably other distributions, have been applying forever. To the best of my knowledge the patch was written by Jurij Smakov. See Debian bug number #388125. I just checked and this has been rotting for more than a year in freedesktop bugzilla as #8392. Signed-off-by: David S. Miller <davem@davemloft.net>
2007-12-13Merge branch 'master' into XACE-SELINUXEamon Walsh3-9/+20
Conflicts: Xext/EVI.c Xext/bigreq.c Xext/cup.c Xext/dpms.c Xext/fontcache.c Xext/mitmisc.c Xext/xcmisc.c Xext/xf86bigfont.c Xext/xtest.c configure.ac dbe/dbe.c hw/darwin/darwin.h hw/darwin/darwinEvents.c hw/darwin/iokit/xfIOKit.h hw/darwin/iokit/xfIOKitCursor.c hw/darwin/quartz/fullscreen/fullscreen.c hw/darwin/quartz/fullscreen/quartzCursor.c hw/darwin/quartz/quartz.c hw/darwin/quartz/quartzCommon.h hw/darwin/quartz/quartzCursor.c hw/darwin/quartz/xpr/dri.c hw/darwin/quartz/xpr/dristruct.h hw/darwin/quartz/xpr/xprCursor.c hw/darwin/quartz/xpr/xprFrame.c hw/xfree86/modes/xf86RandR12.c include/cursor.h miext/rootless/rootlessCommon.h miext/rootless/rootlessScreen.c miext/rootless/rootlessWindow.c render/picturestr.h Trying to pick up the pieces from the darwin churn here...
2007-12-07Darwin: Use __APPLE__ instead of __DARWIN__Jeremy Huddleston1-1/+1
(cherry picked from commit 54654815fa5e59b25cfd1fa72610120b72c10175)
2007-12-07fixed pathname in GL/apple/Makefile.amBen Byer1-2/+7
(cherry picked from commit b6357cec6d837226009c0d2b69026027da36656e)
2007-11-26Darwin,Rootless: Makefile cleanupJeremy Huddleston1-1/+4
(cherry picked from commit 9c6d8a035b712b219833653ac637b89703a9b0c3)