Re: [clutter] Unrefrencing

2008-06-18 Thread Mike Massonnet
On Wed, Jun 18, 2008 at 01:58:50PM +0800, HASWANI HARISH-VCKR47 wrote:
  
 Hi All,
 
 Here is my confusion : ptr is an actor, which is added to stage. 
 Later on unreferenced and initialized with new texture. After adding new 
 texture, I am adding again this ptr to stage.
 Here is code: 
 
 
 ClutterActor *ptr=clutter_texture_new_from_pixbuf(pixbuf);
 .
 .
 .
 g_object_unref(G_OBJECT(ptr))
 ptr=clutter_texture_new_from_pixbuf(pixbuf1);
 
 
 Issue : when I am executing this piece of code. I am getting  this error: 
 (./test-behave:530): Clutter-CRITICAL **: clutter_actor_paint: assertion 
 `CLUTTE
 R_IS_ACTOR (self)' failed
 
 Please tell me where I am goofing up.

I think you must use clutter_actor_destroy instead of g_object_unref.

 Regards,
 Harish Haswani,

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



[clutter] tidy svn has a forgotten clutter-0.6

2008-08-08 Thread Mike Massonnet
Hi devs,

Tidy svn has still a clutter-0.6 in the way, it doesn't do anything
except that pkg-config --cflags tidy-0.1 returns
-I/usr/include/clutter-0.6.

Attached is a diff.

Cheers,
Mike
Index: configure.ac
===
--- configure.ac	(révision 233)
+++ configure.ac	(copie de travail)
@@ -64,7 +64,7 @@
 
 GLIB_PREFIX=`$PKG_CONFIG --variable=prefix glib-2.0`
 PANGO_PREFIX=`$PKG_CONFIG --variable=prefix pango`
-CLUTTER_PREFIX=`$PKG_CONFIG --variable=prefix clutter-0.6`
+CLUTTER_PREFIX=`$PKG_CONFIG --variable=prefix clutter-0.8`
 
 AC_SUBST(GLIB_PREFIX)
 AC_SUBST(PANGO_PREFIX)


[clutter] Re: tidy svn has a forgotten clutter-0.6

2008-08-08 Thread Mike Massonnet
Meh, it is actually in tidy.pc.in /o\

Anyhow, I fetched two 0.6's still in tidy.

2008/8/8 Mike Massonnet [EMAIL PROTECTED]:
 Hi devs,

 Tidy svn has still a clutter-0.6 in the way, it doesn't do anything
 except that pkg-config --cflags tidy-0.1 returns
 -I/usr/include/clutter-0.6.

 Attached is a diff.

 Cheers,
 Mike

Index: tidy.pc.in
===
--- tidy.pc.in	(révision 233)
+++ tidy.pc.in	(copie de travail)
@@ -8,4 +8,4 @@
 Version: @VERSION@
 Libs: -L${libdir} -ltidy-1.0
 Cflags: -I${includedir}/tidy-1.0
-Requires: gobject-2.0 clutter-0.6
+Requires: gobject-2.0 clutter-0.8


Re: [clutter] clutter for OSD

2008-09-07 Thread Mike Massonnet
Hi,

Le Sun, 7 Sep 2008 14:18:46 +0200,
Philippe ENTZMANN [EMAIL PROTECTED] a écrit :

 Hello,
 
 I successfully use pyclutter as a menu/launcher for several OpenGL
 applications.
 The whole is running in straight X window (no window manager nor
 desktop manager).
 
 I would like to use clutter too to display something over the
 running OpenGL applications.
 I tried xosd which is working fine but very limited.
 
 I wonder if this kind of OSD behaviour is possible with clutter ?
 Is there a kind of fullscreen transparent stage ?
 Is it in the scope of clutter ?

I had definitely say no.  IMHO, you keep your default stage, and uses
something like DBUS so that you can display specific messages onto the
default stage.

I didn't look deep into the clutter compositor hack, but it sounds
interesting... 
http://wingolog.org/archives/2008/07/26/so-you-want-to-build-a-compositor


My 2 rants
Mike
--
To unsubscribe send a mail to [EMAIL PROTECTED]



[clutter] Weird bug with fullscreen

2008-10-09 Thread Mike Massonnet
Hello,

Yesterday on IRC I mentionned a bug with fullscreen and it's getting
weirder.  I thought I could only trigger it on one board, but now I can
trigger it on any boards.

When I pass a stage to fullscreen it takes only a quarter of the display
(close to that).

What I do is next:

stage = clutter_stage_get_deault ();
clutter_stage_fullscreen (CLUTTER_STAGE (stage));
clutter_actor_show (stage);

This doesn't work.


Now I tried this:

stage = clutter_stage_get_deault ();
clutter_stage_fullscreen (CLUTTER_STAGE (stage));
/* Add actors to the stage ... */
clutter_actor_set_size (stage, 1024, 768); // or 800 or -1 or ...
clutter_actor_show (stage);

This works.


And finally I stumbled over this:

stage = clutter_stage_get_deault ();
clutter_stage_fullscreen (CLUTTER_STAGE (stage));
clutter_actor_show_all (stage); // show_all!

And that one Just Workstm.

I triggered some weird stuff with fullscreen, but finally I got it!


My 2 cents,
Mike
-- 
To unsubscribe send a mail to [EMAIL PROTECTED]



Re: [clutter] about webkit clutter

2008-11-25 Thread Mike Massonnet
Hi,

I didn't try to play flash inside a clutter-webkit browser?  Has anyone
feedback on this?  Does it need a gamer machine? :p

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



Re: [clutter] Tidy finger scroll

2009-02-20 Thread Mike Massonnet
Le Fri, 20 Feb 2009 16:03:05 +0800,
Kiran Bhide (RBEI/ECG3) kiran.bh...@in.bosch.com a écrit :

 Hello,
 
 I am using tidy-finger-scroll in kinetic mode in a particular
 application. Using: tidy-1.0 with Clutter 0.8
 
 Does anybody have an idea how to always hide the scrollbar, even
 while scrolling ?
 
 Thanks !
 
 Kiran

I don't know how it changed lately, but the scrollbar you see is
hardcoded in tidy, so it displays always.  The only solution is to
modify the source and remove the calls to (off my head)
scrollbars_show.  I don't remember which object exactly, but one
related from the viewport to the finger_scroll_view.

Mike
--
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com



[clutter] Re: clutter + webkit + flash

2009-04-02 Thread Mike Massonnet
Hi David,

Well no, I never got around it. My guess is that it works, but for what
I remember at that time, webkit is rendered on a cairo context which is
displayed inside a cluttertexture, it is somewhat like that. So IMHO
you can't play high definition videos for instance.

Mike

Le Thu, 2 Apr 2009 12:14:43 +0200,
David Espinola espin...@gmail.com a écrit :

 Hi Mike,
 
 I am David Espinola, from Barcelona, and I've read that you post a
 message some time ago about if it was possible play flash inside
 clutter-webkit.  I have also the same problem that you had and I was
 wondering if you already got an answer.
 
  Re: [clutter] about webkit clutter
 
 Mike Massonnet
 Tue, 25 Nov 2008 04:14:54 -0800
 
 Hi,
 
 I didn't try to play flash inside a clutter-webkit browser?  Has
 anyone feedback on this?  Does it need a gamer machine? :p
 
 Thanks
 Mike

--
To unsubscribe send a mail to clutter+unsubscr...@o-hand.com