Re: [Mesa3d-dev] Softpipe state code

2007-09-18 Thread Zack Rusin
On Sunday 16 September 2007 02:41:24 pm Keith Whitwell wrote: > 1) Fewer state objects, probably 5 or 6. > 2) The constant state object life cycle, ie: > - CreateBlendState > - BindBlendState > - DestroyBlendState > 3) State partitioned in a hopefully sensible way for hardware. >

[Mesa3d-dev] Softpipe state code

2007-09-16 Thread Stephane Marchesin
Hi, I was looking at the softpipe code, and it all seems quite interesting. However, it came to me that the state code was going overly complex. Especially since you have to write a lot of state functions/atoms yourself. As with the older DRI code, where most state functions simply end up gatherin

Re: [Mesa3d-dev] Softpipe state code

2007-09-16 Thread Keith Whitwell
Stephane Marchesin wrote: > Hi, > > I was looking at the softpipe code, and it all seems quite interesting. > However, it came to me that the state code was going overly complex. > Especially since you have to write a lot of state functions/atoms > yourself. As with the older DRI code, where mo