catch wrote:
> Hi,
> 
> I want to save the the buffer of surface to a file,
> maybe a file with raw data or an image file,
> how can I do that?

IDirectFBSurface::Dump()

> I read the API of IDirectfbSurface
> but the GetFramebufferOffset** <IDirectFBSurface_GetFramebufferOffset.html>()
> seems not work.
> Is there any other way to access the surface buffer?

IDirectFBSurface::Lock()

-- 
Best regards,
  Denis Oliver Kropp

.------------------------------------------.
| DirectFB - Hardware accelerated graphics |
| http://www.directfb.org/                 |
"------------------------------------------"

_______________________________________________
directfb-users mailing list
directfb-users@directfb.org
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-users

Reply via email to