Re: [clutter] How to compile clutter-mozembed

2009-05-01 Thread Harry Zhang
Chris, Thanks a lot for your great help, I've compiled the trunk with headless branch and your example .mozconfig file by using command: make -f client.mk build After the successful compilation, I've get an object directory; then I follow the Build and Install instructions of Mozilla (

Re: [clutter] locking stage

2009-04-28 Thread Julien Isorce
2009/4/26 Emmanuele Bassi eba...@linux.intel.com On Thu, 2009-04-23 at 19:55 +0200, Julien Isorce wrote: Actually I want to update a ClutterTexture with a texture that comes from my own opengl context that is created in an other thread than the clutter one. uh-oh. potential

Re: [clutter] Tidy for Clutter-0.9

2009-04-27 Thread Tomas Frydrych
Kiran Bhide (RBEI/ECG3) wrote: Is there a tidy package build for Clutter-0.9 ? Or when is it expected ? The one in GIT still uses Clutter-0.8 and build with Clutter-0.9 breaks ! Not compalining but just eager to know :) No there isn't one; Tidy is only maintained for each stable release, and

Re: [clutter] Recursive offscreen rendering with cogl_draw_buffer

2009-04-27 Thread Henrik Hedberg
I wrote: Is it possible to implement a container that renders to an offscreen framebuffer object and have a ClutterTexture as a child? As far as I understand, the implementation of cogl_draw_buffer and its usage in ClutterTexture makes that impossible. There seems to be already a

Re: [clutter] locking stage

2009-04-26 Thread Emmanuele Bassi
On Thu, 2009-04-23 at 19:55 +0200, Julien Isorce wrote: Actually I want to update a ClutterTexture with a texture that comes from my own opengl context that is created in an other thread than the clutter one. uh-oh. potential exponential mess alert. Just after creating my opengl context,

Re: [clutter] Re: Help using Clutter includes

2009-04-25 Thread Emmanuele Bassi
On Sat, 2009-04-25 at 16:48 +0200, Dario Rossi wrote: As an Integration to my previous post: as I try to include Clutter headers in any project I have (and that compiles fine) I get: /usr/include/clutter/clutter-fixed.h:39: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before

Re: [clutter] Printing fps of test-actors

2009-04-23 Thread Emmanuele Bassi
On Thu, 2009-04-23 at 13:33 +0530, Rajith Kalluraya wrote: Hi, Is is possible to print the fps of test-actors? Only approach i can see is connecting to paint signal of stage and placing a print in the callback. Is there a better way of recording the fps?

Re: [clutter] Printing fps of test-actors

2009-04-23 Thread Rajith Kalluraya
Thanks. That was very helpful. Just the thing i was looking for. Cheers, Rajith 2009/4/23 Emmanuele Bassi eba...@linux.intel.com On Thu, 2009-04-23 at 13:33 +0530, Rajith Kalluraya wrote: Hi, Is is possible to print the fps of test-actors? Only approach i can see is connecting to

Re: [clutter] clutter_texture_new_from_actor

2009-04-23 Thread Emmanuele Bassi
On Thu, 2009-04-23 at 15:32 +0200, Pe'ter, Csa'sza'r wrote: Might there be any backend related reason for such a problem? Anyone have any idea other than checking clutter-actor show/hide/opacity/etc ? when you are reporting that something does not seem to work properly you *need* to give

Re: [clutter] Execute an animation on completion of another

2009-04-18 Thread Emmanuele Bassi
On Sat, 2009-04-18 at 12:20 +1000, Saul Lethbridge wrote: I'm trying to execute a second animation on completion of the first. I can't get this to work though (compiles but the second animation is not executed). I've altered the example animation to demonstrate what I'm trying to do. the

Re: [clutter] [bugzilla] copyright waiver for patches

2009-04-16 Thread Murray Cumming
On Tue, 2009-03-31 at 17:43 +0200, Murray Cumming wrote: Yeah, I would normally avoid any boring legal discussion, but I do think it's a fundamental part of copyright law that you can't go to court and defend a copyright if you are not the copyright holder. That concept has some fancy latin

Re: [clutter] [bugzilla] copyright waiver for patches

2009-04-16 Thread Emmanuele Bassi
On Thu, 2009-04-16 at 12:31 +0200, Murray Cumming wrote: On Tue, 2009-03-31 at 17:43 +0200, Murray Cumming wrote: Yeah, I would normally avoid any boring legal discussion, but I do think it's a fundamental part of copyright law that you can't go to court and defend a copyright if you are

Re: [clutter] [bugzilla] copyright waiver for patches

2009-04-16 Thread Murray Cumming
On Thu, 2009-04-16 at 11:49 +0100, Emmanuele Bassi wrote: I think there has been some form of misunderstanding here; the copyright waiver is only needed for the Clutter libraries, not - for instance - for the tutorial. the attachment flag on Bugzilla is entirely optional in nature;

