示例#1
0
/**
 * Send an OpenGL glFlush command to the named server.
 * This is just used to test if a CRConnection is really valid.
 */
static void
FlushConnection(int i)
{
	GET_THREAD(thread);
	if (replicate_spu.swap)
		crPackFlushSWAP();
	else
		crPackFlush();
	replicatespuFlushOne(thread, i);
}
示例#2
0
/* VMGL: Dropped this one in. Used to be autogenerated
   by packspu_flush.py, but that isn't invoked anymore */
void PACKSPU_APIENTRY packspu_Flush( void )
{
        GET_THREAD(thread);
        if (pack_spu.swap)
        {
            crPackFlushSWAP(  );
        }
        else
        {
            crPackFlush(  );
        }
        packspuFlush( (void *) thread );
}
示例#3
0
void REPLICATESPU_APIENTRY replicatespu_Flush( void )
{
	GET_THREAD(thread);
	if (replicate_spu.swap)
	{
		crPackFlushSWAP();
	}
	else
	{
		crPackFlush();
	}
	replicatespuFlushAll( (void *) thread );
}
示例#4
0
/**
 * Implementation of glFlush for tilesorter
 */
void TILESORTSPU_APIENTRY tilesortspu_Flush(void)
{
	GET_THREAD(thread);
	tilesortspuFlush( thread );
	if (tilesort_spu.swap)
	{
		crPackFlushSWAP();
	}
	else
	{
		crPackFlush();
	}
	tilesortspuBroadcastGeom(0);
	tilesortspuShipBuffers();
}