hi,
    currently , we are porting clutter to directfb backed end ,and also make
a directfb backed for gtk-clutter.
the former is okay, but the latter , we met problems.
the problem is about this:
   in the gtk-clutter X, windows backend, the clutter stage object will
first unrelaize self, then using the set_foregin_object to let the clutter
to create eglsurace using external gdk's window, (in X11, its xwindow, in
windows, its HWIND), then realize it.
but in directfb ,in current platform, egl's window surface is based on
Idirectfbsurface, not Idirctfbwindow.
in the gdk-directfb backend, only the top level window has one
Idirectfbwindow associated with it, for child window, it is just one sub
surface of the top level windows 's surface.
it is different  from X11 and win system.
so i don't know how to embed it, i stop here.

i also consider not using this set_foregin_object to user external window
and its surface like X11, just directly use clutter, it will map the window
to the gtk's window ,but it needs more info such as position and deminsion.

can some one give some suggestion or idear on how to resolve the problem?

thanks

Reply via email to