On Sun, 2009-01-11 at 23:00 -0800, Ben Skeggs wrote: > Module: Mesa > Branch: gallium-0.2 > Commit: df266471b1f0eae54cf23fd59a741fa3be9b93df > URL: > http://cgit.freedesktop.org/mesa/mesa/commit/?id=df266471b1f0eae54cf23fd59a741fa3be9b93df > > Author: Ben Skeggs <skeg...@gmail.com> > Date: Mon Jan 12 13:27:13 2009 +1000 > > nouveau: return buffer map to something sane. > > Sorry, but no, we're not doing this.. Correctness always takes precedence > over speed. Implement this higher up where you know it's safe to do so, > and doesn't break other things in the process.
Agreed, This is a general facility that makes sense to add at the gallium API level -- there's nothing hardware-specific about this idea, so implementing it within a driver or winsys is putting it at the wrong level. I'd be happy to see a patch that adds something similar at the API level, eg an extra flag to map() like _DISCARD or similar. Keith ------------------------------------------------------------------------------ Check out the new SourceForge.net Marketplace. It is the best place to buy or sell services for just about anything Open Source. http://p.sf.net/sfu/Xq1LFB _______________________________________________ Mesa3d-dev mailing list Mesa3d-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mesa3d-dev