A function for modules to query various ABI versions would be very helpful for binary drivers that strive to support a range of server versions with a single binary. Right now, we (NVIDIA) have to use LoaderSymbol with various symbols to determine which features are available. This works fine for new symbols, but doesn't work so well when structures or function prototypes are changed.
CVSROOT: /cvs/xorg Module name: xserver Changes by: aplattner at kemper.freedesktop.org 06/03/28 07:21:50 Log message: * hw/xfree86/common/xf86Module.h: * hw/xfree86/loader/loader.c: (LoaderGetABIVersion): * hw/xfree86/loader/xf86sym.c: Add a new export, LoaderGetABIVersion. This function allows modules to query the versions directly instead of having to guess. Bug #6416: Add LoaderGetABIVersion. Modified files: xserver/xorg/hw/xfree86/common/: xf86Module.h xserver/xorg/hw/xfree86/loader/: loader.c xf86sym.c xserver/xorg/: ChangeLog Revision Changes Path 1.10 +1 -0 xserver/xorg/hw/xfree86/common/xf86Module.h http://cvs.freedesktop.org/xorg/xserver/xorg/hw/xfree86/common/xf86Module.h 1.14 +25 -0 xserver/xorg/hw/xfree86/loader/loader.c http://cvs.freedesktop.org/xorg/xserver/xorg/hw/xfree86/loader/loader.c 1.21 +1 -0 xserver/xorg/hw/xfree86/loader/xf86sym.c http://cvs.freedesktop.org/xorg/xserver/xorg/hw/xfree86/loader/xf86sym.c 1.357 +9 -0 xserver/xorg/ChangeLog http://cvs.freedesktop.org/xorg/xserver/xorg/ChangeLog
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.