diff options
author | Brian <[email protected]> | 2007-08-20 16:31:12 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-08-20 16:31:12 -0600 |
commit | 8175eaa3b49f3b62f7ab251c4e0fbd14dd9f7e2b (patch) | |
tree | 9f49d51df082f2e2033bf6c624e3d2c9b35af2f8 /src/mesa/pipe/draw | |
parent | 51da8ee85eccf0df3721cbd863cd174382d1ddfd (diff) |
Checkpoint: remove more of the old draw_vb() code.
Diffstat (limited to 'src/mesa/pipe/draw')
-rw-r--r-- | src/mesa/pipe/draw/draw_arrays.c | 3 | ||||
-rw-r--r-- | src/mesa/pipe/draw/draw_context.c | 6 | ||||
-rw-r--r-- | src/mesa/pipe/draw/draw_private.h | 7 |
3 files changed, 7 insertions, 9 deletions
diff --git a/src/mesa/pipe/draw/draw_arrays.c b/src/mesa/pipe/draw/draw_arrays.c index fe9ec444252..8cb34e8f8ed 100644 --- a/src/mesa/pipe/draw/draw_arrays.c +++ b/src/mesa/pipe/draw/draw_arrays.c @@ -354,9 +354,6 @@ do { \ } while (0) -/** - * XXX very similar to same func in draw_vb.c (which will go away) - */ void draw_set_vertex_attributes( struct draw_context *draw, const unsigned *slot_to_vf_attr, diff --git a/src/mesa/pipe/draw/draw_context.c b/src/mesa/pipe/draw/draw_context.c index cc00576c53b..0a3df37b7fa 100644 --- a/src/mesa/pipe/draw/draw_context.c +++ b/src/mesa/pipe/draw/draw_context.c @@ -60,8 +60,10 @@ struct draw_context *draw_create( void ) draw->nr_planes = 6; #ifdef MESA +#if 0 draw->vf = vf_create( GL_TRUE ); #endif +#endif /* Statically allocate maximum sized vertices for the cache - could be cleverer... */ @@ -79,7 +81,7 @@ struct draw_context *draw_create( void ) void draw_destroy( struct draw_context *draw ) { -#ifdef MESA +#if 0/*def MESA*/ if (draw->header.storage) { ALIGN_FREE( draw->header.storage ); } @@ -194,8 +196,10 @@ void draw_set_viewport_state( struct draw_context *draw, draw->viewport = *viewport; /* struct copy */ #ifdef MESA +#if 0 vf_set_vp_scale_translate( draw->vf, viewport->scale, viewport->translate ); #endif +#endif /* Using tnl/ and vf/ modules is temporary while getting started. * Full pipe will have vertex shader, vertex fetch of its own. diff --git a/src/mesa/pipe/draw/draw_private.h b/src/mesa/pipe/draw/draw_private.h index 5c3efb80e99..a9825e646b1 100644 --- a/src/mesa/pipe/draw/draw_private.h +++ b/src/mesa/pipe/draw/draw_private.h @@ -222,14 +222,11 @@ struct draw_context } pq; - /* Misc for draw_vb.c (XXX temporary) - */ -#ifdef MESA - GLvector4f header; -#endif +#if 0 ubyte *verts; boolean in_vb; struct vertex_fetch *vf; +#endif }; |