Hi all,

I need to be able to render a ClutterStage to an offscreen X Pixmap
(in order to render into a windowless NPAPI browser plugin).  I was
hacking around a bit in the x11 and glx backends, and then later found
the ClutterStage::offscreen property, and then found a git commit from
October[1] mentioning removing the then-mostly-broken offscreen
support from the egl/glx stages, pending a rework of how FBOs are
handled.

I also found a bug[2] talking about some related issues, but it seems
like the idea there is to have a ClutterOffscreen actor that is still
parented to an on-screen ClutterStage.  Perhaps I'm misunderstanding
how this would work, but I'm not sure this would be suitable for me
either, unless the on-screen ClutterStage can somehow make do without
having an X window at all (well I suppose it could have an X window,
as long as it doesn't care about the window's size and will promise
not to draw to it :-P ).

So I guess I have two questions: any idea what the plans are for
offscreen support?  Will I be able to entirely render a stage
offscreen and copy the results to an offscreen pixmap (or tell clutter
to just draw to an offscreen pixmap via a GLXPixmap or something to
avoid an extra copy)?  Is anybody working on this, and any idea how
long it will take to be implemented?  I'd rather not go my own way on
this since my guess is that my implementation wouldn't really be
suitable for upstream, but it'd be great if I could avoid duplicating
some work, or at least help out to some extent with the planned
"blessed" implementation.

Thanks,
Brian

[1] 
http://git.clutter-project.org/cgit.cgi?url=clutter/commit/&id=15d7a86621f3fc80d3d50e7f5a3a141412163e7f
[2] http://bugzilla.o-hand.com/show_bug.cgi?id=1573
-- 
To unsubscribe send a mail to [email protected]

Reply via email to