I have recently created and commited the first batch of code to the texmem-0-0-1 branch. The purpose of this branch is to refactor the client-side texture management code to a single place and port all (or nearly all) drivers to use that code. The new texture management code is in lib/GL/mesa/src/drv/common/texmem.[ch]. I have committed changes to the MGA driver to use the new routines (see note below). I will be committing the changes the Radeon driver tomorrow.
If you are the maintainer of any of the other drivers, PLEASE update your driver to use the new interface. You can follow either the example of the MGA driver or the Radeon driver (after tomorrow) to see how to do it. The changes are pretty straightforward. If you have any questions, please contact me. I'd like to see these changes made ASAP. As soon as all the drivers are updated and tested, I'll merge back into the trunk and create the texmem-0-0-2 branch. The changes in this branch will be move texture memory management into the kernel, but THAT is another story. :) NOTE FOR MGA DRIVER: If you try to use any application that uses lots of textures with this branch, it will lock. The patch from Jonny Strom (posted to the list on 25-Aug-2002) is the only fix. The patch posted Ralf Hoffmann does not fix the problem. Could somebody please commit this patch to either the trunk or this branch? IBM won't let me commit code submitted by somebody else to a project that IBM doesn't host, so somebody else will have to do it. -- Smile! http://antwrp.gsfc.nasa.gov/apod/ap990315.html ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel
