Mesa (radeon-rewrite): r200: use correct finish interface
Dave Airlie
airlied at kemper.freedesktop.org
Thu Feb 12 06:02:18 UTC 2009
Module: Mesa
Branch: radeon-rewrite
Commit: 393c699e219b6cccf0d235749ec7bfaade75f88c
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=393c699e219b6cccf0d235749ec7bfaade75f88c
Author: Dave Airlie <airlied at redhat.com>
Date: Fri Feb 13 00:04:11 2009 +1000
r200: use correct finish interface
---
src/mesa/drivers/dri/r200/r200_cmdbuf.c | 2 +-
src/mesa/drivers/dri/r200/r200_ioctl.c | 2 +-
src/mesa/drivers/dri/r200/r200_ioctl.h | 2 --
src/mesa/drivers/dri/r200/r200_pixel.c | 2 +-
src/mesa/drivers/dri/r200/r200_state.c | 2 +-
5 files changed, 4 insertions(+), 6 deletions(-)
diff --git a/src/mesa/drivers/dri/r200/r200_cmdbuf.c b/src/mesa/drivers/dri/r200/r200_cmdbuf.c
index cb1bd8b..6317dec 100644
--- a/src/mesa/drivers/dri/r200/r200_cmdbuf.c
+++ b/src/mesa/drivers/dri/r200/r200_cmdbuf.c
@@ -187,7 +187,7 @@ void r200FlushElts(GLcontext *ctx)
if (R200_DEBUG & DEBUG_SYNC) {
fprintf(stderr, "%s: Syncing\n", __FUNCTION__);
- r200Finish( rmesa->radeon.glCtx );
+ radeonFinish( rmesa->radeon.glCtx );
}
}
diff --git a/src/mesa/drivers/dri/r200/r200_ioctl.c b/src/mesa/drivers/dri/r200/r200_ioctl.c
index e19ff44..c08968f 100644
--- a/src/mesa/drivers/dri/r200/r200_ioctl.c
+++ b/src/mesa/drivers/dri/r200/r200_ioctl.c
@@ -213,7 +213,7 @@ static void r200Clear( GLcontext *ctx, GLbitfield mask )
return;
}
- r200Flush( ctx );
+ radeonFlush( ctx );
if ( mask & BUFFER_BIT_FRONT_LEFT ) {
flags |= RADEON_FRONT;
diff --git a/src/mesa/drivers/dri/r200/r200_ioctl.h b/src/mesa/drivers/dri/r200/r200_ioctl.h
index 950478e..2a4b8a1 100644
--- a/src/mesa/drivers/dri/r200/r200_ioctl.h
+++ b/src/mesa/drivers/dri/r200/r200_ioctl.h
@@ -61,8 +61,6 @@ extern GLushort *r200AllocEltsOpenEnded( r200ContextPtr rmesa,
extern void r200EmitAOS(r200ContextPtr rmesa, GLuint nr, GLuint offset);
-extern void r200Flush( GLcontext *ctx );
-extern void r200Finish( GLcontext *ctx );
extern void r200InitIoctlFuncs( struct dd_function_table *functions );
extern void *r200AllocateMemoryMESA( __DRIscreen *screen, GLsizei size, GLfloat readfreq,
diff --git a/src/mesa/drivers/dri/r200/r200_pixel.c b/src/mesa/drivers/dri/r200/r200_pixel.c
index eefa2a1..a6c6558 100644
--- a/src/mesa/drivers/dri/r200/r200_pixel.c
+++ b/src/mesa/drivers/dri/r200/r200_pixel.c
@@ -262,7 +262,7 @@ r200TryReadPixels( GLcontext *ctx,
}
UNLOCK_HARDWARE( &rmesa->radeon );
- r200Finish( ctx ); /* required by GL */
+ radeonFinish( ctx ); /* required by GL */
#endif
return GL_TRUE;
}
diff --git a/src/mesa/drivers/dri/r200/r200_state.c b/src/mesa/drivers/dri/r200/r200_state.c
index 559985b..126f78b 100644
--- a/src/mesa/drivers/dri/r200/r200_state.c
+++ b/src/mesa/drivers/dri/r200/r200_state.c
@@ -2380,7 +2380,7 @@ again:
if (ret == RADEON_CS_SPACE_OP_TO_BIG)
return GL_FALSE;
if (ret == RADEON_CS_SPACE_FLUSH) {
- r200Flush(ctx);
+ radeonFlush(ctx);
if (flushed)
return GL_FALSE;
flushed = 1;
More information about the mesa-commit
mailing list