aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2009-01-22 02:38:00 +1000
committerDave Airlie <[email protected]>2009-01-22 02:38:00 +1000
commit0788e424713a2b71cceee60bcd21c79a2896b3bd (patch)
treee66484b14fe9e8f57ceb462f881689418c8d9ce8 /src/mesa/drivers/dri
parent909aeb005f6e5b35889aa9b4fc5e68786bdad047 (diff)
r200: remove indexed verts
Diffstat (limited to 'src/mesa/drivers/dri')
-rw-r--r--src/mesa/drivers/dri/r200/r200_context.h2
-rw-r--r--src/mesa/drivers/dri/r200/r200_swtcl.c2
-rw-r--r--src/mesa/drivers/dri/r200/r200_swtcl.h4
-rw-r--r--src/mesa/drivers/dri/r200/r200_tcl.c4
4 files changed, 0 insertions, 12 deletions
diff --git a/src/mesa/drivers/dri/r200/r200_context.h b/src/mesa/drivers/dri/r200/r200_context.h
index 5ecf7979994..2725dc495f6 100644
--- a/src/mesa/drivers/dri/r200/r200_context.h
+++ b/src/mesa/drivers/dri/r200/r200_context.h
@@ -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;
};
diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.c b/src/mesa/drivers/dri/r200/r200_swtcl.c
index 0be772d0158..7275886f846 100644
--- a/src/mesa/drivers/dri/r200/r200_swtcl.c
+++ b/src/mesa/drivers/dri/r200/r200_swtcl.c
@@ -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__ );
}
diff --git a/src/mesa/drivers/dri/r200/r200_swtcl.h b/src/mesa/drivers/dri/r200/r200_swtcl.h
index 0c25d8bc83d..91c7c0ff8fc 100644
--- a/src/mesa/drivers/dri/r200/r200_swtcl.h
+++ b/src/mesa/drivers/dri/r200/r200_swtcl.h
@@ -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 );
diff --git a/src/mesa/drivers/dri/r200/r200_tcl.c b/src/mesa/drivers/dri/r200/r200_tcl.c
index 226bf1620c4..0f15fd457e5 100644
--- a/src/mesa/drivers/dri/r200/r200_tcl.c
+++ b/src/mesa/drivers/dri/r200/r200_tcl.c
@@ -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;