Re: [Mesa-dev] [PATCH 01/10] mesa: Track changes to transform feedback state.

2011-12-06 Thread Paul Berry
On 6 December 2011 07:31, Paul Berry wrote: > On 5 December 2011 14:50, Eric Anholt wrote: > >> >> >> These statechanges should probably be flagged using FLUSH_VERTICES(ctx, >> _NEW_TRANSFORM_FEEDBACK), since we're about to change something that >> would be used by existing glBegin()/glEnd() ren

Re: [Mesa-dev] [PATCH 01/10] mesa: Track changes to transform feedback state.

2011-12-06 Thread Paul Berry
On 5 December 2011 14:50, Eric Anholt wrote: > > > These statechanges should probably be flagged using FLUSH_VERTICES(ctx, > _NEW_TRANSFORM_FEEDBACK), since we're about to change something that > would be used by existing glBegin()/glEnd() rendering that is batched up > in the vbo module. > Ok,

Re: [Mesa-dev] [PATCH 01/10] mesa: Track changes to transform feedback state.

2011-12-05 Thread Eric Anholt
On Mon, 5 Dec 2011 09:40:44 -0800, Paul Berry wrote: > This patch adds a new bit to the ctx->NewState bitfield, > _NEW_TRANSFORM_FEEDBACK, to track state changes that affect > ctx->TransformFeedback. This bit can be used by driver back-ends to > avoid expensive recomputations when transform feed

[Mesa-dev] [PATCH 01/10] mesa: Track changes to transform feedback state.

2011-12-05 Thread Paul Berry
This patch adds a new bit to the ctx->NewState bitfield, _NEW_TRANSFORM_FEEDBACK, to track state changes that affect ctx->TransformFeedback. This bit can be used by driver back-ends to avoid expensive recomputations when transform feedback state has not been modified. --- src/mesa/main/mtypes.h