summaryrefslogtreecommitdiff
path: root/src/mesa/drivers/dri/common/glcontextmodes.c
AgeCommit message (Collapse)Author
2005-08-08Since glcontextmodes.[ch] are no longer used in the DRI drivers, removed theIan Romanick
IN_DRI_DRIVER cruft. This was suggested by George Fufutos.
2005-07-29Commit Ian's fixes from Bug 3877Jon Smirl
I have tested these on miniglx and they seem to be working. I'm sure Dave will give them a better test.
2005-07-24All elements of pre-DRI_NEW_INTERFACE_ONLY are removed. This allowsIan Romanick
1,402 lines of code to be removed from Mesa (drivers and libGL). The big winner is dri_util.c. Primary changes are: 1. Remove all "deprecated" entry-points from the various structures in dri_interface.h. 2. Rename the remaining fields to removed "version numbers." So, bindContext3 becomes bindContext. Functions with "New" in the name (e.g., CreateNewContext) were *not* changed, but that is an option. Having "New" in the name is less annoying to me than having "3" in the name. 3. Remove all compatibility code that handles cases where the driver or the loader is too old to support the latest interfaces. 4. Append the API version to the __driCreateNewScreen function name. This is currently done by hand. In the future (i.e., the next time we make an incompatible change to the interface) we'll want to come up with a better way to do this. This prevents old loaders from being able to load new (incompatible) drivers. 5. Bump the API version to 20050722. All drivers (by way of dri_util.c) require this version. 6. All drivers are *required* to expose GLX_SGIX_fbconfig and GLX_OML_swap_method (or the moral equivalents). Support for these functions in implicit in the use of the "new" interface. 7. Some cases still exist that need to be compiled differently in a loader or core Mesa versus in a driver. These are identified by the define IN_DRI_DRIVER.
2004-06-07Fix up some remaining include issues. Replace Xmalloc / Xfree withIan Romanick
_mesa_malloc / _mesa_free. Replace Bool with GLboolean.
2004-06-06Remove the rest of the need for glxclient.h and remove it from the tree.Ian Romanick
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-05-27Move dri_util.[ch] and glcontextmodes.[ch] from dri_client to common.Ian Romanick