summaryrefslogtreecommitdiffstats
path: root/src/glx
Commit message (Collapse)AuthorAgeFilesLines
* dri2: Avoid round-tripping on DRI2GetBuffers for the same set of buffers.Eric Anholt2009-02-022-0/+53
| | | | | | | | We only wanted to request when asked for the same set of buffers when a resize has happened. We can just watch the protocol stream for a ConfigureNotify and flag to do it then. This is about a 5% win from doing two glViewport()s per frame in openarena.
* Make GLX_SGIX_pbuffer mandatoryIan Romanick2009-01-281-1/+1
| | | | Signed-off-by: Ian Romanick <[email protected]>
* dri2: add complaints for more initialization failures.Eric Anholt2009-01-271-3/+9
| | | | | Somehow we're running into DRI2Authenticate failing, and silent demotion to swrast is bad.
* 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]>
* Build fixes for gcc 2.95Matthieu Herrb2009-01-112-6/+5
|
* Fix build with GCC 2.95.Owain G. Ainsworth2009-01-111-2/+2
|
* 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.
* Bump dri2proto requirement to 1.99.3, drop CopyRegion bitmask from protocol.Kristian Høgsberg2008-12-011-1/+0
|
* 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
|
* glx: Add missing include for XCB, fixing crash on 64-bit.Bernd Buschinski2008-11-241-0/+1
| | | | Bug #18689
* 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
|
* 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.
* 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
|
* glx: indent -br -i3 -npcs --no-tabs renderpix.cRALOVICH, Kristóf2008-10-131-102/+111
|
* glx: indent -br -i3 -npcs --no-tabs render2.cRALOVICH, Kristóf2008-10-131-272/+296
|
* glx: indent -br -i3 -npcs --no-tabs pixelstore.cRALOVICH, Kristóf2008-10-131-254/+271
|
* glx: indent -br -i3 -npcs --no-tabs pixel.cRALOVICH, Kristóf2008-10-131-349/+373
|
* glx: indent -br -i3 -npcs --no-tabs packsingle.hRALOVICH, Kristóf2008-10-131-107/+107
|
* glx: indent -br -i3 -npcs --no-tabs packrender.hRALOVICH, Kristóf2008-10-131-121/+121
|