On Wed, 2009-02-11 at 16:49 +0100, Michel Dänzer wrote: > The purpose of the changes on the branch is to give the Gallium core > driver more information and flexibility about data transfers between the > CPU and textures. It is no longer possible via the Gallium API to map > surfaces directly (so the purpose of surfaces is reduced to GPU > rendering); a new pipe_transfer object has to be created, which provides > information about the direction (read only, write only or > read/modify/write) of the transfer and the affected rectangle. > > Note that while this allows the driver to handle transfers in more > sophisticated ways (e.g. start GPU->CPU transfer on pipe_transfer > creation and only block on map), the driver can also still choose to > just map the texture data directly. I adapted the softpipe driver using > such a minimalistic approach, so it can be used as a template for the > initial adaptation of other drivers. > > There are still some state tracker / winsys bits I need to fix up and > bugs I need to weed out, but once that's done I'd like to merge the > branch to master, hopefully later this week. If you don't want the merge > to break the build of your Gallium driver, please try fixing it up on > the gallium-texture-transfer branch ASAP. I'll be happy to help with any > problems you encounter.
The branch is merged. I also fixed up the i915simple driver as another example for how to fix up a driver with minimal effort. I'll be glad to help with any problems fixing up other drivers. -- Earthling Michel Dänzer | http://www.vmware.com Libre software enthusiast | Debian, X and DRI developer ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Mesa3d-dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mesa3d-dev
