[Mesa-dev] RFC: gallium front/back vs cw/ccw rasterizer state

Brian Paul brianp at vmware.com
Fri May 14 07:09:43 PDT 2010


Keith Whitwell wrote:
> I'm considering modifying the gallium rasterizer state to remove most of
> the cw/ccw flags and replace them with front/back or other concepts
> closer to what GL is using.
> 
> This is primarily motivated by the fact that noone other than GL uses a
> lot of this state, and where they do, they tend to use the same
> abstraction level as GL.  This includes many hardware interfaces.
> 
> Right now, the cw/ccw abstraction doesn't benefit many drivers (except
> maybe softpipe), and introduces some unnecessary possibilities which GL
> never exposes (eg front and back with the same fill mode but different
> offset modes).
> 
> I've started a branch for this, but also here are the relevant interface
> changes for review.
> 
> Thoughts?

Looks good.  I'll do some testing on your branch when you update the 
state tracker.

-Brian



More information about the mesa-dev mailing list