summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common
AgeCommit message (Collapse)Author
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-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-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-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-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-08Added german translation to option texture_units.Felix Kuehling
2004-05-07Added a config option to set the number of available texture units. AIan Romanick
German translation is still needed.
2004-04-26bring over build fixes from stable branchAlan Hourihane
2004-03-15extend SOLO code so the DDX version isn't checkedDave Airlie
2004-01-27Consolidate texObj->Pos/Neg/X/Y/Z and texObj->Image into a singleKeith Whitwell
array, texObj->Image[face][level].
2004-01-18include sched.h to get sched_yield() prototypeBrian Paul
2004-01-18make second param of driParseConfigFiles() constBrian Paul
2004-01-16Respect the 'in_use' field in the global LRU as a marker forKeith Whitwell
kernel-reserved memory regions.
2004-01-08Fixed a few typos in the german translation.Felix Kuehling
2004-01-07Use hand-made number parsing functions as the libc routines are ↵Felix Kuehling
locale-dependent. Thanks to Pavel harry_x Palat for pointing that out.
2004-01-05Added two new options: def_max_anisotropy and no_neg_lod_bias. The latter oneFelix Kuehling
is for disabling faked "anisotropy" in e.g. FlightGear.
2003-12-12applied Felix's patch for configuration systemBrian Paul
2003-12-11add driClipRectToFramebuffer helper functionKeith Whitwell
2003-12-05bring in common from DRI trunkAlan Hourihane
2003-12-04build fixAlan Hourihane
2003-10-21Clean out some unused filesJon Smirl
2003-10-21Update DRI drivers to current DRI CVS and make them work.Jon Smirl
2003-08-06Shared dri driver resourcesKeith Whitwell