summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Bool may not be available when DRI_NEW_INTERFACE_ONLY is defined.Ian Romanick2004-06-061-1/+1
|
* Enable use of new DRI interface in Unichrome driver.Ian Romanick2004-06-051-2/+125
|
* Start to "modernize" the driver.Ian Romanick2004-06-041-26/+55
|
* Replace 'Display *' with '__DRInativeDisplay *'.Ian Romanick2004-06-042-6/+6
|
* Enable GL_EXT_blend_subtract and GL_NV_blend_square.Ian Romanick2004-06-043-129/+121
| | | | | | | | GL_EXT_blend_subtract was already enabled via GL_ARB_imaging, but now one of the added modes is supported in hardware. GL_NV_blend_square was tested with progs/tests/blendsquare on an Rage128 Pro with PCI ID 1002:5046. I know there are some differences with some versions of the chip.
* Redo of removing __driRegisterExtensions(). I accidentally undid the ↵Jon Smirl2004-06-034-67/+0
| | | | previous check in.
* Enable use of new DRI interface in Rage128 driver.Ian Romanick2004-06-031-2/+142
|
* fix minor signedness issue in assertionRoland Scheidegger2004-06-031-2/+2
|
* Remove fill_in_modes and use driFillInModes instead.Ian Romanick2004-06-032-164/+59
|
* Add a new function, driFillInModes, that is to be used by drivers toIan Romanick2004-06-032-2/+244
| | | | | create the set of support __GLcontextModes. This should replace the current driver-specific fill_in_modes functions.
* 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-037-9/+16
|
* 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-036-74/+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.
* Replace Bool with GLboolean.Ian Romanick2004-06-021-8/+8
|
* 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
|
* DRI_NEW_INTERFACE_ONLY is now the only support way to build in theIan Romanick2004-06-023-6/+6
| | | | | Mesa tree. If you need a driver that supports the old libGL/DRI inteface, it must be built in the DRI tree.
* XF86DRIDestroyContext, XF86DRICreateDrawable, andIan Romanick2004-06-023-223/+15
| | | | | | | | 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-0110-75/+72
| | | | | | | | 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
|
* Replace all occurances of XF86DRIClipRect (and related typedefs) withIan Romanick2004-06-011-7/+7
| | | | drm_clip_rect_t.
* 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-0114-27/+30
| | | | | | 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)