summaryrefslogtreecommitdiff
path: root/GL
AgeCommit message (Collapse)AuthorFilesLines
2007-08-23glx: fix crash when freeing visualsBrian Paul1-5/+8
Don't set screen->num_vis to a value greater than the actual number of visuals. X.Org Bug #10809 <http://bugs.freedesktop.org/show_bug.cgi?id=10809> (cherry picked from commit ff089e6cae634ac3eb509abd448a250bcbb17275)
2007-08-13Revert "Implement damage tracking for AIGLX."Kristian Høgsberg1-18/+0
This reverts commit 2243b30e54df07892f75e3d65b687abe5b183cf3. The existing DRI interface doesn't let us get from a __DRIdrawable to the corresponding X drawable, and thus, we can't implement AIGLX damage tracking with the current interface.
2007-08-10Implement damage tracking for AIGLX.Kristian Høgsberg1-0/+18
2007-08-01GLX/DRI: Remove some unused variables.Michel Dänzer1-4/+1
2007-08-01GLX_EXT_texture_from_pixmap: Use client provided texture target when available.Michel Dänzer5-29/+48
This prevents situations where the server doesn't use the target the client thinks it does, usually resulting in the texture being sampled as all white.
2007-08-01GL: GLX: Make sure glxbyteorder.h is distributedDaniel Stone1-0/+1
2007-07-10GLX: Only build code dealing with GLXPixmap damage field when DRI is enabled.Michel Dänzer2-0/+4
2007-07-10Make sure DRI drawables are cleaned up when client dies.Michel Dänzer3-11/+24
The previous scheme didn't work when the client didn't create the core drawable, e.g. the root or composite overlay window. Use refcounting via special client resources to fix that.
2007-06-29Death to RCS tags.Adam Jackson5-5/+0
2007-06-11DRI: Clip cliprects obtained from DRIGetDrawableInfo to screen dimensions.Michel Dänzer1-2/+26
This is to avoid issues with redirected windows which are located partly or fully outside of a screen edge, resulting in unusual cliprects which the 3D drivers generally can't handle. The symptoms in such cases would be incorrect rendering or even crashes or hangs.
2007-06-02Don't print lack of DRI support as an error in AIGLX init.Adam Jackson1-7/+4
2007-05-22Bug #8991: Add glXGetDrawableAttributes dispatch; fix texture format therein.Adam Jackson3-15/+30
Adapted to master branch by Michel Dänzer <michel@tungstengraphics.com>.
2007-05-22AIGLX: Zero-copy texture-from-pixmap.Michel Dänzer5-86/+219
When available, use the 2D driver texOffsetStart hook and the 3D driver setTexOffset hook to save the overhead of passing the pixmap data to glTex(Sub)Image. The basic idea is to update the driver specific 'offset' for bound pixmaps before dispatching a GLX render request and to flush immediately afterwards if there are any pixmaps bound. This should ensure that the 3D driver can use pixmaps for texturing directly regardless of the X server moving them around.
2007-05-02In __glXCreateARGBConfig(), insert the new GL mode at the _end_ of the ↵Brian1-2/+20
linked list. Previously, the new mode was added at the head of the list. This caused the positional correspondence between modes and the XMesaVisuals array to be off by one. The net result was GLX clients failing when they tried to use the last GLX mode/visual. We still have the problem of DRI drivers not being able to use the extra mode/visual introduced by __glXCreateARGBConfig(). glXCreateContext fails with BadAlloc if it's attempted. This is also the source of the often- seen warning "libGL warning: 3D driver claims to not support visual xxx" Look into fixing that someday...
2007-04-25Paper over a crash at exit during GLX teardown.Adam Jackson1-5/+7
2007-04-21add slang_mem.cBrian1-0/+1
2007-04-21replace occlude.c w/ queryobj.cBrian1-1/+1
2007-04-20regenerated to add GL_CLIENT_ATTRIB_STACK_DEPTH (bug 9823)Brian1-0/+2
2007-04-16remove sources deleted in MesaBrian1-2/+0
2007-04-14glx: move __glXMesaProvider from GLcore module to glx module.George Sapountzis3-3/+2
This treats the GLcore provider similar to DRI provider, using a subset of XMesa as the GLcore interface.
2007-04-14glx: drop xmesaP.h include from xf86glx.cGeorge Sapountzis1-1/+0
The declarations for the xfree86-specific XMesa functions were moved up to xmesa.h, requires Mesa as of 2007-04-13.
2007-04-14glx: drop stray CAPI define.George Sapountzis2-6/+0
SI imports/exports were dropped from Mesa.
2007-04-09In AIGLX EnterVT processing, invoke driver EnterVT before resuming glx.Keith Packard1-1/+5
As the driver EnterVT function generally re-enables the hardware and prepares it for rendering, it must be called before any gl functions are called which could touch the hardware.
2007-04-07regenerated to fix bug 10371Brian1-3/+3
2007-04-06GLcore: fix after moving xf86glx_util.[hc] to Mesa.George Sapountzis5-258/+5
2007-04-05glx: Remove stray __GLinterface.George Sapountzis2-2/+2
__GLinterface was droped from glcore.h
2007-04-05glx: fix symlink, glcontextmodes.c was moved to mesa/src/glx/George Sapountzis1-3/+0
2007-03-30Make xf86glx.c unaware of Mesa internalsGeorge Sapountzis5-79/+7
Use newly added XMesaCopyContext() and drop the GlxSetRenderTables() call for Xgl, as this is now done inside XMesaForceCurrent(). This leaves xmesaP.h but only for the declarations of the three XMesa/XFree86 functions. Also, GlxSetRenderTables() stays but is only used in hw/xgl/glxext/ . Also drop xf86glxint.h, no longer used. Depends on mesa commit 7439a36785b6a2783e80a40a96c09db8f56dc2bc of 2007-03-30.
2007-03-28GL: Update for Mesa changesDaniel Stone1-0/+1
Added s_fragprog.c to fix the build.
2007-03-27Fix typo in GL/mesa/shader/slang/Makefile.am.Michel Dänzer1-1/+1
2007-03-27gl: oops dodgy s appeared pointed out by jcristau on irc..Dave Airlie1-2/+1
2007-03-27gl: update for latest mesa glsl-compiler mergeDave Airlie5-18/+22
2007-03-09Set pScreen on contextAlan Hourihane1-0/+1
2007-03-05Bugzilla #7145: fix build with gcc 2.95Jens Granseuer1-2/+2
Bugzilla #7145: <http://bugs.freedesktop.org/show_bug.cgi?id=7145> Patch #8987: <http://bugs.freedesktop.org/attachment.cgi?id=8987>
2007-03-01AIGLX support for Darwin -- works well enough to runBen Byer1-535/+1609
glxgears and glxinfo, but still needs more testing.
2007-02-17glx fixes for XDarwinBen Byer3-6/+26
2007-02-05remove array_cache from everywhereDave Airlie12-13/+0
2007-02-04add vbo to .gitignoreDave Airlie1-0/+2
2007-02-04update xserver for vbo code in mesaDave Airlie4-13/+51
2007-02-02remove fileAlan Hourihane1-21/+0
2007-02-02The array_cache sources don't exist anymore in the Mesa tree,Dan Nicholson1-2/+1
so we shouldn't try to build them.
2007-02-02Remove array_cache for recent Mesa changesAlan Hourihane1-10/+0
2007-01-19__glXDRIscreenProbe: Use drmOpen/CloseOnce.Michel Dänzer1-4/+5
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=9275 . Based on patch from Alan Swanson.
2007-01-05Add missing #else from previous commits.Ian Romanick1-0/+1
2007-01-04Re-regenerate from Mesa scripts.Ian Romanick1-4/+0
DO NOT HAND EDIT THESE FILES! For cryin' out loud, there's even a comment to that effect in the file's header...
2007-01-04Incorporate new byte-order related configure changes.Ian Romanick1-10/+17
2007-01-04Merge branch 'master' of git+ssh://git.freedesktop.org/git/xorg/xserverIan Romanick6-43/+14
Conflicts: GL/glx/indirect_dispatch_swap.c GL/glx/swap_interval.c
2007-01-04Regenerate from Mesa scripts.Ian Romanick4-375/+358
Regenerate source files from Mesa scripts. This causes the generated files to use glxbyteorder.h.
2007-01-04Add new header file containing byte-order wrappers.Ian Romanick2-13/+49
Move the byte-order related wrappers out of the individual source files into a dedicated header file. Modify the single hand-coded source file that uses the byte-order wrappers to use the new header file.
2007-01-04Keep track of how many visuals we set up for GLcore, to avoid an invalid free.Eric Anholt1-1/+3
The proper fix would involve actually setting up the ARGB visual for GLcore, but I just want the server to not crash at exit.