Hi everybody,

We (the Freevo Project) are searching for a new GUI lib to give the
new Freevo 2.0 some eye candy. Clutter looks very good and may be our
new GUI backend. I played with it and I have some questions maybe one
of you can answer. I use pyclutter 0.6.

First of all, the animation flicker sometimes. It look like the do not
use sync to vblank. How do I enable it? I looked around and found
clutter.feature_available(clutter.FEATURE_SYNC_TO_VBLANK) which
returns True. How do I set a feature?

The next question is about threads. I found out that some parts should
be called from the clutter thread, most of them can be called from any
thread. But what is thread safe? I know I can call threads_enter() and
threads_leave, but do I need to? Is it safe to create an object
without calling this functions? What about reading some attributes
(e.g. get_x())? What about setting attributes?

Now some fancy stuff we will need. You support gstreamer as video
player inside clutter. We also want to support mplayer and xine. In
xine we created our own video driver that writes to shared memory (it
is a different process). If I understand it correctly we need to copy
the content of each frame into a clutter.Texture() object. That will
be done in C, ignore my Python example here. Can I lock the texture
somehow when copying a new image it it? Or is threads_enter enough? Is
there anything else I have to do? What format does a Texture support?
Only ARGB? Including mplayer is a bit more tricky. IMHO the best
option is to use XComposite? Has anyone ever tried including a
XComposite as clutter Texture?

OK, that's all for now. I hope someone can help us out here.


Regards


Dischi

-- 
I think there's a world market for about five computers.
                -- attr. Thomas J. Watson (Chairman of the Board, IBM), 1943

-- 
To unsubscribe send a mail to [EMAIL PROTECTED]

Reply via email to