1: /*$Id: dsflush.c,v 1.29 2001/03/23 23:20:08 balay Exp $*/ 2: /* 3: Provides the calling sequences for all the basic PetscDraw routines. 4: */ 5: #include src/sys/src/draw/drawimpl.h 7: #undef __FUNCT__ 9: /*@ 10: PetscDrawSynchronizedFlush - Flushes graphical output. This waits until all 11: processors have arrived and flushed, then does a global flush. 12: This is usually done to change the frame for double buffered graphics. 14: Collective on PetscDraw 16: Input Parameters: 17: . draw - the drawing context 19: Level: beginner 21: Concepts: flushing^graphics 23: .seealso: PetscDrawFlush() 25: @*/ 26: int PetscDrawSynchronizedFlush(PetscDraw draw) 27: { 31: if (draw->ops->synchronizedflush) { 32: (*draw->ops->synchronizedflush)(draw); 33: } 34: return(0); 35: }