Hi,
I'm currently toying with clutter, and I tried to use
clutter_actor_set_clip in one little program.
First thing: it seems not to work :-) The program hangs while rendering.
Here's a backtrace of the hang:
#0 0xffffe410 in __kernel_vsyscall ()
#1 0xb7e622ae in __lll_mutex_lock_wait ()
from /lib/tls/i686/cmov/libpthread.so.0
#2 0xb7e5efbb in _L_mutex_lock_33 ()
from /lib/tls/i686/cmov/libpthread.so.0
#3 0xb7f6c711 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#4 0xb7a58a6a in clutter_threads_enter () at clutter-main.c:410
#5 0xb7a5f33c in clutter_texture_unrealize (actor=0xfffffffc)
at clutter-texture.c:343
#6 0xb7a648ab in clutter_actor_unrealize (self=0xb7e673b4)
at clutter-actor.c:225
#7 0xb7a6028e in clutter_texture_dispose (object=0x8268000)
at clutter-texture.c:665
#8 0xb7a63c11 in clutter_label_dispose (object=0x8268000)
at clutter-label.c:255
#9 0xb7c79124 in IA__g_object_run_dispose (object=0x8268000) at
gobject.c:571
#10 0xb7a64fbb in clutter_actor_destroy (self=0x8268000) at
clutter-actor.c:738
#11 0xb7a5c040 in clutter_group_foreach (self=0x80fc898,
callback=0xb7a64f25 <clutter_actor_destroy>, user_data=0x0)
at clutter-group.c:323
#12 0xb7a5c0c0 in clutter_group_dispose (object=0x80fc898)
at clutter-group.c:205
#13 0xb7c79124 in IA__g_object_run_dispose (object=0x80fc898) at
gobject.c:571
#14 0xb7a64fbb in clutter_actor_destroy (self=0x80fc898) at
clutter-actor.c:738
#15 0xb7a5c040 in clutter_group_foreach (self=0x810e830,
callback=0xb7a64f25 <clutter_actor_destroy>, user_data=0x0)
at clutter-group.c:323
#16 0xb7a5c0c0 in clutter_group_dispose (object=0x810e830)
at clutter-group.c:205
#17 0xb7a5d8da in clutter_stage_dispose (object=0x810e830)
at clutter-stage.c:513
#18 0xb7c785dc in IA__g_object_unref (_object=0x810e830) at
gobject.c:1734
#19 0xb7a6599c in clutter_actor_paint (self=0x8267000) at
clutter-actor.c:279
#20 0xb7a5bb80 in clutter_group_paint (actor=0x80fc898) at
clutter-group.c:92
#21 0xb7a65896 in clutter_actor_paint (self=0x80fc898) at
clutter-actor.c:331
#22 0xb7a5bb80 in clutter_group_paint (actor=0x810e830) at
clutter-group.c:92
#23 0xb7a5d744 in clutter_stage_paint (self=0xfffffffc) at
clutter-stage.c:447
#24 0xb7a65896 in clutter_actor_paint (self=0x810e830) at
clutter-actor.c:331
#25 0xb7a58c9d in clutter_redraw () at clutter-main.c:292
#26 0xb7a64858 in redraw_update_idle (data=0x0) at clutter-actor.c:111
#27 0xb7ab7f12 in g_idle_dispatch (source=0x86b8c58,
callback=0xb7e673b4 <pthread_functions+500>, user_data=0xfffffffc)
at gmain.c:3924
#28 0xb7ab5bdd in IA__g_main_context_dispatch (context=0x82661b0)
at gmain.c:2043
#29 0xb7ab8cb6 in g_main_context_iterate (context=0x82661b0, block=1,
dispatch=1, self=0x804e0d8) at gmain.c:2675
#30 0xb7ab8fd8 in IA__g_main_loop_run (loop=0x86bd5b8) at gmain.c:2879
#31 0xb7a58b4c in clutter_main () at clutter-main.c:384
#32 0x080497ff in main (argc=1, argv=0xbfe79114) at menu.c:282
Even if it worked, I'd like to get a bit more details about the function
semantics. Are the clipping coordinates relative to the actor itself? If
applied on a group, will it clip children?
Thanks,
Fred
-- To unsubscribe send a mail to clutter+unsubscribe@o-hand.comReceived on Mon, 07 Aug 2006 21:02:58 +0200
This archive was generated by hypermail 2.1.8 : Mon Apr 30 2007 - 08:01:15 EDT