summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Fix problems when sizeof(Node) != sizeof(float)Keith Whitwell2004-06-031-5/+31
|
* masked out unsupported glBlendColor (some games check only the proc addr)Daniel Borca2004-06-036-9/+11
|
* Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd outJon Smirl2004-06-0318-180/+77
|
* kill __driRegisterExtensions(), none of the functions did anythingJon Smirl2004-06-035-71/+0
|
* driCheckDriDdxDrmVersion uses a function that is not available toIan Romanick2004-06-029-62/+160
| | | | | | | | | | | | | | | drivers when DRI_NEW_INTERFACE_ONLY is defined. #ifndef it away in that situation. Add a new function, driCheckDriDdxDrmVersion2, that is passed in the version information that is already supplied to __driCreateNewScreen. Part of the reason that information is supplied to __driCreateNewScreen is so that the driver doesn't have to make those calls to get it! Modify all drivers that support the new interface to use the new function instead of the old. As soon as all drivers support the new interface, driCheckDriDdxDrmVersion can be removed.
* Removed need for sarea.h, various touch ups to get rid of type mismatches.Jon Smirl2004-06-0212-399/+18
|
* Require libGL API version 20040602, which actually exportsIan Romanick2004-06-021-2/+4
| | | | | __glXGetDrawableInfo. Make sure driCreateNewDrawable sets pdraw->private to NULL for all failure paths.
* Make sure USE_NEW_INTERFACE is defined if DRI_NEW_INTERFACE_ONLY isIan Romanick2004-06-021-0/+6
| | | | defined.
* add support for more than 2 texture units (max 6, default 4). use hang ↵Roland Scheidegger2004-06-0213-145/+292
| | | | workarounds only for r200, not derivatives.
* change GL_ARB_texture_env_crossbar implementation behaviour to OGL 1.4 core ↵Roland Scheidegger2004-06-021-17/+7
| | | | specification instead of extension specification (undefined behaviour instead of disabled blending if not enabled texture units are referenced). Fix minor signedness bug.
* Minor changes to make it work better outside X. "Success" is replacedIan Romanick2004-06-022-39/+44
| | | | | | | by explicit 0. Several functions that are not needed with DRI_NEW_INTERFACE_ONLY are blocked with '#ifndef DRI_NEW_INTERFACE_ONLY'. Some further work is still required to make it build without any X include files, though.
* Replace use of XID with __DRIid.Ian Romanick2004-06-021-3/+1
|
* Re-import from DRI tree.Ian Romanick2004-06-023-77/+76
|
* XF86DRIDestroyContext, XF86DRICreateDrawable, andIan Romanick2004-06-022-216/+3
| | | | | | | | XF86DRIDestroyDrawable are all called directly from DRI drivers using the new interface. Therefore, prototypes, using available datatypes, must be available in dri_interface.h. Since the prototypes are available there, xf86dri.h is no longer needed for DRI_NEW_INTERFACE_ONLY builds.
* fix stencil index bug (#964704)Brian Paul2004-06-021-4/+3
|
* Replace drmHandle, drmContext, drmDrawable, drmMagic and related types withIan Romanick2004-06-0243-92/+92
| | | | drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
* Check for NULL texture object when choosing texture sampler. Fixes segfault ↵Brian Paul2004-06-022-93/+107
| | | | when fragment program references an incomplete texture
* Fix dumb mistake from a previous commit. __driCreateScreen is nowIan Romanick2004-06-017-7/+21
| | | | properly block with '#ifndef DRI_NEW_INTERFACE_ONLY'.
* add support for GL_ARB_texture_env_crossbarRoland Scheidegger2004-06-012-17/+42
|
* Convert 'Display *' to '__DRInativeDisplay *'. Only portions of theIan Romanick2004-06-019-52/+46
| | | | | | | | interface that are not *strictly* part of the old interface were changed. Replace GetDrawableInfo type (dri_util.h) with PFNGLXGETDRAWABLEINFOPROC (dri_interface.h). Wrap __driCreateScreen (in drivers that use the new interface) with '#ifndef DRI_NEW_INTERFACE_ONLY'.
* Fix a couple issues related to GetDrawableInfo. In the new DRIIan Romanick2004-06-012-2/+8
| | | | | interface, it must be available from libGL, and the the typedef in dri_util.h was wrong.
* Replace occurances of GLXDrawable and Drawable with __DRIid.Ian Romanick2004-06-012-13/+13
|
* Fix a couple typos that prevent building with DRI_NEW_INTERFACE_ONLY.Ian Romanick2004-06-011-2/+2
|
* Remove unnecessary #include "mach64_common.h" which breaks the build for me.Eric Anholt2004-06-011-1/+0
|
* Missed in last commit:Eric Anholt2004-06-013-3/+4
| | | | | | | Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1".
* Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKEEric Anholt2004-06-019-19/+21
| | | | | | variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1".
* Use MKDEP make variables instead of hard-coding.Eric Anholt2004-05-311-1/+1
|
* reworked FXT1Daniel Borca2004-05-314-85/+934
| | | | minor fixes to fxMesa
* fixup mach64 for newer build/typesDave Airlie2004-05-3110-58/+51
|
* check for null pointer in Fake_glXCreateGLXPbufferSGIGIX() (bug 961376)Brian Paul2004-05-291-2/+2
|
* use new interface for tdfx (phase 2)Adam Jackson2004-05-281-0/+123
|
* Fix type conflict.Adam Jackson2004-05-281-1/+2
|
* update so it compiles again (untested driver path!). Basically ported ↵Roland Scheidegger2004-05-281-64/+76
| | | | changes from r200_maos_arrays.c cvs rev. 1.3-1.5.
* remove never finished verts path (r200_maos_vbtmp.h, r200_maos_verts.c) and ↵Roland Scheidegger2004-05-284-717/+4
| | | | unused R200_OLD_PACKET macro
* Define PFNGLXGETMSCRATEOMLPROC so that DRI will build without includingIan Romanick2004-05-271-0/+4
| | | | glxext.h.
* Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common.Ian Romanick2004-05-2718-14/+36
|
* change some explicit references to texture units 0/1 to unit < ↵Roland Scheidegger2004-05-274-27/+21
| | | | MaxTextureUnits (Andreas Stenglein, Ronny Vindenes)
* Modify glprocs.h to have two tables instead of one. The first tableIan Romanick2004-05-273-945/+2024
| | | | | | is just a huge string will all the function names in it. The second table contains offsets into the first table instead of pointers to strings.
* Convert all calls using _glapi_Dispatch to use the new GL_CALL macro.Ian Romanick2004-05-2710-269/+278
|
* only use simple_z_textured_triangle if depthBits <= 16Brian Paul2004-05-251-1/+3
|
* Added a couple fog coordinate related register defines.Ian Romanick2004-05-251-0/+2
|
* Modify the generate assembly code to not use global registers %g2,Ian Romanick2004-05-251-10/+10
| | | | | %g3, %g6, or %g7. This should eliminate the warnings about global registers used without a ".register" directive.
* oopsDaniel Borca2004-05-251-1/+0
|
* FXT1 texture compression (initial draft)Daniel Borca2004-05-251-35/+640
|
* Fixed a bug that caused every dispatch function to call glNewList.Ian Romanick2004-05-241-1/+1
|
* WAIT_IDLE_EMPTY in savageSwapBuffers until real frame throttling is possible.Felix Kuehling2004-05-241-0/+1
|
* Clean up some warnings by making sis_fatal_error a macro, and let it take anEric Anholt2004-05-247-28/+16
| | | | argument of a message to print. Make some assert(0)s use sis_fatal_error.
* Add missing sisInitDriverFuncs call. Fixes segfault.Eric Anholt2004-05-241-0/+1
|
* Generates assembly dispatch stubs for SPARC. Generates different outputIan Romanick2004-05-241-0/+134
| | | | | | | than glsparcasm.py, but the assembled code should be the same. The seems to only work with GCC version >= 3.0. The older preprocessor doesn't like the embedded # in the GLOBL_FN macro. On the SPARC system I used, /ccs/bin/as didn't like the @function, it would only accept #function.
* stop crash when debuggingDave Airlie2004-05-241-1/+1
|