summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2004-06-07small correctionsDaniel Borca
2004-06-07make endian code work on BSDDave Airlie
2004-06-06Remove use of X windows includeDave Airlie
2004-06-06Remove the rest of the need for glxclient.h and remove it from the tree.Ian Romanick
2004-06-06Bool may not be available when DRI_NEW_INTERFACE_ONLY is defined.Ian Romanick
2004-06-05Enable use of new DRI interface in Unichrome driver.Ian Romanick
2004-06-04Start to "modernize" the driver.Ian Romanick
2004-06-04Replace 'Display *' with '__DRInativeDisplay *'.Ian Romanick
2004-06-04Enable GL_EXT_blend_subtract and GL_NV_blend_square.Ian Romanick
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.
2004-06-03Redo of removing __driRegisterExtensions(). I accidentally undid the ↵Jon Smirl
previous check in.
2004-06-03Enable use of new DRI interface in Rage128 driver.Ian Romanick
2004-06-03fix minor signedness issue in assertionRoland Scheidegger
2004-06-03Remove fill_in_modes and use driFillInModes instead.Ian Romanick
2004-06-03Add a new function, driFillInModes, that is to be used by drivers toIan Romanick
create the set of support __GLcontextModes. This should replace the current driver-specific fill_in_modes functions.
2004-06-03Fix problems when sizeof(Node) != sizeof(float)Keith Whitwell
2004-06-03masked out unsupported glBlendColor (some games check only the proc addr)Daniel Borca
2004-06-03Open/Close FullScreen die. unichrome and savage implemented, code is ifdef'd outJon Smirl
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-02fix stencil index bug (#964704)Brian Paul
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-02Check for NULL texture object when choosing texture sampler. Fixes segfault ↵Brian Paul
when fragment program references an incomplete texture
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-31reworked FXT1Daniel Borca
minor fixes to fxMesa
2004-05-31fixup mach64 for newer build/typesDave Airlie
2004-05-29check for null pointer in Fake_glXCreateGLXPbufferSGIGIX() (bug 961376)Brian Paul
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