summaryrefslogtreecommitdiffstats
path: root/src/glx/x11/singlepix.c
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* glx: remove #include "glheader.h" linesBrian Paul2008-09-181-1/+0
| | | | | Was only used to get the PUBLIC/USED macros. Also, replace "GL_FALSE" with "False" in a couple places.
* glx/x11: Added some #ifdef GLX_DIRECT_RENDERING protectionJeremy Huddleston2008-08-081-2/+4
|
* Fix builds with compilers other than gcc 3.0 & newerAlan Coopersmith2008-06-211-0/+1
| | | | | | | Add #include "glheader.h" for definition of __builtin_expect for compilers that don't support it. Signed-off-by: Brian Paul <[email protected]>
* Move DRI context functions into dri_glx.c.Kristian Høgsberg2008-03-081-1/+1
| | | | Also drop isDirect flag; if gc->driContext is non-NULL, it's direct.
* Fix dumb build errors.Ian Romanick2006-10-131-0/+1
| | | | | | I always build with -DGLX_USE_TLS, so I never hit these paths. glapi.h is required in some places because _glapi_Dispatch is declared there, but _glapi_tls_Dispatch is declared in glthread.h.
* Fix bug #4681.Ian Romanick2006-10-111-0/+86
| | | | | | | | | | | | | | | | | glDeleteTextures and glDeleteTexturesEXT were erroneously listed as aliases of each other. For anything /except/ GLX protocol they are aliases. This set of changes allows functions that are functionally identical but have different GLX protocol to be listed as aliases. When building with GLX_INDIRECT_RENDERING set, different static functions are used. These functions determine whether the current context is direct rendering or not. If the context is direct rendering, the aliased function (e.g., glDeleteTextures in the case of glDeleteTexturesEXT) is called. If the context is not direct rendering, the correct GLX protocol is sent. For a deeper explanation of what is changed, please see: http://dri.freedesktop.org/wiki/PartiallyAliasedFunctions
* Add missing includes of indirect.h.Ian Romanick2005-04-141-0/+1
|
* Generate GLX protocol for pixel single commands.Ian Romanick2005-02-091-311/+0
|
* Pixel oriented render functions are now generated by theIan Romanick2005-01-071-2/+2
| | | | | | glX_proto_send.py script. This eliminates ~600 lines of non-generated code. With proper compiler optimization settings, it also decreases the size of libGL.so by about 3KB.
* Make the transition to script-genereated GLX code easier.Ian Romanick2004-12-011-8/+8
| | | | | | 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/+415
by adding 'glx/x11' to SRC_DIRS in your build config.