r200: remove indexed verts
authorDave Airlie <airlied@redhat.com>
Wed, 21 Jan 2009 16:38:00 +0000 (02:38 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 21 Jan 2009 16:38:00 +0000 (02:38 +1000)
src/mesa/drivers/dri/r200/r200_context.h
src/mesa/drivers/dri/r200/r200_swtcl.c
src/mesa/drivers/dri/r200/r200_swtcl.h
src/mesa/drivers/dri/r200/r200_tcl.c

index 5ecf7979994148dc8dbfc24f0df2a121e8bc8ab5..2725dc495f6e7e57c327be761db102f1410b9bbb 100644 (file)
@@ -544,7 +544,6 @@ struct r200_tcl_info {
 
    GLuint *Elts;
 
-   struct radeon_dma_region indexed_verts;
    struct radeon_dma_region vertex_data[15];
 };
 
@@ -603,7 +602,6 @@ struct r200_swtcl_info {
 
    struct radeon_bo *bo;
    void (*flush) (r200ContextPtr);
-   struct radeon_dma_region indexed_verts;
 };
 
 
index 0be772d015826262e9ceda3e49895b6562fd2cca..7275886f846a5f300a94056ead0baf00ac675cab 100644 (file)
@@ -954,6 +954,4 @@ void r200DestroySwtcl( GLcontext *ctx )
 {
    r200ContextPtr rmesa = R200_CONTEXT(ctx);
 
-   //   if (rmesa->swtcl.indexed_verts.buf) 
-     //      r200ReleaseDmaRegion( rmesa, &rmesa->swtcl.indexed_verts, __FUNCTION__ );
 }
index 0c25d8bc83d90c060120100f7a476a67fc1e9ea4..91c7c0ff8fc045b92d96e3e5901d50fac2c38284 100644 (file)
@@ -52,10 +52,6 @@ extern void r200BuildVertices( GLcontext *ctx, GLuint start, GLuint count,
 extern void r200PrintSetupFlags(char *msg, GLuint flags );
 
 
-extern void r200_emit_indexed_verts( GLcontext *ctx,
-                                      GLuint start,
-                                      GLuint count );
-
 extern void r200_translate_vertex( GLcontext *ctx, 
                                     const radeonVertex *src, 
                                     SWvertex *dst );
index 226bf1620c442d4c680b2f91680820d5ded6398f..0f15fd457e50dc51bd43d32b6db150f8402cbd4b 100644 (file)
@@ -570,10 +570,6 @@ static void transition_to_hwtnl( GLcontext *ctx )
 
    rmesa->dma.flush = NULL;
    
-   //   if (rmesa->swtcl.indexed_verts.buf) 
-     //      r200ReleaseDmaRegion( rmesa, &rmesa->swtcl.indexed_verts, 
-     //                              __FUNCTION__ );
-
    R200_STATECHANGE( rmesa, vap );
    rmesa->hw.vap.cmd[VAP_SE_VAP_CNTL] |= R200_VAP_TCL_ENABLE;
    rmesa->hw.vap.cmd[VAP_SE_VAP_CNTL] &= ~R200_VAP_FORCE_W_TO_ONE;