mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2024-11-27 20:24:30 +08:00
c39bf5e273
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. |
||
---|---|---|
.. | ||
internal | ||
amesa.h | ||
directfbgl.h | ||
dmesa.h | ||
foomesa.h | ||
fxmesa.h | ||
ggimesa.h | ||
gl_mangle.h | ||
gl.h | ||
glext.h | ||
glfbdev.h | ||
glu_mangle.h | ||
glu.h | ||
glut_h.dja | ||
glut.h | ||
glutf90.h | ||
glx_mangle.h | ||
glx.h | ||
glxext.h | ||
Makefile.am | ||
mesa_wgl.h | ||
mglmesa.h | ||
miniglx.h | ||
osmesa.h | ||
svgamesa.h | ||
uglglutshapes.h | ||
uglmesa.h | ||
vms_x_fix.h | ||
wmesa.h | ||
xmesa_x.h | ||
xmesa_xf86.h | ||
xmesa.h |