summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/single2.c
Commit message (Collapse)AuthorAgeFilesLines
* glx: no graphics context during initializationRALOVICH, Kristóf2008-11-261-1/+1
|
* glx: use __glXGetStringRALOVICH, Kristóf2008-11-261-3/+1
|
* glx: Add missing include for XCB, fixing crash on 64-bit.Bernd Buschinski2008-11-241-0/+1
| | | | Bug #18689
* glx: fix xcb buildHanno Böck2008-11-121-0/+5
|
* Don't mess with emacs tab width.Kristian Høgsberg2008-11-111-1/+0
|
* GLX: fix out-of-bounds memory issue in indirect glAreTexturesResident()Brian Paul2008-11-101-0/+103
| | | | | | | | | | | | | | | | 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: indent -br -i3 -npcs --no-tabs single2.cRALOVICH, Kristóf2008-10-131-681/+718
|
* glx: add a line of Emacs helping variablesRALOVICH, Kristóf2008-10-131-0/+1
|
* Update to SGI FreeB 2.0.Adam Jackson2008-09-191-34/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* fix bug 9823: GL_CLIENT_ATTRIB_STACK_DEPTH query fails for indirect renderingWei Wang2007-04-081-9/+9
|
* Add missing includes of indirect.h.Ian Romanick2005-04-141-0/+1
|
* Missed the commit of glxext.c yesterday.Ian Romanick2005-02-231-271/+95
| | | | | | | Fixed a flow control problem in glGet*v that could result in the display not being unlocked. This also resulted in refactoring a lot more code out of the glGet*v routines into get_array_data, which was renamed to get_client_data.
* Added __glExtensionBiIsEnabled and __GLXcontext::gl_extension_bits. ThisIan Romanick2005-02-221-230/+179
| | | | | | | | | | | | | | | enables libGL to query which extension are exported to applications. Refactored array-query functionality (from glGet*v) in src/glx/x11/single2.c. Massive re-write of indirect vertex array support. The most noticable effect is that glDrawElements now generates DrawArrays protocol. The side-effects (and the main reasons for the re-work) are that it is much easier to add support for new arrays (e.g., GL_VERTEX_ATTRIB_ARRAY, GL_WEIGHT_ARRAY_ARB, etc.) and it is much easier to add support for the new DrawArrays protocol (required to support ARB_vertex_buffer_object). These changes were primarilly tested with progs/demos/isosurf.
* Refactor the code that converts a transpose-matrix enum to aIan Romanick2005-01-071-48/+25
| | | | regular-matrix enum.
* Use GLX protocol code generated by glX_proto_send.py.Ian Romanick2004-12-201-14/+0
|
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-011-15/+14
| | | | | | Eliminate the need for indirect_wrap.h and NEED_GL_FUNCS_WRAPPED. Basically, this means prepending __indirect_ to all the definitions and calls of GL functions that don't already have it.
* Import the GLX client side library, formerly from xc/lib/GL/glx. Build itAdam Jackson2004-10-251-0/+1097
by adding 'glx/x11' to SRC_DIRS in your build config.