summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri
AgeCommit message (Collapse)Author
2004-06-08Fix rectangular textures on i830 - well texrect at leastDave Airlie
2004-06-08* Convert to use t_vertex.c instead of sis_vb.[ch]Eric Anholt
* Don't dispatch vertices directly to MMIO; queue them up in dma-like buffers first. This makes things more uniform between AGP and MMIO paths, cleans up some locking ugliness, and makes the driver look more like other drivers. * Don't use the AGP Cmd buffer provided by the server. Instead allocate one in the client, which avoids the need for lots of synchronization stuff. * Mark some MMIO accesses volatile that should have been. * Disable the AGP submission path by default (agp_disable=true) due to unresolved issues in the new code. The old code had its own (serious) errors with AGP, so this is not really a step backwards.
2004-06-08Clean a little whitespace that's been bothering me.Eric Anholt
2004-06-07Fix up some remaining include issues. Replace Xmalloc / Xfree withIan Romanick
_mesa_malloc / _mesa_free. Replace Bool with GLboolean.
2004-06-07The required DDX and DRI version numbers were switched. This went unnoticedIan Romanick
on several drivers (i.e., R200, Radeon, R128, Unichrome) becuase the required DRI and DDX versions were 4.0.0. Mach64 was already fixed.
2004-06-07Add NEW_INTERFACE bits.Eric Anholt
2004-06-07fix all those warningsDave Airlie
2004-06-07use the mesa definesDave Airlie
2004-06-07oops fix a bug I introducedDave Airlie
2004-06-07fix the versionsDave Airlie
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-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-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.