/** * 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); }
/* 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 ); }
void REPLICATESPU_APIENTRY replicatespu_Flush( void ) { GET_THREAD(thread); if (replicate_spu.swap) { crPackFlushSWAP(); } else { crPackFlush(); } replicatespuFlushAll( (void *) thread ); }
/** * 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(); }