summaryrefslogtreecommitdiff
path: root/glx
AgeCommit message (Collapse)AuthorFilesLines
2008-11-12CopySubBuffer expects GL style coordinates.Kristian Høgsberg1-2/+3
2008-11-04AIGLX: Reinstate call to driver texOffsetFinish hook.Michel Dänzer1-0/+2
It was accidentally lost when factoring out __glXDRIdoReleaseTexImage, so this is a regression fix and should probably be backported to server-1.5-branch.
2008-11-04AIGLX: Don't truncate offset returned by driver texOffsetStart hook on 32 bit.Michel Dänzer1-1/+1
2008-11-03AIGLX: Allow 2D driver to prevent zero-copy texturing of a pixmap.Michel Dänzer1-1/+16
The driver can return ~0ULL to achieve this, e.g. if the pixmap doesn't fit into offscreen storage or if its pixel format isn't supported by the 3D engine for texturing. See http://bugs.freedesktop.org/show_bug.cgi?id=17723 or http://bugs.freedesktop.org/show_bug.cgi?id=12385 .
2008-10-23dri2: fail at context creation if driver fail to create it's contextJerome Glisse1-0/+4
2008-10-21Bug #18159: Spell "anisotropic" correctlyAdam Jackson1-1/+1
2008-10-15GLX: fix build when dri2 _is_ available.Luc Verhaegen1-1/+1
Caught by Julien Cristau.
2008-10-15GLX: fix build when dri2 is not available.Luc Verhaegen1-2/+8
2008-10-15dri2: Update to latest protocol draft.Kristian Høgsberg1-12/+22
Mainly rename SwapBuffers to CopyRegion, which adds the xfixes region argument and the bitmask argument to let us extend it in the future.
2008-10-06xalloc+memset(0) -> xcallocAdam Jackson4-23/+10
2008-09-24GLX: Make sure GLX_SGI_make_current_read is enabled when possibleIan Romanick1-0/+9
2008-09-22Upgrade GLX Public License 1.0 to FreeB 2.0.Adam Jackson1-18/+28
According to the press release: Previous SGI contributions to the free and open source community are now available under the new license. These contributions include the SGI® OpenGL® Sample Implementation, the GLX™ API and other GLX extensions. [...] "SGI has been one of the most ardent commercial supporters of free and open source software, so it was important to us that we continue to support the free software development community by releasing our earlier OpenGL-related contributions under this new license," said Steve Neuner, director of Linux, SGI. "This license ensures that all existing user communities will benefit, and their work can proceed unimpeded. Both Mesa and the X.org Project can continue to utilize this code in free software distributions of GNU/Linux. Now more than ever, software previously released by SGI under earlier GLX and SGI Free Software License B is free." "The GLX API" is here read to include the original GLX source release from: http://www.sgi.com/products/software/opensource/glx/download.html ftp://ftp.sgi.com/sgi/opengl/glx/glx1_2.1.tgz which includes glxext.c as included in XFree86, from which our copies in glx/ and hw/dmx/glxProxy/ are derived.
2008-09-19Update to SGI FreeB 2.0.Adam Jackson24-786/+672
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.
2008-08-31damage: choose less ambiguous function namesMaarten Maathuis1-2/+2
2008-08-30Removed dead glcontextmodesJeremy Huddleston3-607/+0
(cherry picked from commit c6d0ac7471209d835e8d9a25adcbda893ddfa1cb)
2008-08-29{damage,exa}: sanitise damageMaarten Maathuis1-1/+3
- Redo damage naming for more consistency. - Call post submission functions only where appropriate. - EXA can now live without it's odd damage workarounds.
2008-08-29DRI2: Drop sarea use, implement server side swap buffers.Kristian Høgsberg2-62/+65
2008-08-28Prepare for array-index based devPrivates.Tomas Carnecky2-2/+4
TODO: static indices can be made just an int; some indices can be combined.
2008-08-26Fix driGetConfigAttribIndex unaligned access to GLboolean.Kristian Høgsberg3-23/+8
We don't actually send the float mode so just drop it. Drop a couple of other unused or redundant fields from GLXconfig.
2008-08-17glx: avoid possible NULLptr deref, fix #16884Jie Luo1-4/+8
2008-08-09glx: fix crash in driGetConfigAttribIndexDave Miller1-0/+4
Don't access GLboolean via int pointers
2008-08-06glcontextmodes.[hc] were not added with the removal of the meas symlinks ↵Jeremy Huddleston3-0/+607
patch. Copied from mesa head 2008.08.06. (cherry picked from commit 409e1dd1e9524b5c1a1ae58a759da77e587e3780)
2008-07-28GLX: Unreference drawables bound to the old context, not the new one.Michel Dänzer1-3/+3
Apart from the obvious reference counting issue, this fixes http://bugs.freedesktop.org/show_bug.cgi?id=16867 .
2008-07-28AIGLX/DRI1: Pay more attention to return value from DRIGetDrawableInfo().Michel Dänzer1-2/+6
Could have crashed otherwise if the num(Back)ClipRects variables referenced by the caller weren't pre-initialized to 0.
2008-07-25Clean up unused definitions from glx headers.Kristian Høgsberg3-57/+0
2008-07-24Don't abort if swrast library is not presentDaniel Drake2-14/+25
GLX is enabled by default, but the current swrast behaviour causes X to abort with fatal error if the swrast dri library dlopen fails. Handle the case where the swrast library is not present, and do not register the GLX extension unless at least one screen has a usable GL provider.
2008-07-24Drop the glx resize hook and stop chaining PositionWindow.Kristian Høgsberg7-90/+0
2008-07-24Drop unnecessary linked list of contexts from GLXDrawable.Kristian Høgsberg3-83/+10
2008-07-21Need to unref pixmaps backing pbuffers too.Kristian Høgsberg1-1/+5
2008-07-21Fix embarrasing GLXPixmap leak.Kristian Høgsberg2-4/+5
2008-07-20distcheck fixesJulien Cristau1-0/+3
Still seems to fail because hw/xquartz has too long filenames
2008-07-02VBO: Regenerate files based on recent changes to gl_API.xmlIan Romanick2-2/+14
Since GL_ARB_vertex_buffer_object protocol isn't supported yet, these changes are innocuous.
2008-06-13glx: drop unused cleargcGeorge Sapountzis1-7/+0
2008-06-13AIGLX/DRI1: Switch to server context for calling pScreen->GetImage.Michel Dänzer1-0/+4
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=16292 .
2008-06-10glx: copy msaa visual capabilitiesRoland Scheidegger1-6/+9
2008-06-05gl: include assert.h if we're compiling with DEBUG.Paulo Cesar Pereira de Andrade1-0/+3
Signed-off-by: Peter Hutterer <peter@cs.unisa.edu.au>
2008-05-23glx: fix memory corruption with r5g6b5George Sapountzis1-2/+5
should cherry-pick to xserver-1.5
2008-05-23glx: missing swrast is fatalGeorge Sapountzis1-1/+1
2008-05-23glx: drop stray glcore.h includeGeorge Sapountzis1-6/+0
2008-05-21Move GL/glx on level up now that it's the only thing left under GL.Kristian Høgsberg58-0/+46366