> > Is it possible to first create the surface and then access it's data?
> > thanks a lot

Yes, use IDirectFBSurface::Lock().

> > dsc.preallocated[0].pitch = ;           /* ????????? */

Well that's a problem!

The pitch is the byte offset between adjacent lines of the surface's
data.  It'll be the number of bytes on a line or slightly larger if
you need to create a specific word alignment.

Mark

_______________________________________________
directfb-dev mailing list
[email protected]
http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev

Reply via email to