Hi, Can you tell me where is this df_fire example located? I mean in
DirectFB sources or in some other module?
> >
> > Look below.
> >
> > IDirectFBSurface       *surface;
> > DFBSurfaceDescription   desc;
> >
> > desc.flags = DSDESC_WIDTH | DSDESC_HEIGHT |
> >              DSDESC_PIXELFORMAT | DSDESC_PREALLOCATED;
> > desc.width = <width>
> > desc.height = <height>
> > desc.pixelformat = <format>
> > desc.preallocated.data = <pixels>
> > desc.preallocated.pitch = <bytes per line>
> >
> > dfb->CreateSurface( dfb, &desc, &surface );


Reply via email to