DirectFB Reference Manual
IDirectFBSurface   GetAccelerationMask

Get a mask of drawing functions that are hardware accelerated with the current settings.

GetAccelerationMask (
  IDirectFBSurface *thiz
  IDirectFBSurface *source
  DFBAccelerationMask *mask
);

If a source surface is specified the mask will also contain accelerated blitting functions. Note that there is no guarantee that these will actually be accelerated since the surface storage (video/system) is examined only when something actually gets drawn or blitted.

  (C) Copyright by convergence GmbH