summaryrefslogtreecommitdiff
path: root/GL
AgeCommit message (Collapse)AuthorFilesLines
2007-03-04Support for Hurd and other non-linux GNU systems.Drew Parsons4-4/+4
Non-linux GNU systems such as Hurd will define __GLIBC__ or __GNU__ rather than __linux__. This must be tested for in order to get byteswap.h included. See commit 594d180fe4f5d508569f9b263799da5af5a97087 (24 Dec 2006) and other related patches (fixed in upstream HEAD then, why was the patch not brought across to the 1.3 branch?).
2007-01-29Keep track of how many visuals we set up for GLcore, to avoid an invalid free.Eric Anholt1-1/+3
The proper fix would involve actually setting up the ARGB visual for GLcore, but I just want the server to not crash at exit.
2007-01-22Bug #8991: Add glXGetDrawableAttributes dispatch; fix texture format therein.Adam Jackson6-44/+61
2007-01-22__glXDRIscreenProbe: Use drmOpen/CloseOnce.Michel Dänzer1-4/+5
Fixes https://bugs.freedesktop.org/show_bug.cgi?id=9275 . Based on patch from Alan Swanson. (cherry picked from 65f4690ecb4576f60396fcccff8e5bd5d4b6645f commit)
2006-12-24remove last remaning 'linux'isms (bug #5613)Samuel Thibault3-3/+3
Make sure we don't build non-Linux stuff in configure.ac, and test based on userland, rather than kernel.
2006-12-21added mipmap.cBrian1-0/+1
2006-11-30Fix GL context destruction with AIGLX.George Sapountzis1-1/+1
The logic for freeing GL contexts introduced by "Fix AIGLX VT switching." is inverted. As it is now, GL context destruction is deferred for glxDRIEnterVT(). (cherry picked from f17e3c34dfd1f1418440bdebf45764e4dbf550f0 commit)
2006-11-08'make dist' fixes.Adam Jackson1-5/+5
(cherry picked from 0409e1627a167db2efc1355f292d3c02a6989ffc commit)
2006-10-21Fix __glXDRIbindTexImage() for 32 bpp on big endian platforms.Michel Dänzer1-1/+6
(cherry picked from 3ad1642f1bbaa5f96558cdf3384b40f7122f8781 commit)
2006-10-11Fix bug #8608.Ian Romanick8-1436/+1903
Regenerate files based on recent commits to Mesa (that fix Mesa bug that return pixel data. (cherry picked from a6df780e4d3f90cc699b0b864bade03d6f15afd7 commit)
2006-10-11symlink-mesa.sh: expand *.{c,h}Daniel Stone1-11/+11
(cherry picked from d7c89c7c1c8c1e110345d9d8d300adbf5fe5804a commit)
2006-10-11Replace hard-coded filesnames with loops (all .c and .h files).Brian1-351/+33
Should fix problems with Mesa adding/removing source files, for the most part. Patch by Dan Nicholson. (cherry picked from 84eb2c0a06de60e88e14bb03fabe661d7cd8f1d3 commit)
2006-10-11Bug #8449: Yet another Mesa symlink script resync.Jeff Smith1-0/+3
(cherry picked from cf6e9687ffcc52af0d64e9098186570719a575a2 commit)
2006-10-11Back out merge of master to 1.2 branch. Undoes 89987ca...Adam Jackson1-33/+348
Dear git: please make 'git-revert' work on merge commits kthnxbye.
2006-10-02symlink-mesa.sh: expand *.{c,h}Daniel Stone1-11/+11
2006-09-28Replace hard-coded filesnames with loops (all .c and .h files).Brian1-351/+33
Should fix problems with Mesa adding/removing source files, for the most part. Patch by Dan Nicholson.
2006-09-28Bug #8449: Yet another Mesa symlink script resync.Jeff Smith1-0/+3
2006-09-14Use correct opcodes for GLX_EXT_texture_from_pixmap.Ian Romanick1-118/+131
Regenerate from glX_API.xml 1.3 from Mesa. The glproto package and libGL (from Mesa) must also be updated.
2006-09-07Fix AIGLX VT switching.Kristian Høgsberg3-27/+104
See https://bugs.freedesktop.org/show_bug.cgi?id=7916 There may be a simpler, less intrusive fix that involves just rearranging DRI locking between 2D and 3D drivers around VT switch.
2006-09-06Remove prototypes and externs for non-existant functions and variables.Ian Romanick2-8/+0
2006-09-06Remove prototypes for non-existant functions.Ian Romanick1-19/+0
2006-08-31Add missing file from previous commit.Ian Romanick1-0/+105
2006-08-31Implement GLX_SGI_swap_control.Ian Romanick7-29/+43
Regenerate from glX_API.xml 1.2. Add infrastructure to support GLX_SGI_swap_control for AIGLX when the DRI driver enables it. Tested with R300.
2006-08-31Fix problems with vertex program protocolIan Romanick3-227/+252
There were two sets of bugs in the vertex program (ARB and NV) protocol. First, several of the ARB functions were missing the 'doubles_in_order="true"' annotation. Second, after the ARB decided that glVertexAttrib*ARB functions must not alias fixed-function state for GLSL, Nvidia re-assigned GLX protocol opcodes for glVertexAttrib*NV (circa Septeber 2004). For some reason gl_API.xml was never updated to reflect this, and the updated version of the GL_NV_vertex_program spec never made into the registry. This is just a server-side regeneration from gl_API.xml version 1.68.
2006-08-29Minor extension tweaks.Ian Romanick1-2/+1
GLX_EXT_texture_from_pixmap should always be enabled. GLX_SGI_video_sync is only for direct rendering and should never appear in the server's string.
2006-08-29Make sure unsupported extensions are disabled.Ian Romanick1-0/+2
GLX protocol isn't supported for GLX_SGI_swap_control or GLX_SGI_video_sync. Remove them from the list of available extensions until they are supported.
2006-08-29Add support for AIGLX drivers to enable GLX extensions that they support.Ian Romanick4-1/+265
2006-08-29Remove __glXNoSuchRenderOpcode because it is no longer used.Ian Romanick2-7/+0
2006-08-25Enable GL_EXT_texture_filter_anisotropic and GL_EXT_blend_equation_separate.Ian Romanick6-4/+25
Re-generate from gl_API.xml 1.65. This provides the missing bits for GL_EXT_texture_filter_anisotropic and GL_EXT_blend_equation_separate. Enable those extensions.
2006-08-25Enable vertex and fragment programs.Ian Romanick5-21/+176
Implement glGetProgramStringARB and glGetProgramStringNV. With these functions implemented, GL_ARB_{vertex,fragment}_program, GL_NV_{vertex,fragment}_program, and related extensions can be enabled.
2006-08-24Finish support for GL_ARB_texture_compression.Ian Romanick5-11/+141
Fill in __glXDisp_GetCompressedTexImageARB and __glXDispSwap_GetCompressedTexImageARB to finish support for GL_ARB_texture_compression. With this extension (and the related compression extensions), the server-side GLX supports all of the protocol for GL 1.4. w00t! The bad news is that this has received only minimal testing, and Mesa does not contain any good tests for GL_ARB_texture_compression.
2006-08-24Remove GL/glx/g_disptab.c, GL/glx/g_disptab_EXT.c, andIan Romanick8-5225/+1
GL/glx/g_disptab_EXT.h. Unfortunately GL/glx/g_disptab.h has to be kept around a bit longer.
2006-08-24Add some missing bits of GL_SGI_color_table.Ian Romanick4-0/+116
2006-08-24Regenerate from gl_API.xml 1.63. Enable extensions.Ian Romanick5-58/+220
gl_API.xml 1.63 corrects some problems with GLX protocol for GL_EXT_paletted_texture and GL_SGI_color_table. Regenerate from that file, and enable those extensions and GL_EXT_shared_texture_palette.
2006-08-24Regenerate from gl_API.xml 1.62. Functions move, no real changes.Ian Romanick4-1893/+1893
2006-08-24Adapt to Mesa header name change.Lukáš Turek1-1/+1
2006-08-24Fix typoAlan Hourihane1-1/+1
2006-08-23Fix the sorting of the extension string. Add a few extensions thatIan Romanick1-4/+20
are supported by the new code. A few of these were actually supported before but weren't advertised.
2006-08-23Refector __glXDisp_Render and __glXDispSwap_Render to DoRender.Ian Romanick3-309/+58
Refector __glXDisp_RenderLarge and __glXDispSwap_RenderLarge to DoRenderLarge.
2006-08-23Memo to myself: Whenever a Makefile.am changes, autogen.sh must beIan Romanick2-36/+11
re-run. This is especially true if the change is to remove a source file. Fix RenderLarge to actually use the new protocol decode tables.
2006-08-23Convert protocol decode tabels for Render and RenderLarge to use nice,Ian Romanick7-2652/+1073
compact N-way search trees generated by scripts in Mesa.
2006-08-23Fix __glXDispatchInfo::dispatch_functions andIan Romanick1-3/+3
__glXDispatchInfo::size_table. dispatch_functions had the const in the wrong place, and size_table was declared as an array of two pointers to int_fast16_t instead of a pointer to an array of 2 int_fast16_t. cdecl to the rescue!
2006-08-23Rename __glXDrawArraysSize to __glXDrawArraysReqSize. This makes itsIan Romanick3-4/+4
name match the pattern of all the other functions in __glXRenderSizeTable.
2006-08-23Re-generated files after a fix to glX_API.xml (in Mesa).Ian Romanick2-1/+3
2006-08-23Convert protocol decode tables for Single, VendorPrivate, andIan Romanick20-761/+1076
VendorPrivateWithReply message to use nice, compact N-way search trees generated by scripts in Mesa. The Render protocol decode tables are next...
2006-08-09Sanitized glxdri's Block/Wakeuphandler calling.Tilman Sauerbeck1-8/+2
__glXDRIleaveServer() and _enterServer() used to call DRIDoBlockHandler (resp DRIDoWakeupHandler) directly. They are now calling DRIBlockHandler (resp DRIWakeupHandler) to account for driver specific block/wakeup hooks.
2006-07-23glx: fix typo from tag removalDave Airlie1-0/+1
2006-07-21Remove RCS tags. Fix Xprint makefile braindamage.Adam Jackson30-30/+0
2006-07-18get rid of XFree86LOADER, XFree86Server, XFree86Module, and IN_MODULEDaniel Stone12-36/+12
Get rid of almost all uses of these definitions. They're still defined for delinquent out-of-tree drivers, and also for the Mesa build. As well as for miinitext.c. But largely gone.
2006-07-06Implement GLX_MESA_copy_sub_buffer.Kristian Høgsberg3-6/+84