summaryrefslogtreecommitdiffstats
path: root/include/GL/glx.h
Commit message (Collapse)AuthorAgeFilesLines
* includes/GL: remove duplicated extension declarations from glx.hEmil Velikov2015-08-011-92/+0
| | | | | | | | | | | | All three of GLX_NV_float_buffer, GLX_EXT_texture_from_pixmap and GLX_MESA_query_renderer have been in glxext.h for a while now. As such we can drop this workaround/hack from the header. v2: Remove the comment about GLX_NV_float_buffer. Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Brian Paul <[email protected]> (v1)
* glxext: Send the Drawable's ID in the GLX_BufferSwapComplete eventJasper St. Pierre2014-06-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | While the official INTEL_swap_event specification says that the drawable field should contain the GLXDrawable, not the Drawable, the existing DRI2 code in dri2.c that translates from DRI2_BufferSwapComplete sends out GLX_BufferSwapComplete with the Drawable's ID, so existing codebases like Clutter/Cogl rely on getting the Drawable. Match DRI2's error here and stuff the event with the X Drawable, not the GLX drawable. This fixes apps seeing wrong drawables through an indirect GLX context or with DRI3, which uses the GLX_BufferSwapComplete event directly on the wire instead of translates Present in mesa. At the same time, also modify the structure for the event to make sure that clients don't make the same mistake. This is not an API or ABI break, as GLXDrawable and Drawable are both typedefs for XID. Signed-off-by: Jasper St. Pierre <[email protected]> Reviewed-by: Axel Davy <[email protected]> Cc: "10.1 10.2" <[email protected]> Signed-off-by: Dave Airlie <[email protected]>
* Revert "mesa: Remove GLXContextID typedef from glx.h."Kenneth Graunke2013-12-291-0/+1
| | | | | | | | | | | This reverts commit 136a12ac98868d82c2ae9fcc80d11044a7ec56d1. According to belak51 on IRC, this commit broke Allegro, which would no longer compile. Applications apparently expect the GLXContextID typedef to exist in glx.h; removing it breaks them. A bit of searching around the internet revealed other complaints since upgrading to Mesa 10. Cc: "10.0" <[email protected]>
* glx: Add GLX_MESA_query_rendererIan Romanick2013-11-071-1/+26
| | | | | Signed-off-by: Ian Romanick <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
* mesa: Remove GLXContextID typedef from glx.h.Vinson Lee2013-10-181-1/+0
| | | | | | | | | | | | | | Fixes this build error. CC clientattrib.lo In file included from ../../include/GL/glx.h:333, from glxclient.h:45, from clientattrib.c:32: ../../include/GL/glxext.h:275: error: redefinition of typedef ‘GLXContextID’ ../../include/GL/glx.h:171: note: previous declaration of ‘GLXContextID’ was here Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=70591 Signed-off-by: Vinson Lee <[email protected]>
* mesa: remove outdated version lines in commentsRico Schüller2013-06-051-1/+0
| | | | Signed-off-by: Brian Paul <[email protected]>
* mesa: Restore 78-column wrapping of license text in C-style comments.Kenneth Graunke2013-04-231-3/+4
| | | | | | | | | | | | | | The previous commit introduced extra words, breaking the formatting. This text transformation was done automatically via the following shell command: $ git grep 'THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY' | sed 's/:.*$//' | xargs -I {} sh -c 'vim -e -s {} < vimscript where 'vimscript' is a file containing: /THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY/;/\*\// !fmt -w 78 -p ' * ' :wq Reviewed-by: Brian Paul <[email protected]>
* mesa: Add "OR COPYRIGHT HOLDERS" to license text disclaiming liability.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | This brings the license text in line with the MIT License as published on the Open Source Initiative website: http://opensource.org/licenses/mit-license.php Generated automatically be the following shell command: $ git grep 'THE AUTHORS BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/THE AUTHORS/THE AUTHORS OR COPYRIGHT HOLDERS/' {} This introduces some wrapping issues, to be fixed in the next commit. Reviewed-by: Brian Paul <[email protected]>
* mesa: Change "BRIAN PAUL" to "THE AUTHORS" in license text.Kenneth Graunke2013-04-231-1/+1
| | | | | | | | | | | | | | | | Generated automatically be the following shell command: $ git grep 'BRIAN PAUL BE LIABLE' | sed 's/:.*$//g' | xargs -I '{}' \ sed -i 's/BRIAN PAUL/THE AUTHORS/' {} The intention here is to protect all authors, not just Brian Paul. I believe that was already the sensible interpretation, but spelling it out is probably better. More practically, it also prevents people from accidentally copy & pasting the license into a new file which says Brian is not liable when he isn't even one of the authors. Reviewed-by: Brian Paul <[email protected]>
* Remove OpenVMS supportMatt Turner2012-11-161-13/+0
| | | | | | | | | | Not maintained since 2008. Doubtful that it's worked in quite a while. Also see commit 32ac8cb05 which removed VMS stuff from Makefile in 2009. Cc: Jouk Jansen <[email protected]> Reviewed-by: Brian Paul <[email protected]> Signed-off-by: Andreas Boll <[email protected]>
* glx: Drop support for GLX_MESA_allocate_memoryKristian Høgsberg2010-07-191-16/+0
| | | | Only r200 implemented it.
* mesa: misc GLX_INTEL_swap_event fixesRobert Bragg2010-01-251-1/+5
| | | | | | | | Fixup a few issues found through testing: - update GLX names to match glproto - register DRI2WireToEvent so it actually gets called Signed-off-by: Robert Bragg <[email protected]>
* DRI2/GLX: add INTEL_swap_event supportJesse Barnes2010-01-081-0/+19
| | | | | | | Add event support for the GLX swap buffers event, along with DRI2 protocol support for generating GLX swap buffers events in the direct rendered case. Signed-off-by: Jesse Barnes <[email protected]>
* glx: added PFNGL*PROC typedefs for GLX 1.3 functionsBrian Paul2008-10-291-11/+30
| | | | | Since we define GLX_VERSION_1_3 in glx.h, the typedefs in the glxext.h header were getting skipped.
* updated GLX_EXT_texture_from_pixmap tokens (Dave Reveman)Brian Paul2006-05-051-1/+38
|
* Update function signatures for EXT_tfp entrypoints.Adam Jackson2006-05-011-2/+2
|
* Add attrib_list to glXBindTexImageEXTDavid Reveman2006-04-111-1/+1
|
* bump version/dateBrian Paul2006-03-311-1/+1
|
* fix some PFNGL* typedefsBrian Paul2006-03-261-5/+5
|
* Add prototypes for GLX_MESA_swap_frame_usage, GLX_MESA_swap_control, andBrian Paul2006-03-091-0/+54
| | | | | GLX_EXT_texture_from_pixmap to silence warnings while compiling glxcmds.c XXX: Need to add the new tokens for GLX_EXT_texture_from_pixmap!!!
* remove a bunch of extension stuff that's in glxext.hBrian Paul2005-11-081-147/+5
|
* bring over structs from Xorg glx.h to make Mesa glx.h the one true glx.hDave Airlie2005-02-261-0/+22
|
* Add GLX_MESA_allocate_memory from Xorg glx.hDave Airlie2005-02-261-0/+15
|
* added GLX_NV_float_bufferBrian Paul2005-01-041-2/+13
|
* change include of glx_mangle.h to match other headersBrian Paul2004-09-271-3/+3
|
* remove duplicate GLX_DRAWABLE_TYPE token, sorted tokens by enum valueBrian Paul2004-05-211-22/+21
|
* Quash annoying compiler warningKeith Whitwell2003-12-111-1/+1
|
* Removed all RCS / CVS tags (Id, Header, Date, etc.) from everything.Ian Romanick2003-06-051-2/+0
|
* prototype render-to-textureBrian Paul2003-01-141-1/+14
|
* added missing GLX_TRANSPARENT_RGBBrian Paul2002-10-141-2/+3
|
* GLX_NV_vertex_array_range and GLX_MESA_agp_offset extensionsBrian Paul2002-10-081-11/+33
|
* added glXAllocate/FreeMemoryNV()Brian Paul2002-08-221-1/+10
|
* oops, wrong value for GLX_SAMPLESBrian Paul2001-12-141-2/+2
|
* added GLX_SAMPLE_BUFFERS, GLX_SAMPLESBrian Paul2001-12-141-4/+4
|
* removed duplicate GLX_AUX_BUFFERS_BIT definitionBrian Paul2001-09-241-2/+1
|
* bump versions to 4.0Brian Paul2001-09-231-3/+3
|
* more GL 1.3 and GLX 1.4 updatesBrian Paul2001-09-141-1/+13
|
* added GLX_RGBA_TYPE, fixed GLX_LARGEST_PBUFFER typoBrian Paul2001-09-011-2/+3
|
* added four missing GLX 1.3 tokensBrian Paul2001-07-271-1/+5
|
* added missing GLX_PBUFFER_WIDTH/HEIGHT tokensBrian Paul2001-06-251-1/+3
|
* change GLXContext and GLXFBConfig typedefsBrian Paul2001-05-241-3/+3
|
* updated glXSet3DfxModeMESA() prototype typesBrian Paul2000-12-141-2/+2
|
* include glxext.h unless GLX_GLXEXT_LEGACY is definedBrian Paul2000-12-081-7/+7
|
* fixed GLX_PBUFFER valueBrian Paul2000-11-251-3/+3
|
* Committing in .Jouk Jansen2000-08-221-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | Modified Files: Mesa/include/GL/glx.h Mesa/include/GL/xmesa.h Mesa/src/descrip.mms Mesa/src/X/glxheader.h Mesa/src/X/xfonts.c Mesa/src/X/xfonts.h Mesa/src-glu/descrip.mms Mesa/src-glut/capturexfont.c Mesa/src-glut/descrip.mms Mesa/src-glut/glut_cmap.c Mesa/src-glut/glut_event.c Mesa/src-glut/glut_fullscrn.c Mesa/src-glut/glut_gamemode.c Mesa/src-glut/glut_init.c Mesa/src-glut/glut_input.c Mesa/src-glut/glut_menu.c Mesa/src-glut/glut_menu2.c Mesa/src-glut/glut_overlay.c Mesa/src-glut/glut_win.c Mesa/src-glut/glut_winmisc.c Mesa/src-glut/glutint.h Mesa/src-glut/layerutil.h Mesa/vms/analyze_map.com Added Files: Mesa/include/GL/vms_x_fix.h Patches effective on VMS only. This allows for compiling with /name=(as_is,short). This breaks the binary compatibility with previous versions for VMS, but is the only way to combine Mesa with GTK for VMS. Jouk ----------------------------------------------------------------------
* added extension numbers for Mesa extensionsBrian Paul2000-06-231-19/+22
|
* clean-up in anticipation of glxext.hBrian Paul2000-06-081-84/+134
|
* added GLX_EXT_import_context, 1.3 misc clean-upBrian Paul2000-04-191-3/+25
|
* added missing 1.3 token values, added glXGetFBConfigs(), fixed ↵Brian Paul2000-04-101-38/+41
| | | | glXChooseFBConfig()
* fixed typo in GLX_SLOW_VISUAL_EXTBrian Paul2000-03-311-2/+2
|