1: /* 2: Provides the calling sequences for all the basic PetscDraw routines. 3: */ 4: #include src/sys/src/draw/drawimpl.h 8: /*@ 9: PetscDrawSynchronizedFlush - Flushes graphical output. This waits until all 10: processors have arrived and flushed, then does a global flush. 11: This is usually done to change the frame for double buffered graphics. 13: Collective on PetscDraw 15: Input Parameters: 16: . draw - the drawing context 18: Level: beginner 20: Concepts: flushing^graphics 22: .seealso: PetscDrawFlush() 24: @*/ 25: PetscErrorCode PetscDrawSynchronizedFlush(PetscDraw draw) 26: { 30: if (draw->ops->synchronizedflush) { 31: (*draw->ops->synchronizedflush)(draw); 32: } 33: return(0); 34: }