Re: [Mesa-dev] [PATCH 1/3] st/mesa: prefer native texture formats when possible.

2011-06-20 Thread Stéphane Marchesin
2011/6/20 Brian Paul : > On 06/20/2011 05:31 PM, Stéphane Marchesin wrote: >> >> If possible, we want to match the hardware format to what the app uses. By >> doing so, we avoid the need for pixel conversions and therefore greatly >> speed >> up texture uploads. >> --- >>  src/mesa/state_tracker/st

Re: [Mesa-dev] [PATCH 1/3] st/mesa: prefer native texture formats when possible.

2011-06-20 Thread Brian Paul
On 06/20/2011 05:31 PM, Stéphane Marchesin wrote: If possible, we want to match the hardware format to what the app uses. By doing so, we avoid the need for pixel conversions and therefore greatly speed up texture uploads. --- src/mesa/state_tracker/st_atom_pixeltransfer.c |2 +- src/mesa/

[Mesa-dev] [PATCH 1/3] st/mesa: prefer native texture formats when possible.

2011-06-20 Thread Stéphane Marchesin
If possible, we want to match the hardware format to what the app uses. By doing so, we avoid the need for pixel conversions and therefore greatly speed up texture uploads. --- src/mesa/state_tracker/st_atom_pixeltransfer.c |2 +- src/mesa/state_tracker/st_cb_drawpixels.c | 10 ++- src/