summaryrefslogtreecommitdiff
path: root/GL/glx
AgeCommit message (Collapse)Author
2008-05-21Move GL/glx on level up now that it's the only thing left under GL.Kristian Høgsberg
2008-05-21Get out of the mesa symlinking business.Kristian Høgsberg
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øgsberg
Obsoleted by the DRI swrast driver.
2008-05-21Stop symlinking glcontextmodes.[ch] from mesa.Kristian Høgsberg
2008-05-21glx: drop drm.h, sareaHandle from swrast loaderGeorge Sapountzis
2008-05-20Add loader for the swrast dri driver.George Sapountzis
2008-04-24XQuartz: Compile in missing glx source that we still needJeremy Huddleston
(cherry picked from commit c611335dee267e41dcd1733a6bb5206b102f804e)
2008-04-24glx: test for valid read and draw privates before using themDave Airlie
this should fix a bug where f-spot exiting blows up the X server
2008-04-23Prefer glxvisuals with stencil buffer for default visualsHans de Goede
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: build from mesa, dlopen from xorgGeorge Sapountzis
* 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 Airlie
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 Airlie
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 Airlie
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 Airlie
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øgsberg
2008-04-02Send the GLX_EXT_texture_from_pixmap attributes to the client.Kristian Høgsberg
2008-04-02dri2: Unbreak glcore visual setup.Kristian Høgsberg
2008-03-31Implement DRI2 direct rendering and update AIGLX to DRI interface changes.Kristian Høgsberg
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 Walsh
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øgsberg
We now just pass in the __DRIdrawable.
2008-03-09DRI2: Return event buffer head index in DRI2CreateDrawable.Kristian Høgsberg
And pass it to the DRI driver in AIGLX.
2008-03-07Fix DRI2 texture target for GLX_EXT_texture_from_pixmap.Kristian Høgsberg
Thanks to Dennis Kasprzyk for pointing it out and for reminding me to commit it.
2008-02-29GLX: Adjust to changes in DRI driver interface.Kristian Høgsberg
2008-02-28XACE: Fix instances of DixUnknownAccess at hook callsites.Eamon Walsh
2008-02-27More checking for failed contexts/drawablesAlan Hourihane
2008-02-27Fix context sharing between direct/indirect contextsAlan Hourihane
2008-02-26AIGLX: Switch to server context for calling DamageDamageRegion().Michel Dänzer
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=14518 .
2008-02-17glx: Use glapi sources from the mesa treeDan Nicholson
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øgsberg
2008-02-14Add GLX provider for DRI2.Kristian Høgsberg
2008-02-15AIGLX: Refactor code common between __glXDRI{drawableDestroy,releaseTexImage}.Michel Dänzer
2008-02-14AIGLX: Fix crash after client using GLX_EXT_texture_from_pixmap died.Pierre Willenbrock
2008-01-19AIGLX: Fix GLX_EXT_texture_from_pixmap fallback with EXA.Michel Dänzer
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)Brian
2008-01-01regenerated, adds GL_MAX_3D_TEXTURE_SIZE (see bug 13811)Brian
2007-12-29GL: Add GLX compile flags lost in modular X server changesJurij Smakov
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 Walsh
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 Huddleston
(cherry picked from commit 54654815fa5e59b25cfd1fa72610120b72c10175)
2007-11-14Merge branch 'master' into XACE-SELINUXEamon Walsh
Conflicts: Xext/xace.c Xext/xace.h
2007-11-09Regenerate GLX dispatch code for recent gl_API.xml changes (#12935).Kristian Høgsberg
2007-11-05Merge branch 'master' into XACE-SELINUXEamon Walsh
Conflicts: dix/dispatch.c dix/property.c hw/xfree86/common/xf86VidMode.c include/xkbsrv.h render/glyph.c xkb/xkbActions.c
2007-11-05GL: fix crash at mesa destruction timeDodji Seketeli
* GL/glx/glxglcore.c: (_glXMesaScreenDestroy): delete the same amount of visuals that those which were created in createMesaVisuals().
2007-11-04Add CreatePixmap allocation hints.Aaron Plattner
These hints allow an acceleration architecture to optimize allocation of certain types of pixmaps, such as pixmaps that will serve as backing pixmaps for redirected windows.
2007-10-29Set up visuals for the existing X visuals.Kristian Høgsberg
This makes the root visual a GLX capable visual again and adds a GLX visual for the COMPOSITE ARGB visual cleanly (as opposed to the hack we had before).
2007-10-26Weed out some unused fluff from __GLXcontext.Kristian Høgsberg
2007-10-26Quiet glx visual debug info.Kristian Høgsberg
2007-10-25Clean up unused pVisual part of __GLXcontext.Kristian Høgsberg
2007-10-25Make glx destroy path handle cases where the X window goes away first.Kristian Høgsberg
2007-10-25Merge branch 'master' into XACE-SELINUXEamon Walsh
Conflicts: GL/glx/glxscreens.c hw/xnest/Screen.c render/glyph.c render/glyphstr.h render/render.c
2007-10-22GLX: Fix leak of X pixmaps associated with GLX pixmaps.Michel Dänzer