I have noticed this method and worry if the DFB is not signleton, Thus
we could not get the IDirectFB interface used by Gdk. I think it is
more flexible to add new method.

Regards

XiaGuangTai

2007-9-27

On 9/27/07, Ben Combee <[EMAIL PROTECTED]> wrote:
> On 9/26/07, summer xia <[EMAIL PROTECTED]> wrote:
> > After digging the source codes of Gdk, I find that Gdk based on
> > DirectFB provides a function that we can get the IDirectFBSurface from
> > a GdkWindow. But it seems that there is lack of the function how to
> > get the IDirectFB, I have added a function that the user can get the
> > this interface. It seems that the DirectFB SDK doesn't provide the
> > method how to get the IDirectFB interface from IDirectFBSurface
> > either. I am wondering to know whether there is some a function to do
> > that. If so, it would not be added a new method on Gdk based on
> > DirectFB. Thanks.
>
> You don't need a new call for this.  To get the IDirectFB interface
> pointer, just call DirectFBCreate.  This function won't create a new
> DFB instance if it already exists, it will just increment the
> reference count of the DFB singleton.
>
> _______________________________________________
> directfb-dev mailing list
> [email protected]
> http://mail.directfb.org/cgi-bin/mailman/listinfo/directfb-dev
>

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

Reply via email to