DirectFB Reference Manual
IDirectFB   SetVideoMode

Switch the current video mode (primary layer).

SetVideoMode (
  IDirectFB *thiz
  unsigned int width
  unsigned int height
  unsigned int bpp
);

If in shared cooperative level this function sets the resolution of the window that is created implicitly for the primary surface.

  (C) Copyright by convergence GmbH