summaryrefslogtreecommitdiffstats
path: root/src/glx
Commit message (Collapse)AuthorAgeFilesLines
* When error-checking 'unit' against num_texture_units, need to use >=, not >.Brian Paul2006-05-091-1/+1
| | | | See bug 6863.
* Update function signatures for EXT_tfp entrypoints.Adam Jackson2006-05-011-12/+8
|
* FBConfig support for EXT_tfpDavid Reveman2006-04-111-0/+15
|
* Add attrib_list to glXBindTexImageEXTDavid Reveman2006-04-111-2/+25
|
* Fix CreateDrawableDavid Reveman2006-04-111-1/+7
|
* make miniglx use libdrm properlyDave Airlie2006-04-071-2/+1
|
* Coverity #943: Avoid a NULL chase.Adam Jackson2006-04-071-4/+7
|
* setup to use pci access, comment out size bumps,Dave Airlie2006-04-031-3/+7
| | | | sest xres from real width, use new -1 ddx version
* do a drm lock/unlock sequence after the client closeDave Airlie2006-04-031-2/+5
|
* add width to struct for width != virtual widthDave Airlie2006-04-031-0/+1
|
* make miniglx use libdrm and libpciaccessDave Airlie2006-04-031-4/+1
|
* Coverity #468: Fill in the rest of the error_list to match the error codesAdam Jackson2006-04-031-0/+4
| | | | | defined in glxproto.h. Avoids reading semi-random memory (and probably crashing) when calling __glXErrorString().
* Dave Reveman's patch for GLX_MESA_copy_sub_buffer supportBrian Paul2006-03-312-10/+62
|
* Set always_array=true for glGenProgramsNV (Dave Reveman)Brian Paul2006-03-141-1/+1
|
* s/GLint/int/, to fit GLX conventionsBrian Paul2006-03-091-2/+3
|
* Instead of adding extra flags to DEFINES with +=, define EXTRA_DEFINES instead.Brian Paul2006-03-091-3/+3
| | | | This eliminates a bunch of duplication in the compilation commmands.
* EXT_framebuffer_object (Dave Reveman)Brian Paul2006-02-242-0/+2
|
* remove stray 'foo' lineBrian Paul2006-02-151-1/+0
|
* replace size_t * w/ unsigned int * (Jurg Billeter)Brian Paul2006-02-141-2/+2
|
* David Reveman's GLX_EXT_texture_from_pixmap extension patchBrian Paul2006-02-074-22/+117
|
* Test sizeof(drm_handle_t) instead of LONG64 when returning handlesBrian Paul2005-12-021-6/+8
|
* This is a major re-work of the __indirect_glInterleavedArrays routine. TheIan Romanick2005-11-301-133/+89
| | | | | | | | | | | | | | | | | big, ugly, error prone switch-statement is replaced with a compact table. I also added numerous comments, including a comment explaining how the format parameter is validated. Explicitly pass GL_FLOAT as the type in the cases where that is the only possible value (e.g., everywhere except the call to glColorPointer). Validate that stride is >= 0. Tested with all modes (including the two error modes) of progs/tests/interleave.c. Bug: #5001, #5058 Reviewed by: Brian Paul
* restore FASTCALL stuffBrian Paul2005-10-204-4/+20
|
* fix bad loops in TransposeMatrix[fd]()Brian Paul2005-10-201-2/+2
|
* Disable the FASTCALL optimization because it still breaks server-side GLX.Brian Paul2005-10-204-20/+4
|
* s/unsigned long/drm_handle_t/ to get compilation of fb driver to workBrian Paul2005-09-191-2/+2
|
* use ASM_API variable, bug 4415Brian Paul2005-09-121-12/+10
|
* complete fix for miniglx startup issue since driver version checksDave Airlie2005-08-311-4/+11
|
* /dri/msgAdam Jackson2005-08-265-16/+16
|
* Fix the scripts for the cygwin & mingw changesAlan Hourihane2005-08-262-18/+8
|
* update for mingwAlan Hourihane2005-08-252-2/+2
|
* Fix Windows build problems.Alan Hourihane2005-08-242-1/+14
| | | | | GCC's visibility attribute is for ELF systems, so undef INTERNAL GCC's fastcall attribute interferes with __stdcall so undef FASTCALL
* Convert libGL and DRI drivers to require libdrm.Adam Jackson2005-08-191-6/+1
| | | | | | libdrm can be had from: http://people.freedesktop.org/~ajax/libdrm/
* Fix a realloc problem with indirect vertex arrays. The actual head pointerIan Romanick2005-08-192-3/+6
| | | | wasn't tracked and used for the realloc, so it tended to explode.
* Remove the logic that determines at compile time whether or not HAVE_ALIASIan Romanick2005-08-111-7/+0
| | | | | | | | should be defined. It was flawed on some platforms (e.g., Darwin & mingw). Instead, rely on the build system to define it on the compiler command line. This also reverts ajax's hand-edit to indirect_size.c. I'll fix that on the X.org side of things later today.
* Makefile cleanups suggested by George Fufutos (bugzilla #3899).Ian Romanick2005-08-111-17/+1
|
* fix X #includes so they're relative to X11/ directory (bug 4047)Brian Paul2005-08-116-11/+11
|
* Remove _glapi_check_multithread from the interface exported by the loader toIan Romanick2005-08-101-2/+3
| | | | | | | | | | | | | | | | | the driver. The loader now takes care of this for the driver. Remove _glapi_DispatchTSD and give _glapi_Dispatch its semantic (i.e., having a NULL value means that the application is multithreaded and _glapi_get_dispatch must be called). Gut all of the dispatch override code. This removes _glapi_RealDispatch, _glapi_tls_RealDispatch, _glapi_begin_dispatch_override, _glapi_end_dispatch_override, and _glapi_get_override_dispatch. Remove _glapi_get_proc_address, _glapi_get_proc_name, _glapi_get_version, and _glapi_check_table from the loader / driver interface. Reviewed by: Brian Paul
* fix miniglx setting virtual size of 832 for 800x600Dave Airlie2005-08-081-2/+2
|
* Fixes bugzilla #1730.Ian Romanick2005-08-051-1/+2
| | | | | | Make sure that all the values used in the clean-up code are initialized at some point. It is still unclear to me as to why GCC does not complain. I suspect the problem may be due to the depth of if-statement nesting.
* In order to create the set of available extensions, we have to know ifIan Romanick2005-08-051-1/+1
| | | | | | | | | | | | direct-rendering is possible on a given screen. It is not possible to determine this by just looking at driDisplay.private in the display structure. However, it is possible to determine this by looking at driScreen.private in the screen structure. This field is only non-NULL if a DRI driver has been successfully loaded and bootstrapped. Once we get to that point, we know that direct-rendering is at least theoretically possible. This fixes bugzilla #2875.
* Convert all instances of XTHREADS to USE_XTHREADS. This fixes one ofIan Romanick2005-08-032-6/+6
| | | | | serveral things that are broken when building on a system with X.org 7.0rc0 installed.
* Add color tiling support to miniglx for radeonDave Airlie2005-08-033-0/+10
| | | | (Stephane Marchesin + Dave Airlie)
* Fix build problems related to finding Xthreads.h.Ian Romanick2005-08-012-6/+1
|
* Remove unused structures and data fields. These had been left in becauseIan Romanick2005-07-291-49/+1
| | | | | | DRI drivers using the "old" interface relied on certain fields being at certain offsets. Removing the structures would break that. Now that the old interface is no longer supported, the dead data can finally die.
* Add a new config called linux-indirect. This build the GLX libGL just likeIan Romanick2005-07-291-2/+1
| | | | | | linux-dri, but it disables support for direct-rendering in it. This config mainly exists so that I can verify that changes to libGL haven't broken builds on non-DRI platforms.
* Commit Ian's fixes from Bug 3877Jon Smirl2005-07-293-58/+145
| | | | | I have tested these on miniglx and they seem to be working. I'm sure Dave will give them a better test.
* Major rip-up of internal function insertion interface. The oldmesa_6_3_1Ian Romanick2005-07-282-3/+3
| | | | | | | | | | | | | | | | | | | | | | _glapi_add_entrypoint has been replaced by a new routine called _glapi_add_dispatch. This new routine dynamically assignes dispatch offsets to functions added. This allows IHVs to add support for extension functions that do not have assigned dispatch offsets. It also means that a driver has no idea what offset will be assigned to a function. The vast majority of the changes in this commit account for that. An additional table, driDispatchRemapTable, is added. Functions not in the Linux OpenGL ABI (i.e., anything not in GL 1.2 + ARB_multitexture) has a fixed offset in this new table. The entry in this table specifies the offset in of the function in the real dispatch table. The internal interface was also bumped from version 20050725 to 20050727. This has been tested with various programs in progs/demos on: radeon (Radeon Mobility M6) r128 (Rage 128 Pro) mga (G400)
* Remove the last remnants of GLX_BUILT_IN_XMESA. This allows the removal ofIan Romanick2005-07-265-180/+120
| | | | the evil, ugly GLX_PREFIX macro as well.
* No, really, get rid of all the remaining references to DRI_USE_NEW_INTERFACE.Ian Romanick2005-07-261-0/+4
| | | | | A couple other remnants of the old interfaces hit the dust too. Thanks Jon. :)