On Sun, May 08, 2005 at 01:14:02PM -0400, Mike Emmel wrote:
> Hi all I'm running into some issues with the surface locking and Cairo.
> 
> The basic problem is that I need to lock the surface at a high level
> but allow cairo to access the surface pointer deep inside and its
> difficult to pass it down. I'd like to see a lock function that saves
> the pointer in the surface so its easy for me to get too from cairo.

Is there a reason you don't use a private struct (eg. 
cairo_directfb_surface_t) where you store the pointer, IDirectFBSurface 
and anything else you need?

-- 
Ville Syrj�l�
[EMAIL PROTECTED]
http://www.sci.fi/~syrjala/

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

Reply via email to