summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2004-06-03kill __driRegisterExtensions(), none of the functions did anythingJon Smirl
2004-06-02driCheckDriDdxDrmVersion uses a function that is not available toIan Romanick
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.
2004-06-02Removed need for sarea.h, various touch ups to get rid of type mismatches.Jon Smirl
2004-06-02Require libGL API version 20040602, which actually exportsIan Romanick
__glXGetDrawableInfo. Make sure driCreateNewDrawable sets pdraw->private to NULL for all failure paths.
2004-06-02Make sure USE_NEW_INTERFACE is defined if DRI_NEW_INTERFACE_ONLY isIan Romanick
defined.
2004-06-02add support for more than 2 texture units (max 6, default 4). use hang ↵Roland Scheidegger
workarounds only for r200, not derivatives.
2004-06-02change GL_ARB_texture_env_crossbar implementation behaviour to OGL 1.4 core ↵Roland Scheidegger
specification instead of extension specification (undefined behaviour instead of disabled blending if not enabled texture units are referenced). Fix minor signedness bug.
2004-06-02Minor changes to make it work better outside X. "Success" is replacedIan Romanick
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.
2004-06-02Replace use of XID with __DRIid.Ian Romanick
2004-06-02Re-import from DRI tree.Ian Romanick
2004-06-02XF86DRIDestroyContext, XF86DRICreateDrawable, andIan Romanick
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.
2004-06-02Replace drmHandle, drmContext, drmDrawable, drmMagic and related types withIan Romanick
drm_handle_t, drm_context_t, drm_drawable_t, drm_magic_t.
2004-06-01Fix dumb mistake from a previous commit. __driCreateScreen is nowIan Romanick
properly block with '#ifndef DRI_NEW_INTERFACE_ONLY'.
2004-06-01add support for GL_ARB_texture_env_crossbarRoland Scheidegger
2004-06-01Convert 'Display *' to '__DRInativeDisplay *'. Only portions of theIan Romanick
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'.
2004-06-01Fix a couple issues related to GetDrawableInfo. In the new DRIIan Romanick
interface, it must be available from libGL, and the the typedef in dri_util.h was wrong.
2004-06-01Replace occurances of GLXDrawable and Drawable with __DRIid.Ian Romanick
2004-06-01Fix a couple typos that prevent building with DRI_NEW_INTERFACE_ONLY.Ian Romanick
2004-06-01Remove unnecessary #include "mach64_common.h" which breaks the build for me.Eric Anholt
2004-06-01Missed in last commit:Eric Anholt
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".
2004-06-01Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKEEric Anholt
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".
2004-05-31Use MKDEP make variables instead of hard-coding.Eric Anholt
2004-05-31fixup mach64 for newer build/typesDave Airlie
2004-05-28use new interface for tdfx (phase 2)Adam Jackson
2004-05-28Fix type conflict.Adam Jackson
2004-05-28update so it compiles again (untested driver path!). Basically ported ↵Roland Scheidegger
changes from r200_maos_arrays.c cvs rev. 1.3-1.5.
2004-05-28remove never finished verts path (r200_maos_vbtmp.h, r200_maos_verts.c) and ↵Roland Scheidegger
unused R200_OLD_PACKET macro
2004-05-27Define PFNGLXGETMSCRATEOMLPROC so that DRI will build without includingIan Romanick
glxext.h.
2004-05-27Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common.Ian Romanick
2004-05-27change some explicit references to texture units 0/1 to unit < ↵Roland Scheidegger
MaxTextureUnits (Andreas Stenglein, Ronny Vindenes)
2004-05-27Convert all calls using _glapi_Dispatch to use the new GL_CALL macro.Ian Romanick
2004-05-25Added a couple fog coordinate related register defines.Ian Romanick
2004-05-24WAIT_IDLE_EMPTY in savageSwapBuffers until real frame throttling is possible.Felix Kuehling
2004-05-24Clean up some warnings by making sis_fatal_error a macro, and let it take anEric Anholt
argument of a message to print. Make some assert(0)s use sis_fatal_error.
2004-05-24Add missing sisInitDriverFuncs call. Fixes segfault.Eric Anholt
2004-05-24stop crash when debuggingDave Airlie
2004-05-21fix bug #957792 (swap buffers), plus misc clean-upsBrian Paul
2004-05-21fix constant texture environment color setup for texture units > 0Roland Scheidegger
2004-05-20Add support for GL_EXT_blend_[func|equation]_separate. Fix ↵Roland Scheidegger
GL_EXT_blend_color. Remove support for GL_EXT_blend_logic_op (cannot be supported together with blend_equation_separate unless a software fallback would be added).
2004-05-20add check if drm is new enough for packet R200_EMIT_RB3D_BLENDCOLORRoland Scheidegger
2004-05-20add missing R200_RB3D_BLENDCOLOR registerRoland Scheidegger
2004-05-14Fix GL_MIN and GL_MAX blend equations (set blend factors accordingly). Fix ↵Roland Scheidegger
errors when blending is disabled (set blend equation and function to default values).
2004-05-13cast driHwLock assignmentBrian Paul
2004-05-13silence warning in assignment to gp.valueBrian Paul
2004-05-13fix parameters to StoreImage()Brian Paul
2004-05-12Fixed code that has computed incorrect number of modes.Erdi Chen
2004-05-12Added support for GL_EXT_blend_equation_separate andIan Romanick
GL_NV_blend_square. Fix a bug in the way the GL_MIN and GL_MAX blending modes were handled.
2004-05-12Fixed a bug that showed up in several multitexturing games (Quake3 andIan Romanick
ThinkTanks were tested) that was related to the recent 4 TMU changes. Removed the un-needed TexBlendColorPipeNum field from the hardware context.
2004-05-12fix parameters to StoreImage callsBrian Paul
2004-05-12remove last remnants of NEWTEXSTORE stuffBrian Paul