RAJESH TANEJA wrote:
> Hello,
> 
>  
> 
> I am trying to understand how cairo is working in tandom with directfb.

You can create a Cairo surface given a DirectFB surface:

cairo_surface_t *
cairo_directfb_surface_create (IDirectFB *dfb, IDirectFBSurface *dfbsurface);

> Can anyone help me understand how cairo blit on to directfb surface 
> using backend.

http://gitweb.freedesktop.org/?p=cairo;a=blob;f=src/cairo-directfb-surface.c

Both APIs render to the same buffer, i.e. the Cairo Surface just being a handle 
or wrapper.

-- 
Best regards,
   Denis Oliver Kropp

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

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

Reply via email to