Felix Kühling wrote:
I'm looking into porting the savage driver to the new interface so it can be built in the Mesa tree. I took a look at the r128 and mga drivers for reference. I noticed that the old drivers (I still have a savage-2-0-0-branch lying around) used to check the DRI/DDX/DRM versions (using driCheckDriDdxDrmVersions) in the CreateScreen or InitDriver function. This check is gone in the current drivers and replaced by a version check in the CreateNewScreen function (using driCheckDriDdxDrmVersions2). However, as far as I understand this function is only called if the driver is loaded by a new libGL. When the driver is built without NEW_INTERFACE_ONLY and loaded by an old libGL then there are no version checks any more. Am I missing something?
An old libGL will call the driver's CreateScreen function. This function calls __driUtilCreateScreen, which does the extra work that is now done in a new libGL, then calls the driver's CreateNewScreen. Whether you're using an old libGL or a new one, you eventually get to CreateNewScreen.
------------------------------------------------------- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com -- _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel