OSDN Git Service

r200: use correct finish interface
authorDave Airlie <airlied@redhat.com>
Thu, 12 Feb 2009 14:04:11 +0000 (00:04 +1000)
committerDave Airlie <airlied@redhat.com>
Thu, 12 Feb 2009 14:04:11 +0000 (00:04 +1000)
src/mesa/drivers/dri/r200/r200_cmdbuf.c
src/mesa/drivers/dri/r200/r200_ioctl.c
src/mesa/drivers/dri/r200/r200_ioctl.h
src/mesa/drivers/dri/r200/r200_pixel.c
src/mesa/drivers/dri/r200/r200_state.c

index cb1bd8b..6317dec 100644 (file)
@@ -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 );
    }
 }
 
index e19ff44..c08968f 100644 (file)
@@ -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;
index 950478e..2a4b8a1 100644 (file)
@@ -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,
index eefa2a1..a6c6558 100644 (file)
@@ -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;
 }
index 559985b..126f78b 100644 (file)
@@ -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;