DirectFB Reference Manual
IDirectFB   SetVideoMode

Switch the current video mode (primary layer).

SetVideoMode (
  IDirectFB *thiz
  int width
  int height
  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