On Fri, May 14, 2010 at 5:10 AM, Keith Whitwell <[email protected]> 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?

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.

~ C.

-- 
When the facts change, I change my mind. What do you do, sir? ~ Keynes

Corbin Simpson
<[email protected]>
_______________________________________________
mesa-dev mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to