Actual source code: dflush.c

  1: /*
  2:        Provides the calling sequences for all the basic PetscDraw routines.
  3: */
 4:  #include src/sys/src/draw/drawimpl.h

  8: /*@
  9:    PetscDrawFlush - Flushs graphical output.

 11:    Not collective (Use PetscDrawSynchronizedFlush() for collective)

 13:    Input Parameters:
 14: .  draw - the drawing context

 16:    Level: beginner

 18:    Concepts: flushing^graphics

 20: .seealso: PetscDrawSynchronizedFlush()
 21: @*/
 22: PetscErrorCode PetscDrawFlush(PetscDraw draw)
 23: {
 27:   if (draw->ops->flush) {
 28:     (*draw->ops->flush)(draw);
 29:   }
 30:   return(0);
 31: }