DirectFB Reference Manual
IDirectFB   WaitForSync

Wait for next vertical retrace.

WaitForSync (
  IDirectFB   * thiz
);