Reference Manual - 0.9.25
IDirectFBSurface   Flip

Flip the two buffers of the surface.

Flip (
  IDirectFBSurface   * thiz,
  const DFBRegion   * region,
  DFBSurfaceFlipFlags   flags
);

If no region is specified the whole surface is flipped, otherwise blitting is used to update the region. This function fails if the surfaces capabilities don't include DSCAPS_FLIPPING.