aboutsummaryrefslogtreecommitdiffstats
path: root/src/glx
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit 'origin/master' into gallium-0.2Alan Hourihane2009-01-222-24/+32
|\ | | | | | | | | | | | | Conflicts: windows/VC8/mesa/osmesa/osmesa.vcproj windows/VC8/progs/demos/gears.vcproj windows/VC8/progs/progs.sln
| * Fix issues with glXMakeContextCurrent and glXMakeCurrentReadSGIIan Romanick2009-01-201-21/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There were several bugs in the infrastructure for these two routines. 1. GLX_ALIAS was incorrectly used. The function and its alias must be identical! glXMakeContextCurrent / glXMakeCurrentReadSGI and MakeContextCurrent had different parameters. This caused the last parameter of MakeContextCurrent to get random values. 2. We based the implementation of glXMakeContextCurrent on the manual page instead of the GLX spec. The GLX spec says that glXMakeContextCurrent can be passed a Window as a drawable. When this happens, it will behave just like glXMakeCurrentReadSGI or glXMakeCurrent. 3. If there was a problem finding or creating the DRI drawable, MakeContextCurrent would crash instead of returning an error. This commit fixes all three issues, and fixes bug #18367 and bug #19625.
| * glx: gcc 2.95 build fix (move declaration before code)Brian Paul2009-01-181-3/+7
| | | | | | | | Adapted from patch by Matthieu Herbb <[email protected]>
* | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2009-01-143-8/+7
|\| | | | | | | | | | | | | | | | | | | | | Conflicts: docs/install.html docs/relnotes-7.3.html src/mesa/shader/slang/slang_codegen.c src/mesa/shader/slang/slang_compile.c src/mesa/shader/slang/slang_emit.c src/mesa/shader/slang/slang_preprocess.c src/mesa/shader/slang/slang_preprocess.h
| * Build fixes for gcc 2.95Matthieu Herrb2009-01-112-6/+5
| |
| * Fix build with GCC 2.95.Owain G. Ainsworth2009-01-111-2/+2
| |
* | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-12-151-6/+4
|\|
| * GLX: Change resulting from previous commitIan Romanick2008-12-141-6/+4
| | | | | | | | | | | | | | | | Commit db61cbfa2aa241da49589331d8b6875d9a77d826 made modifications to the protocol generator data and scripts. This commit represents the changes to the generated files resulting from the previous changes. This is the client-side part of the fix for bugzilla #11003.
* | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-12-081-1/+0
|\| | | | | | | | | | | Conflicts: progs/glsl/Makefile
| * Bump dri2proto requirement to 1.99.3, drop CopyRegion bitmask from protocol.Kristian Høgsberg2008-12-011-1/+0
| |
* | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-11-285-23/+163
|\|
| * Revert "glx: xcbified visual and FBConfig choosing"RALOVICH, Kristóf2008-11-271-103/+6
| | | | | | | | This reverts commit 62688f11355cfa865d420755aa159875b425cc9b.
| * Revert "glx: revert using nonexsisten XCB version of glXGetFBConfigsSGIX"RALOVICH, Kristóf2008-11-271-0/+58
| | | | | | | | This reverts commit 53698765019e50172be25a4ff48c83d54f0e7981.
| * glx: revert using nonexsisten XCB version of glXGetFBConfigsSGIXRALOVICH, Kristóf2008-11-261-58/+0
| | | | | | | | | | | | | | | | This uses a GLX VendorPrivate request. VendorPrivates are real GLX API calls but use the same protocol request. XCB does not currently support specific VendorPrivetes directly. See eg.: http://lists.freedesktop.org/archives/xcb/2008-November/004036.html for more information.
| * glx: remove XCB debug leftoverRALOVICH, Kristóf2008-11-261-4/+0
| |
| * glx: xcbified glXSwapBuffersRALOVICH, Kristóf2008-11-261-1/+8
| |
| * glx: xcbified visual and FBConfig choosingRALOVICH, Kristóf2008-11-261-6/+103
| |
| * glx: xcbified __glXClientInfoRALOVICH, Kristóf2008-11-261-4/+17
| |
| * glx: no graphics context during initializationRALOVICH, Kristóf2008-11-265-11/+15
| |
| * glx: xcbified __glXIsDirectRALOVICH, Kristóf2008-11-261-0/+21
| |
| * glx: missing static on local functionRALOVICH, Kristóf2008-11-261-1/+1
| |
| * glx: use __glXGetStringRALOVICH, Kristóf2008-11-261-3/+1
| |
| * glx: use __glXQueryServerStringRALOVICH, Kristóf2008-11-262-11/+5
| |
| * glx: implement __glXGetString, hide __glXGetStringFromServerRALOVICH, Kristóf2008-11-262-21/+72
| |
| * glx: implement QueryVersion using XCBRALOVICH, Kristóf2008-11-261-1/+22
| |
| * glx: implement __glXQueryServerString using XCBRALOVICH, Kristóf2008-11-262-0/+35
| |
* | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-11-241-0/+1
|\| | | | | | | | | | | Conflicts: progs/glsl/Makefile
| * glx: Add missing include for XCB, fixing crash on 64-bit.Bernd Buschinski2008-11-241-0/+1
| | | | | | | | Bug #18689
* | Merge commit 'origin/master' into gallium-0.2Keith Whitwell2008-11-154-2/+13
|\| | | | | | | | | | | Conflicts: src/mesa/shader/prog_print.c
| * glFlush before CopySubBuffer, fix coordinates and extension name typo.Kristian Høgsberg2008-11-123-2/+8
| |
| * glx: fix xcb buildHanno Böck2008-11-121-0/+5
| |
* | Merge commit 'origin/master' into gallium-0.2Brian Paul2008-11-1144-182/+118
|\| | | | | | | | | | | | | Conflicts: src/mesa/shader/prog_execute.c src/mesa/shader/slang/library/slang_vertex_builtin_gc.h
| * Don't mess with emacs tab width.Kristian Høgsberg2008-11-1143-43/+0
| |
| * GLX: fix out-of-bounds memory issue in indirect glAreTexturesResident()Brian Paul2008-11-102-139/+118
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | See bug 18445. When getting array results, __glXReadReply() always reads a multiple of four bytes. This can cause writing to invalid memory when 'n' is not a multiple of four. Special-case the glAreTexturesResident() functions now. To fix the bug, we use a temporary buffer that's a multiple of four bytes in length. NOTE: this commit also reverts part of commit 919ec22ecf72aa163e1b97d8c7381002131ed32c (glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protection) which directly edited the indirect.c file rather than the python generator! I'm not repairing that issue at this time.
* | Merge commit 'origin/master' into gallium-0.2Alan Hourihane2008-10-271-1/+1
|\|
| * glx: updated commentKristof Ralovich2008-10-211-1/+1
| |
| * Update DRI2 implementation according to new specification.Kristian Høgsberg2008-10-147-69/+101
| |
| * Revert pointless reindents to avoid merge conflicts.Kristian Høgsberg2008-10-147-3019/+2893
| | | | | | | | Why are we reindenting code that's work in progress...
| * glx: indent -br -i3 -npcs --no-tabs glxclient.hRALOVICH, Kristóf2008-10-131-173/+188
| |
| * glx: indent -br -i3 -npcs --no-tabs glcontextmodes.hRALOVICH, Kristóf2008-10-131-15/+15
| |
| * glx: indent -br -i3 -npcs --no-tabs glxextensions.cRALOVICH, Kristóf2008-10-131-178/+183
| |
| * glx: indent -br -i3 -npcs --no-tabs glxextensions.hRALOVICH, Kristóf2008-10-131-24/+32
| |
| * glx: indent -br -i3 -npcs --no-tabs xfont.cRALOVICH, Kristóf2008-10-131-211/+212
| |
| * glx: indent -br -i3 -npcs --no-tabs xf86dristr.hRALOVICH, Kristóf2008-10-131-207/+232
| |
| * glx: indent -br -i3 -npcs --no-tabs XF86dri.cRALOVICH, Kristóf2008-10-131-461/+493
| |
| * glx: indent -br -i3 -npcs --no-tabs xf86dri.hRALOVICH, Kristóf2008-10-131-52/+53
| |
| * glx: kill old K&R syntax in XF86dri.cRALOVICH, Kristóf2008-10-131-63/+15
| |
| * glx: indent -br -i3 -npcs --no-tabs vertarr.cRALOVICH, Kristóf2008-10-131-103/+118
| |
| * glx: indent -br -i3 -npcs --no-tabs singlepix.cRALOVICH, Kristóf2008-10-131-138/+145
| |
| * glx: indent -br -i3 -npcs --no-tabs single2.cRALOVICH, Kristóf2008-10-131-681/+718
| |