On Thu, 2005-03-17 at 10:28 +1100, Benjamin Herrenschmidt wrote: > On Wed, 2005-03-16 at 16:00 -0500, Michel DÃnzer wrote: > > On Wed, 2005-03-16 at 21:51 +0200, Ville SyrjÃlà wrote: > > > > > > One thing just popped to my head though. If in the future we are going to > > > allow graphics cards to render to system memory, using the swapper will > > > no > > > longer work. I don't see any other solution that having the CPU perform > > > the byte swapping. > > > > Sane hardware should have a way to deal with this as well. Either way, > > this is hardware specific, so it will probably have to be handled by the > > hardware driver(s) somehow. > > Of course, and radeonfb is what if not a hardware driver ?
Who said it was anything else? Is radeonfb gonna handle the offscreen surfaces though? My point was that the hardware driver(s) should be involved in the decision on what format/byte order/... should be used for a surface, instead of just hardcoding fixed formats and having the CPU do possibly unnecessary byte swapping. -- Earthling Michel DÃnzer | Debian (powerpc), X and DRI developer Libre software enthusiast | http://svcs.affero.net/rm.php?r=daenzer ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel