Hi All,

I have created a pixmap surface and need to synchronize it between two clutter 
processes running as server and client.
Client would perform all the GL related operations, where as the Server would 
perform native operations on the shared pixmap.

I have thought of the following solution and I would like your know your inputs:
Can I introduce two functions named lock and unlock and assign it to newly 
created function pointers in ClutterActorClass.
Now in order to guard the the critical section can I override the function 
clutter_actor_paint to lock-paint-unlock ?

The locking and unlocking has to happen on the server side too.

Is this solution appropriate? Could you all please comment on the same.

Regards,
Syed



      

Reply via email to