Re: [clutter] Fullscreen doesn't work.

2009-04-16 Thread Stephan Raue
Am 15.04.2009 14:04, schrieb Rob Kramer: Hi, I've been playing around with clutter for a while now, and have a problem with full-screen mode on one of my two test systems. Both run the same OS (suse 11.1), but the CPUs and graphics cards are different. The one that doesn't work uses a 64 bit

Re: [clutter] clutter_stage_get_actor_at_pos() when more than one actor

2009-04-14 Thread Tomas Frydrych
Daniel Alonso wrote: Hi people, clutter_stage_get_actor_at_pos() returns only one reference to an actor., but what's the intended behaviour when more than one actor in the same position, one overlaping the other? Is it possible to retrieve a list of all actors?

Re: [clutter] font-rendering problem--- where to start looking?

2009-04-14 Thread Thomas Steinacher
I reported this bug a while ago. http://bugzilla.openedhand.com/show_bug.cgi?id=1286 No solution though. Thomas On Tue, Apr 14, 2009 at 7:18 PM, Reid van Melle rvanme...@gmail.com wrote: I recently got a hardware upgrade to the latest iMac which includes an NVIDIA GeForce 9400 running on OSX

Re: [clutter] Error while building from autogen.sh

2009-04-13 Thread golfish
Mustafizur Rahaman writed: Hi, I am using clutter-0.8 and it builds fine if i start from ./configure. But i was trying to build it from autogen.sh as i needed to make some changes in configure option it is easier to do these changes in configure.ac than directly in configure. When i tried

Re: [clutter] Error while building from autogen.sh

2009-04-13 Thread golfish
I get source code from clutter git repository. git clone git://git.clutter-project.org/clutter golfish Mustafizur Rahaman writed: It still did not help. I took my clutter tar ball from the git repository. Can you please send me your clutter tar ball( if you have), so that i can try to build

Re: [clutter] Texture and VLC window

2009-04-10 Thread Guillaume Koenig
Nope, I didn't use any pre-existing python binding for VLC, if that was the question. Guillaume Ethan Collins collins.ethans+clut...@gmail.com a écrit : Hi Guillaume, Did you try supporting VLC's MediaControl specific python bindings for clutter-vlc ? Let me know. Ethan. On Thu, Apr 2,

Re: [clutter] Texture and VLC window

2009-04-10 Thread Liborio Nemorini
with status: 2 *** Have you got any idea of what is happening? Thanks a lot for your help Billy --- Gio 9/4/09, Arnaud VALLAT rno@gmail.com ha scritto: Da: Arnaud VALLAT rno@gmail.com Oggetto: Re: [clutter] Texture and VLC window A: libon...@yahoo.it Cc: clutter@o-hand.com Data: Giovedì 9

Re: [clutter] Texture and VLC window

2009-04-10 Thread Arnaud VALLAT
help Billy --- Gio 9/4/09, Arnaud VALLAT rno@gmail.com ha scritto: Da: Arnaud VALLAT rno@gmail.com Oggetto: Re: [clutter] Texture and VLC window A: libon...@yahoo.it Cc: clutter@o-hand.com Data: Giovedì 9 Aprile 2009, 21:03 Hello, clutter_vlc_init is defined within clutter-vlc

Re: [clutter] Texture and VLC window

2009-04-10 Thread Arnaud VALLAT
Hello, sorry for the delay, lots of things to do at work :-) I have committed modification. You can update, make and install, it should compile now. Regards. Rno -- Given enough eyeballs, all bugs are shallow Eric Steven Raymond -- To unsubscribe send a mail to

Re: [clutter] Texture and VLC window

2009-04-10 Thread Liborio Nemorini
Thank you very much. Now it works. You've been very friendly. Billy --- Ven 10/4/09, Arnaud VALLAT rno@gmail.com ha scritto: Da: Arnaud VALLAT rno@gmail.com Oggetto: Re: [clutter] Texture and VLC window A: libon...@yahoo.it Cc: clutter@o-hand.com Data: Venerdì 10 Aprile 2009, 14:29

Re: [clutter] [pyclutter] raise_child not called in a clutter container

2009-04-09 Thread Emmanuele Bassi
On Thu, 2009-04-09 at 18:22 +0200, Julien Pauty wrote: I'm using pyclutter. I have a container with a custom layout manager. When I call raise_top on an actor contained in my container I get a segfault. As I understand it I'm supposed to reimplement raise_child in my class. However this

Re: [clutter] Texture and VLC window

2009-04-09 Thread Arnaud VALLAT
availability. Billy --- Mer 8/4/09, Arnaud VALLAT rno@gmail.com ha scritto: Da: Arnaud VALLAT rno@gmail.com Oggetto: Re: [clutter] Texture and VLC window A: libon...@yahoo.it Cc: clutter@o-hand.com Data: Mercoledì 8 Aprile 2009, 17:39 Hello, I have added clutter-0.8 branch to clutter

Re: [clutter] Texture and VLC window

2009-04-08 Thread Liborio Nemorini
VALLAT rno@gmail.com ha scritto: Da: Arnaud VALLAT rno@gmail.com Oggetto: Re: [clutter] Texture and VLC window A: libon...@yahoo.it Cc: clutter@o-hand.com Data: Martedì 7 Aprile 2009, 18:25 Hello, the behaviour you are describing means that you don't have installed vlc-vout-clutter. Once

Re: [clutter] Clutter-gtk resize bug

2009-04-08 Thread Piotr Rak
Hi Vald 2009/4/8 Vlad Volodin vest...@gmail.com: Hello everybody, I have a clutter from git (0.9) and clutter-gtk from git too (0.9). When I used them in my project, I've got a strange Gtk-CRITICAL warning, while I resized the main window. I've also tried to build clutter-gtk with standard

Re: [clutter] Clutter-gtk resize bug

2009-04-08 Thread Vlad Volodin
Hello Ok, I will add it tomorrow, because it is too late for my Time Zone. Vlad Volodin 2009/4/8 Emmanuele Bassi eba...@linux.intel.com: On Wed, 2009-04-08 at 02:04 +0400, Vlad Volodin wrote: I have a clutter from git (0.9) and clutter-gtk from git too (0.9). [...] thanks for the

Re: [clutter] glCopyTexImage2D

2009-04-08 Thread Florent
Hi Julien ;) I think you shouldn't manipulate clutter textures directly; whenever possible, you may use the COGL API. Maybe the cogl_texture_new_from_foreign () will keep things in sync (if the original texture is updated, will the clutter texture also be updated ? -- can anyone confirm this ?)

Re: [clutter] Texture and VLC window

2009-04-07 Thread Liborio Nemorini
Hello Rno, I'm new both to vlc and clutter so I apologize if my question seems trivial.. I downloaded and compiled both your libraries. About clutter-vlc: Then I tried to launch the executable video-player in the directory examples. I obtained a behavior that I did not expect. The clutter

Re: [clutter] Newbie needs an example

2009-04-06 Thread golfish
Peter Tinker writed: Can someone please point me to example code for using clutter-gst in C++ to present video from a file in a Clutter rectangle? Is there an example repository somewhere? Pete Tinker Applied Minds, Inc. cell: 818-694-5213 You'll find some example code in

Re: [clutter] Texture and VLC window

2009-04-05 Thread Ethan Collins
Rno, Thanks. I have downloaded your vlc-vout driver and could compile it and install (changed to clutter-0.8, only modification). Related to libvlc_media_player_set_window, there is another complementary routine, mediacontrol_set_visual which I use from the python bindings. I went through the

Re: [clutter] [win32] CLUTTER_GLX_TYPE_TEXTURE_PIXMAP

2009-04-03 Thread Haakon Sporsheim
On Thu, Apr 2, 2009 at 10:55 PM, Julien Isorce julien.iso...@gmail.com wrote: 2009/4/2 Neil Roberts n...@linux.intel.com On Thu, 2009-04-02 at 02:19 +0200, Julien Isorce wrote: Is there something equivalent to: g_object_new (CLUTTER_GLX_TYPE_TEXTURE_PIXMAP,  window, win,

[clutter] Re: clutter + webkit + flash

2009-04-02 Thread Mike Massonnet
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

Re: [clutter] Re: clutter + webkit + flash

2009-04-02 Thread Veli Ogla Sungutay
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

Re: [clutter] [win32] CLUTTER_GLX_TYPE_TEXTURE_PIXMAP

2009-04-02 Thread Neil Roberts
On Thu, 2009-04-02 at 02:19 +0200, Julien Isorce wrote: Is there something equivalent to: g_object_new (CLUTTER_GLX_TYPE_TEXTURE_PIXMAP, window, win, automatic-updates, TRUE, NULL); on win32 with clutter ? Unfortunately the Win32 backend has no equivalent to ClutterGLXTexturePixmap. I'm

Re: [clutter] [win32] CLUTTER_GLX_TYPE_TEXTURE_PIXMAP

2009-04-02 Thread Emmanuele Bassi
On Thu, 2009-04-02 at 22:55 +0200, Julien Isorce wrote: Could you make binaries/dev clutter packages compatibles with those (glib, pango, gtk, cairo etc..) from there: http://www.gtk.org/download-windows.html ? those packages are created by Tor Lillqvist, in his own free time. in theory,

Re: [clutter] Performance problems when adding actors to groups

2009-04-01 Thread Emmanuele Bassi
On Tue, 2009-03-31 at 15:41 -0700, Patrick Walton wrote: Emmanuele Bassi wrote: writing your own container actor. :-) So it's not considered a bug if ClutterGroups don't scale? don't scale to 2000 items? no. a Group is a simple, fixed size layout manager; usually, when people require some

Re: [clutter] Lighting and Lights in Clutter

2009-04-01 Thread Robert Bragg
On Tue, 2009-03-31 at 14:40 +1000, Saul Lethbridge wrote: Is there any way to create actors that emit light in clutter? I'm wanting to create a spotlight effect that I can animate and move around the stage. I noticed some reference to lighting in recent builds of cogl:

Re: [clutter] [bugzilla] copyright waiver for patches

2009-03-31 Thread Murray Cumming
On Tue, 2009-03-31 at 10:16 +0100, Emmanuele Bassi wrote: On Mon, 2009-03-30 at 21:42 +0200, Murray Cumming wrote: for legal reasons we now have to ask everyone that attaches a patch for Clutter to our Bugzilla to waive the copyright for the patch itself -- effectively placing the

Re: [clutter] Performance problems when adding actors to groups

2009-03-31 Thread Emmanuele Bassi
On Tue, 2009-03-31 at 15:16 -0700, Patrick Walton wrote: I'm writing an app that adds over 2000 actors to a ClutterGroup. The redraw speed is fine, but there's a very unpleasant lag when adding the actors. I traced it down to the clutter_group_sort_depth_order() in clutter_group_real_add().

Re: [clutter] Performance problems when adding actors to groups

2009-03-31 Thread Patrick Walton
Emmanuele Bassi wrote: writing your own container actor. :-) So it's not considered a bug if ClutterGroups don't scale? Maybe I'm misunderstanding the design, but I'm not sure what the benefit is to using g_list_append() and sorting the whole list every time an actor is added instead of

Re: [clutter] [bugzilla] copyright waiver for patches

2009-03-30 Thread Murray Cumming
On Mon, 2009-03-30 at 17:51 +0100, Emmanuele Bassi wrote: hi everyone; for legal reasons we now have to ask everyone that attaches a patch for Clutter to our Bugzilla to waive the copyright for the patch itself -- effectively placing the patch under public domain. the full copyright

Re: [clutter] write a themed application with clutter

2009-03-29 Thread Florent
Hi, Candies offers a theming infrastructure already, both for svg skins ([1]) and clutter actors (theming [2]) Cheers, Florent [1] http://candies.ubicast.eu/trac.cgi/browser/trunk/candies/skin.py [2] http://candies.ubicast.eu/trac.cgi/browser/trunk/candies/theme.py -- To unsubscribe send a

Re: [clutter] Android development

2009-03-28 Thread Roman Yazmin
You can't use native library on Android. Only Java available for application development. Except if you're a platform developer. On Sat, Mar 28, 2009 at 4:21 PM, Gordon Allott gordall...@gmail.com wrote: Hi, I'm looking into getting a new mobile device to develop on, Obviously clutter is

Re: [clutter] write a themed application with clutter

2009-03-28 Thread Noah Gibbs
The Tidy library has some basic theming built in, if memory serves. Clutter doesn't theme natively, but it's entirely possible to add on after the fact. Tidy is a good demonstration of how to do that. --- On Sat, 3/28/09, Guillaume Koenig koe...@enseirb.fr wrote: From: Guillaume Koenig

Re: Fwd: Re: [clutter] zoom effect

2009-03-26 Thread Sven Pfaller
Hi again, Martin! ... Sven, thanks for your tips. I was under the impression that the depth of the actors is only used for the stacking order. I did some experiments with set_depth and set_depthu and the appearance (size) of the actor that does not change regardless of the size I use. That

Re: [clutter] zoom effect

2009-03-25 Thread Sven Pfaller
Martin Luessi schrieb: Hi, Hi there :) ... I tried using a custom behavior that moves a clutter.group containing all the slides and simultaneously changes the scale of the stage, i.e. def do_alpha_notify (self, alpha_value): pos_x = self.start_x + alpha_value*self.dx

Fwd: Re: [clutter] zoom effect

2009-03-25 Thread Sven Pfaller
Hey Martin! I'm forwarding this message to the clutter-mailinglist, as it seems you have missed to reply back to the list (reply-all). Original-Message Subject: Re: [clutter] zoom effect My guess for the curve effect would be that scaling is applied from (0, 0), i.e. from

Re: [clutter] Cylinder effect in clutter

2009-03-23 Thread Chris Lord
, March 19, 2009 8:12:46 PM Subject: Re: [clutter] Cylinder effect in clutter 2009/3/19 Yaser Hameed (RBEI/ECA3) yaser.ham...@in.bosch.com: I have a list of actors each of constant size…I want to put them into a roller / cylinder like in an iphone…can anyone help me with this ..? Look

Re: [clutter] Font issue

2009-03-23 Thread Michal Kolodziejczyk
Yaser Hameed (RBEI/ECA3) wrote: Hello all, Fonts are not getting rendered normally on the target (x86) for me All images, callbacks work fine except that the text *look like a set of boxes.* xfontsel can see the font and render it nicely in the target. I hit similar problem with VIA

RE: [clutter] Font issue

2009-03-23 Thread Yaser Hameed (RBEI/ECA3)
: +91-99161 44167 Bangalore 560 095, India* yaser.ham...@in.bosch.com -Original Message- From: Michal Kolodziejczyk [mailto:m...@wp.pl] Sent: Monday, 23. March 2009 5:53 PM To: Yaser Hameed (RBEI/ECA3) Cc: clutter@o-hand.com Subject: Re: [clutter] Font issue Yaser Hameed (RBEI/ECA3

Re: [clutter] Cylinder effect in clutter

2009-03-23 Thread Robert Bragg
On Mon, 2009-03-23 at 12:17 +, Chris Lord wrote: This is probably referring to the texture-deformation demo in clutter-toys (it isn't a test) - It's called 'odo'. Note, if the actor in question isn't a texture, you'll need fbo support (or you'll have to do it in some other, more cunning

Re: [clutter] Vala bindings

2009-03-23 Thread Emmanuele Bassi
On Mon, 2009-03-23 at 10:08 -0400, John Allen wrote: It looks like the vala bindings have not been keep up to date with the 0.9 releases. Is there plans to continue to support vala through 1.0? I'm still working on Clutter 0.9; until we have a 1.0, API frozen release of Clutter bindings not

Re: [clutter] Tidy progress and future

2009-03-23 Thread Veli Ogla Sungutay
thanks Emmanuele that answers the question. I know 1.0 is not released yet. Impatiently waiting. :) On Mon, Mar 23, 2009 at 4:30 PM, Emmanuele Bassi eba...@linux.intel.comwrote: On Mon, 2009-03-23 at 16:05 +0200, Veli Ogla Sungutay wrote: Is Tidy going to be improved with the near future

Re: [clutter] Cylinder effect in clutter

2009-03-22 Thread Peng Liu
Could you please tell us which one? From: Pierre-Luc Beaudoin pierre-...@pierlux.com To: Yaser Hameed (RBEI/ECA3) yaser.ham...@in.bosch.com Cc: clutter@o-hand.com clutter@o-hand.com Sent: Thursday, March 19, 2009 8:12:46 PM Subject: Re: [clutter] Cylinder

Re: [clutter] Cylinder effect in clutter

2009-03-19 Thread Pierre-Luc Beaudoin
2009/3/19 Yaser Hameed (RBEI/ECA3) yaser.ham...@in.bosch.com: I have a list of actors each of constant size…I want to put them into a roller / cylinder like in an iphone…can anyone help me with this ..? Look at the tests in clutter, there is one of them that has a openedhand logo being rolled

Re: [clutter] Leaking memory

2009-03-17 Thread Lukas Ruetz
On Fri, 13 Mar 2009 11:34:05 +0100, Emmanuele Bassi eba...@linux.intel.com wrote: On Fri, 2009-03-13 at 09:45 +0100, Lukas Ruetz wrote: On Mon, 09 Mar 2009 12:36:40 +0100, Lukas Ruetz lukas.ru...@gmx.at wrote: My application is a simple version of an image-slideshow. When the next image is

Re: [clutter] Clutter + PowerVR + Application not running

2009-03-16 Thread amit kumar
Hi All, with clutter-0.8.0, I am able to run all test-application on the target board Omap-3530. Regards, Amit Kumar On Mon, Mar 16, 2009 at 11:06 AM, Amit Pundir pundira...@gmail.com wrote: Hi Amit, Are you able to run any of the clutter test applications? Regards Amit Pundir On

Re: [clutter] Leaking memory

2009-03-13 Thread Lukas Ruetz
On Mon, 09 Mar 2009 12:36:40 +0100, Lukas Ruetz lukas.ru...@gmx.at wrote: My application is a simple version of an image-slideshow. When the next image is shown I call clutter_actor_destroy(previousActor) on the old actor. Is that enough to free the memory used by the texture? yes. Hi,

Re: [clutter] smoothstep_inc

2009-03-10 Thread Emmanuele Bassi
On Mon, 2009-03-09 at 22:50 -0400, Vlad Seryakov wrote: What is the analog of clutter_smoothstep_inc_func in the latest Git version? there is no equivalent. the equation for the increasing variant of the smoothstep function is: f(x) = -2x^3 + 3x^2 so you probably want a cubic easing - the

Re: [clutter] smoothstep_inc

2009-03-10 Thread Vlad Seryakov
It seems kind of complicated for convenient functions. What was the reason to remove usefull functions and replace them with other usefull but not keep all? Emmanuele Bassi wrote: On Mon, 2009-03-09 at 22:50 -0400, Vlad Seryakov wrote: What is the analog of clutter_smoothstep_inc_func in the

Re: [clutter] smoothstep_inc

2009-03-10 Thread Emmanuele Bassi
On Tue, 2009-03-10 at 11:46 -0400, Vlad Seryakov wrote: It seems kind of complicated for convenient functions. uh? the convience was all in using symbols -- and that hasn't gone away, but it has been improved (since now you can register new easing modes globally). instead of using our own

Re: [clutter] smoothstep_inc

2009-03-10 Thread Vlad Seryakov
Understood Thanks Emmanuele Bassi wrote: On Tue, 2009-03-10 at 11:46 -0400, Vlad Seryakov wrote: It seems kind of complicated for convenient functions. uh? the convience was all in using symbols -- and that hasn't gone away, but it has been improved (since now you can register new easing

Re: [clutter] How to get Actor's absolute x,y coordinate in Clutter?

2009-03-09 Thread Pierre-Luc Beaudoin
On Mon, 2009-03-09 at 16:38 +0800, Liu, Raymond wrote: Hi Is there anyway to get absolute x,y coordinate of an actor in clutter? clutter_actor_get_position can get relative x,y to an actor's parent container, I can try to add the x,y offset up to the stage. But : 1:

Re: [clutter] How to get Actor's absolute x,y coordinate in Clutter?

2009-03-09 Thread API
From: Liu, Raymond raymond@intel.com Hi Is there anyway to get absolute x,y coordinate of an actor in clutter?=20 clutter_actor_get_position can get relative x,y to an actor's parent conta= iner, I can try to add the x,y offset up to the stage. But : 1: the

Re: [clutter] clutter-box2d

2009-03-09 Thread Øyvind Kolås
On Sun, Mar 8, 2009 at 7:31 PM, Steve Starr steven.l.st...@gmail.com wrote: This is another request for a simple clutter-box2d example. Something easy like a rectangle falling would be great. The provided examples are just to involved for newbs to start with and moblin doesn't have any

Re: [clutter] Leaking memory

2009-03-09 Thread Lukas Ruetz
Hi, On Sun, 08 Mar 2009 20:03:15 +0100, Emmanuele Bassi eba...@linux.intel.com wrote: On Sun, 2009-03-08 at 12:13 +0100, Lukas Ruetz wrote: My application is a simple version of an image-slideshow. When the next image is shown I call clutter_actor_destroy(previousActor) on the old actor. Is

RE: [clutter] How to get Actor's absolute x,y coordinate in Clutter?

2009-03-09 Thread Liu, Raymond
On Mon, 2009-03-09 at 16:38 +0800, Liu, Raymond wrote: Hi Is there anyway to get absolute x,y coordinate of an actor in clutter? So, anyone have ideas about this? clutter_actor_get_transformed_position () is what you are looking for. It will give you the absolute position of the

RE: [clutter] How to get Actor's absolute x,y coordinate in Clutter?

2009-03-09 Thread Liu, Raymond
2: Seems I got no way to get the stage's absolute x,y relative to desktop = root_window? absolute x,y relative? I suppose that you mean the absolute x,y position of the stage on the screen. Yeah, Exactly! :) Some time ago a similar thread was sent to this list [1] For example, if you

Re: [clutter] About clutter_actor_set_parent and reference counting

2009-03-08 Thread Michael Boccara
Thanks Emmanuele, I understand the rationale. It just goes against my belief in a rule of thumb that the reference count of a pointer should always be incremented as soon as this pointer is assigned. Although the clutter scene graph should be seen as a descending graph only, every actor

Re: [clutter] About clutter_actor_set_parent and reference counting

2009-03-08 Thread Michael Boccara
I understand better now. Having actors hold a ref count of its parent would create a circular reference which would cause actors to never be disposed. The rule of thumb in clutter is that ref counting is always done in the descending direction of the scene graph. Did I get it right ? Michael

Re: [clutter] About clutter_actor_set_parent and reference counting

2009-03-08 Thread Noah Gibbs
-container.c dispose code, just to get a feel for what they're doing. --- On Sun, 3/8/09, Michael Boccara mich...@graphtech.co.il wrote: From: Michael Boccara mich...@graphtech.co.il Subject: Re: [clutter] About clutter_actor_set_parent and reference counting To: Emmanuele Bassi eba

Re: [clutter] Vala bindings - keysyms

2009-03-08 Thread Emmanuele Bassi
On Sun, 2009-03-08 at 09:28 +0100, Wolfgang Silbermayr wrote: I am using the clutter vala bindings from git://git.clutter-project.org/bindings/clutter-vala. The c source of clutter defines many key symbols in clutter-keysyms.h that are not available in the vala bindings. Is there any chance

Re: [clutter] Leaking memory

2009-03-08 Thread Emmanuele Bassi
On Sun, 2009-03-08 at 12:13 +0100, Lukas Ruetz wrote: My application is a simple version of an image-slideshow. When the next image is shown I call clutter_actor_destroy(previousActor) on the old actor. Is that enough to free the memory used by the texture? yes. The used memory

Re: [clutter] clutter-cairo extension

2009-03-08 Thread Emmanuele Bassi
On Fri, 2009-03-06 at 17:09 -0800, Christine Meranda wrote: I am using clutter-cairo 0.82 and clutter 0.8.8 (pyclutter, actually, and pycairo) to create a custom GradientRectangle object to draw a basic rectangular gradient. The class extends CloneTexture and passes a CairoTexture object to

Re: [clutter] Transparent ClutterStage: now for 0.8.8

2009-03-07 Thread Jörn Reder
Jamie McCracken wrote: I have attached a patch to http://bugzilla.openedhand.com/show_bug.cgi?id=412 This should give you a transparent stage free of any defects if you have nvidia graphics by simply setting the alpha component of the stage colour to a value less than 255. Patch also

Re: [clutter] Transparent ClutterStage

2009-03-07 Thread Emmanuele Bassi
On Fri, 2009-03-06 at 09:09 -0500, Jamie McCracken wrote: I also failed when compiling clutter-0.9.0 after patch. I checked and decided to negelect the patch on configure.ac. Then luckily, I succeeded in compiling. Please use trunk and patch should apply cleanly against that: please,

Re: [clutter] Threads with pyclutter

2009-03-07 Thread Emmanuele Bassi
On Fri, 2009-03-06 at 17:01 +0100, Lionel Dricot wrote: The sources of the bindings shows threads_add_idle_full but it also seems to be in a ignore list and clutter.threads_add_idle_full doesn't work. the clutter_threads_add_idle_* and clutter_threads_add_timeout_* family of functions are not

Re: [clutter] Transparent ClutterStage

2009-03-07 Thread Jamie McCracken
On Sat, 2009-03-07 at 22:20 +, Emmanuele Bassi wrote: On Fri, 2009-03-06 at 09:09 -0500, Jamie McCracken wrote: I also failed when compiling clutter-0.9.0 after patch. I checked and decided to negelect the patch on configure.ac. Then luckily, I succeeded in compiling. Please

Re: [clutter] About clutter_actor_set_parent and reference counting

2009-03-07 Thread Emmanuele Bassi
On Sun, 2009-03-08 at 02:17 +0200, Michael Boccara wrote: Hi, Sorry if this is a dumb question, or if it was asked 1000 times before. In clutter_actor_set_parent, self ref is incremented. g_object_ref_sink (self); priv-parent_actor = parent; But shouldn't it be the

Re: [clutter] Transparent ClutterStage

2009-03-07 Thread Yuanyi Zhu
Thank you Jamie, I managed to create a transparent stage by using your latest patch. The effect is exactly what I need, though there is still some blending issue in implementation, as Owen mentioned. Also, thanks Owen and Emmanuele. I really appreciate your help. p.s. Hope the transparent stage

Re: [clutter] Transparent ClutterStage

2009-03-06 Thread Stéphane Esté-Gracias
Hello, As I read in your bug report : Because argb transparency is absolute, enabling ARGB stage will affect relative transparency of clutter actors that overlap on each other if they use alpha. In other words, if I create transparent stage, all actors using alpha (major actors have alpha to

Re: [clutter] Transparent ClutterStage

2009-03-06 Thread Jamie McCracken
On Fri, 2009-03-06 at 12:05 +0800, Yuanyi Zhu wrote: Hi Jamie, Thank you very much for your help. I have tried your patch on the stable package downloaded from http://www.clutter-project.org/sources/clutter/0.9/ The following files are successfully patched:

Re: [clutter] Threads with pyclutter

2009-03-06 Thread Lionel Dricot
I'm really not friend with Python threads (I find Gobject threads easier to use) but, indeed, I think that callbacks and timeout will save me a lot of headache ! Thanks for the tip. Lionel On Fri, Mar 6, 2009 at 2:58 PM, Julien Pauty julien.pa...@gmail.com wrote: Hello, Use python threads.

Re: [clutter] Threads with pyclutter

2009-03-06 Thread Damien Boucard - UbiCast
Le Fri, 6 Mar 2009 16:36:57 +0100, Lionel Dricot zepl...@gmail.com a écrit : I'm really not friend with Python threads (I find Gobject threads easier to use) but, indeed, I think that callbacks and timeout will save me a lot of headache ! then gobject.idle_add is your friend ! ;) Damien. --

Re: [clutter] Threads with pyclutter

2009-03-06 Thread Pierre-Luc Beaudoin
then gobject.idle_add is your friend ! ;) actually clutter provides a thread safe (for Clutter) idle_add! but I don't know its name in Python. -- Pierre-Luc -- To unsubscribe send a mail to clutter+unsubscr...@o-hand.com

Re: [clutter] Threads with pyclutter

2009-03-06 Thread Lionel Dricot
The sources of the bindings shows threads_add_idle_full but it also seems to be in a ignore list and clutter.threads_add_idle_full doesn't work. Damien What do you use in candies ? On Fri, Mar 6, 2009 at 4:55 PM, Pierre-Luc Beaudoin pierre-...@pierlux.comwrote: then gobject.idle_add is

Re: [clutter] Threads with pyclutter

2009-03-06 Thread Damien Boucard - UbiCast
Le Fri, 6 Mar 2009 17:01:17 +0100, Lionel Dricot zepl...@gmail.com a écrit : The sources of the bindings shows threads_add_idle_full but it also seems to be in a ignore list and clutter.threads_add_idle_full doesn't work. Damien What do you use in candies ? I don't actually use add_idle

Re: [clutter] Transparent ClutterStage

2009-03-06 Thread Owen Taylor
On Fri, 2009-03-06 at 09:21 -0500, Jamie McCracken wrote: On Fri, 2009-03-06 at 10:43 +0100, Stéphane Esté-Gracias wrote: Hello, As I read in your bug report : Because argb transparency is absolute, enabling ARGB stage will affect relative transparency of clutter actors that overlap

Re: [clutter] Transparent ClutterStage

2009-03-05 Thread Yuanyi Zhu
Hi Jamie, Thank you very much for your help. I have tried your patch on the stable package downloaded from http://www.clutter-project.org/sources/clutter/0.9/ The following files are successfully patched: clutter/glx/clutter-stage-glx.c clutter/clutter-stage.c configure.ac But I got error

Re: [clutter] Delayed propogation of events from Tidy Finger Scroll

2009-03-03 Thread Pierre-Luc Beaudoin
If I understand well you don't want the events to be propagated when the finger-scroll was moved? I had a similar need in libchamplain (a map actor): if the user started to drag the map with the mouse over a marker, I didn't want the marker to get button-press/release events. I needed to change

Re: [clutter] Clutter on underpowered graphic cards?

2009-02-27 Thread Emmanuele Bassi
On Fri, 2009-02-27 at 01:07 +0100, Michal Kolodziejczyk wrote: Hello, I tried to run clutter (0.8.6) on via artigo (under linux), which uses VX700 graphic card (openchrome driver). This card cam render texture maps of size at most 512x512, so its smaller than most other graphic cards. the

Re: [clutter] Clutter on underpowered graphic cards?

2009-02-27 Thread Michal Kolodziejczyk
Emmanuele Bassi wrote: On Fri, 2009-02-27 at 01:07 +0100, Michal Kolodziejczyk wrote: [...] The result is that some textures (for strings) are rendered as garbage (eg all strings in test-rotate, test-entry, test-depth etc). it's probably a wrong implementation of mipmapping, if only the

Re: [clutter] Clutter on underpowered graphic cards?

2009-02-27 Thread Emmanuele Bassi
On Fri, 2009-02-27 at 11:49 +0100, Michal Kolodziejczyk wrote: it's probably a wrong implementation of mipmapping, if only the text is wrong. you can disable text mipmapping by using: clutter_set_use_mipmapped_text (FALSE); I will try this. Clutter from master HEAD also has

Re: [clutter] RefCount safety (Was: API inconsistency)

2009-02-27 Thread Emmanuele Bassi
On Fri, 2009-02-27 at 11:56 +0100, Michal Kolodziejczyk wrote: Emmanuele Bassi wrote: the window for changing this, though, is closing fast. I'll wait until next week to do the change. So I have another question regarding the reference counting in API functions. Here is what Wolfgang

Re: [clutter] RGB888 in ES 1.1

2009-02-26 Thread Kimmo Hämäläinen
On Tue, 2009-02-24 at 18:50 +0100, ext Vlad Seryakov wrote: It could be specific to CE3100 ES 1.1 which is PowerVR but i am gonna ask anyway. When loading .png or .jpg files, i noticed that some of them are shown kind of shifted, seems like rowstride is incorrect and the images wraps.

Re: [clutter] Dependencies

2009-02-26 Thread Emmanuele Bassi
On Thu, 2009-02-26 at 12:09 +0100, gpg gpg wrote: Hello, I would like to use clutter (0.9.0) on an embedded device wich came with OpenGLES 1.1 and it's native EGL library. As annoucned on the clutter blog, clutter depend only on : * GLib = 2.14.0 * Cairo = 1.6 * Pango =

Re: [clutter] Glow effect

2009-02-26 Thread Karoliina Salminen
Hello, On Thu, Feb 26, 2009 at 3:44 PM, Yaser Hameed (RBEI/ECA3) yaser.ham...@in.bosch.com wrote: Hello I had a few questions: A: Is it possible to apply a glow effect to an actor or a particular part of an actor? If yes, how..?? You mean similar than in iPhone calculator app used to be

Re: [clutter] API inconsistency

2009-02-25 Thread Emmanuele Bassi
On Wed, 2009-02-25 at 17:30 +0100, Michal Kolodziejczyk wrote: Hello, would it be possible to make API more consistent? it depends on how you define consistency. :-) for clutter_color_parse() I followed the gtk+ style -- see gdk_color_parse(). it's also following the rest of the API, where

<    1   2   3   4   5   6   7   8   9   10   >