[Mesa-dev] RFC: gallium front/back vs cw/ccw rasterizer state
mostawesomedude at gmail.com
Fri May 14 08:03:50 PDT 2010
On Fri, May 14, 2010 at 5:10 AM, Keith Whitwell <keithw at vmware.com> 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.
Radeons track facing in front/back terms instead of CW/CCW, so this is
fine and will reduce my LOC count. If/when a feature branch emerges,
I'll add a patch to clean up r300g.
I have zero idea how this affects nv50/nvfx.
When the facts change, I change my mind. What do you do, sir? ~ Keynes
<MostAwesomeDude at gmail.com>
More information about the mesa-dev