Re: [Mesa-dev] classic driver cleanup: ChooseTexFormat

2011-01-04 Thread Eric Anholt
On Sun, 26 Sep 2010 08:12:59 +1000, Dave Airlie wrote: > On Sun, Sep 26, 2010 at 5:36 AM, Brian Paul wrote: > > On Fri, Sep 24, 2010 at 6:08 PM, Eric Anholt wrote: > >> One of the uglier bits of the classic drivers, in my opinion, is the > >> ChooseTexFormat hook.  Most drivers are trying to get

Re: [Mesa-dev] classic driver cleanup: ChooseTexFormat

2010-09-25 Thread Dave Airlie
On Sun, Sep 26, 2010 at 5:36 AM, Brian Paul wrote: > On Fri, Sep 24, 2010 at 6:08 PM, Eric Anholt wrote: >> One of the uglier bits of the classic drivers, in my opinion, is the >> ChooseTexFormat hook.  Most drivers are trying to get to a similar set >> of formats, and using similar fallbacks for

Re: [Mesa-dev] classic driver cleanup: ChooseTexFormat

2010-09-25 Thread Brian Paul
On Fri, Sep 24, 2010 at 6:08 PM, Eric Anholt wrote: > One of the uglier bits of the classic drivers, in my opinion, is the > ChooseTexFormat hook.  Most drivers are trying to get to a similar set > of formats, and using similar fallbacks for unavailable formats. > Worse, they need to cleverly choo

Re: [Mesa-dev] classic driver cleanup: ChooseTexFormat

2010-09-25 Thread Corbin Simpson
On Sat, Sep 25, 2010 at 6:31 AM, Jerome Glisse wrote: > On Fri, Sep 24, 2010 at 8:08 PM, Eric Anholt wrote: >> One of the uglier bits of the classic drivers, in my opinion, is the >> ChooseTexFormat hook.  Most drivers are trying to get to a similar set >> of formats, and using similar fallbacks

Re: [Mesa-dev] classic driver cleanup: ChooseTexFormat

2010-09-25 Thread Jerome Glisse
On Fri, Sep 24, 2010 at 8:08 PM, Eric Anholt wrote: > One of the uglier bits of the classic drivers, in my opinion, is the > ChooseTexFormat hook.  Most drivers are trying to get to a similar set > of formats, and using similar fallbacks for unavailable formats. > Worse, they need to cleverly choo

[Mesa-dev] classic driver cleanup: ChooseTexFormat

2010-09-24 Thread Eric Anholt
One of the uglier bits of the classic drivers, in my opinion, is the ChooseTexFormat hook. Most drivers are trying to get to a similar set of formats, and using similar fallbacks for unavailable formats. Worse, they need to cleverly choose formats based on the incoming type/format to avoid having