summaryrefslogtreecommitdiff
path: root/src/glx
AgeCommit message (Collapse)Author
2009-01-20Fix issues with glXMakeContextCurrent and glXMakeCurrentReadSGIIan Romanick
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.
2009-01-18glx: gcc 2.95 build fix (move declaration before code)Brian Paul
Adapted from patch by Matthieu Herbb <matthieu.herrb@laas.fr>
2009-01-11Build fixes for gcc 2.95Matthieu Herrb
2009-01-11Fix build with GCC 2.95.Owain G. Ainsworth
2008-12-14GLX: Change resulting from previous commitIan Romanick
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.
2008-12-01Bump dri2proto requirement to 1.99.3, drop CopyRegion bitmask from protocol.Kristian Høgsberg
2008-11-27Revert "glx: xcbified visual and FBConfig choosing"RALOVICH, Kristóf
This reverts commit 62688f11355cfa865d420755aa159875b425cc9b.
2008-11-27Revert "glx: revert using nonexsisten XCB version of glXGetFBConfigsSGIX"RALOVICH, Kristóf
This reverts commit 53698765019e50172be25a4ff48c83d54f0e7981.
2008-11-26glx: revert using nonexsisten XCB version of glXGetFBConfigsSGIXRALOVICH, Kristóf
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.
2008-11-26glx: remove XCB debug leftoverRALOVICH, Kristóf
2008-11-26glx: xcbified glXSwapBuffersRALOVICH, Kristóf
2008-11-26glx: xcbified visual and FBConfig choosingRALOVICH, Kristóf
2008-11-26glx: xcbified __glXClientInfoRALOVICH, Kristóf
2008-11-26glx: no graphics context during initializationRALOVICH, Kristóf
2008-11-26glx: xcbified __glXIsDirectRALOVICH, Kristóf
2008-11-26glx: missing static on local functionRALOVICH, Kristóf
2008-11-26glx: use __glXGetStringRALOVICH, Kristóf
2008-11-26glx: use __glXQueryServerStringRALOVICH, Kristóf
2008-11-26glx: implement __glXGetString, hide __glXGetStringFromServerRALOVICH, Kristóf
2008-11-26glx: implement QueryVersion using XCBRALOVICH, Kristóf
2008-11-26glx: implement __glXQueryServerString using XCBRALOVICH, Kristóf
2008-11-24glx: Add missing include for XCB, fixing crash on 64-bit.Bernd Buschinski
Bug #18689
2008-11-12glFlush before CopySubBuffer, fix coordinates and extension name typo.Kristian Høgsberg
2008-11-12glx: fix xcb buildHanno Böck
2008-11-11Don't mess with emacs tab width.Kristian Høgsberg
2008-11-10GLX: fix out-of-bounds memory issue in indirect glAreTexturesResident()Brian Paul
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.
2008-10-21glx: updated commentKristof Ralovich
2008-10-14Update DRI2 implementation according to new specification.Kristian Høgsberg
2008-10-14Revert pointless reindents to avoid merge conflicts.Kristian Høgsberg
Why are we reindenting code that's work in progress...
2008-10-13glx: indent -br -i3 -npcs --no-tabs glxclient.hRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs glcontextmodes.hRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs glxextensions.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs glxextensions.hRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs xfont.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs xf86dristr.hRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs XF86dri.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs xf86dri.hRALOVICH, Kristóf
2008-10-13glx: kill old K&R syntax in XF86dri.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs vertarr.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs singlepix.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs single2.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs renderpix.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs render2.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs pixelstore.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs pixel.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs packsingle.hRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs packrender.hRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs indirect_window_pos.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs indirect_vertex_program.cRALOVICH, Kristóf
2008-10-13glx: indent -br -i3 -npcs --no-tabs indirect_vertex_array_priv.hRALOVICH, Kristóf