Reference Manual - 1.8.0
IDirectFBSurface   GetAccelerationMask

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

DFBResult GetAccelerationMask (
  IDirectFBSurface   * thiz,
  IDirectFBSurface   * source,
  DFBAccelerationMask   * ret_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.

Creative Commons License This work is licensed under a Creative Commons Attribution-Share Alike 3.0 License