diff options
author | Keith Whitwell <[email protected]> | 2000-12-26 05:09:27 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 2000-12-26 05:09:27 +0000 |
commit | cab974cf6c2dbfbf5dd5d291e1aae0f8eeb34290 (patch) | |
tree | 45385bd755d8e3876c54b2b0113636f5ceb7976a /src/mesa/swrast_setup/ss_context.h | |
parent | d1ff1f6798b003a820f5de9fad835ff352f31afe (diff) |
Major rework of tnl module
New array_cache module
Support 8 texture units in core mesa (now support 8 everywhere)
Rework core mesa statechange operations to avoid flushing on many
noop statechanges.
Diffstat (limited to 'src/mesa/swrast_setup/ss_context.h')
-rw-r--r-- | src/mesa/swrast_setup/ss_context.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/src/mesa/swrast_setup/ss_context.h b/src/mesa/swrast_setup/ss_context.h index b9918137635..f4dcb4e7d10 100644 --- a/src/mesa/swrast_setup/ss_context.h +++ b/src/mesa/swrast_setup/ss_context.h @@ -40,7 +40,8 @@ typedef struct { */ void (*InvalidateState)( GLcontext *ctx, GLuint new_state ); - void (*RasterSetup)( struct vertex_buffer *VB, GLuint start, GLuint end ); + void (*BuildProjVerts)( GLcontext *ctx, + GLuint start, GLuint end, GLuint new_inputs ); void (*Quad)( GLcontext *ctx, GLuint v0, GLuint v1, GLuint v2, GLuint v3, GLuint pv ); @@ -52,17 +53,10 @@ typedef struct { void (*Points)( GLcontext *ctx, GLuint first, GLuint last ); -} SScontext; - -typedef struct { - SWvertex *verts; -} SSvertexbuffer; - +} SScontext; #define SWSETUP_CONTEXT(ctx) ((SScontext *)ctx->swsetup_context) -#define SWSETUP_VB(VB) ((SSvertexbuffer *)VB->swsetup_vb) - #endif |