Re: [clutter] undefined reference to `CLUTTER_UNITS_FROM_DEVICE'

2009-10-19 Thread Pierre Tardy
There where some of those references in eglnative backend.
Probably Ian is building eglnative.

You can find patches for 1.0 that re-active eglnative backend here:
http://github.com/tardyp/clutter/commits/44b7748340400aa4f78dd8cbeed65b495967c54b


On Mon, Oct 5, 2009 at 5:11 PM, Emmanuele Bassi eba...@o-hand.com wrote:
 On Fri, 2009-10-02 at 16:37 -0400, Ian Walberg wrote:
 Has anyone seen this error?



 undefined reference to `CLUTTER_UNITS_FROM_DEVICE'



 We are linking to a cliutter-1.0.6  native arm lib on a beagle board.

 you are really *not* linking to clutter-1.0.6, if you are getting a
 warning from the linker - unless you are using that symbol yourself;
 that symbol does not exist in the 1.x API - it only existed in previous
 development cycles.

 ciao,
  Emmanuele.


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





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



[clutter] clutter-gst cache and swap

2009-10-19 Thread ken.lin
Hello everyone:

I want to play a HD media file using clutter-gst/video-player.
During playing, the cache memory will grow up rapidly,
and then system start swaping (the HDD led is very busy). 
It will cause video playing unsmoothly.
But gst-launch playbin uri=file:///test.ts work fine.

This is my envrionment
Ubuntu 9.10
VGA compatible controller: Intel Corporation Mobile GM965/GL960 Integrated
Graphics Controller (rev 03)
xserver-xorg-video-intel   2:2.9.0-1ubuntu2
libclutter-0.8-0  0.8.8-0ubuntu2
clutter-gst-0.8.0
test.ts  (1920x1080 H264)

Anyone has the same issue? Any idea?
Thank you

Ken
--
Regards,

Apexx Technology Corporation



--
Regards,

Apexx Technology Corporation
Phone 886-3-4808880
Fax   886-3-4798078

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



[clutter] Working at 1 FPS

2009-10-19 Thread Javier Aravena Claramunt
Hey, I'm writing my first clutter app (right now it's a dragging demo),
but it's working at 1 FPS, and it's a couple of reactive actors... ¿what
could be wrong? default FPS is 60.

the code is at if it's needed http://pastie.org/660475 .

Regards,

-- 
Javier Aravena Claramunt
 jav...@aravenas.com
  http://javier.aravenas.com


signature.asc
Description: Esta parte del mensaje está firmada digitalmente


[clutter] ClutterScript signal handling

2009-10-19 Thread Glen Gray

Hey guys,

I was wondering if it's possible to with the ClutterScript API as per 
1.0 series, to pass over data to a signal handler's gpointer user_data 
parameter ? Something along the lines of below, where button is the 
ide of another child object ?


   ...
   signals : [
 { name : button-press-event, handler : stageClickCb, 
user_data : button}

   ],
   ...

--
Glen Gray glen.g...@lincor.com Digital Depot, Thomas Street
Software Engineering ManagerDublin 8, Ireland
Lincor Solutions Ltd.  Ph: +353 (0) 1 4893682

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



Re: [clutter] ClutterScript signal handling

2009-10-19 Thread Emmanuele Bassi
On Mon, 2009-10-19 at 15:11 +0100, Glen Gray wrote:
 Hey guys,
 
 I was wondering if it's possible to with the ClutterScript API as per 
 1.0 series, to pass over data to a signal handler's gpointer user_data 
 parameter ? Something along the lines of below, where button is the 
 ide of another child object ?
 
 ...
 signals : [
   { name : button-press-event, handler : stageClickCb, 
 user_data : button}
 ],
 ...

nope, you can't.

ClutterScript does not special-case strings and we cannot get random
user data since it would imply pointer handling.

the way User Interface definition files work in similar contexts
(GtkBuilder and libglade, which are the prior art for ClutterScript in
terms of API and feature set) is to create an application structure,
fill it up with relevant objects created using ClutterScript through
clutter_script_get_objects() and then pass it to
clutter_script_connect_signals().

ciao,
 Emmanuele.

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



Re: [clutter] ClutterScript signal handling

2009-10-19 Thread Glen Gray

Emmanuele Bassi wrote:

nope, you can't.

ClutterScript does not special-case strings and we cannot get random
user data since it would imply pointer handling.

the way User Interface definition files work in similar contexts
(GtkBuilder and libglade, which are the prior art for ClutterScript in
terms of API and feature set) is to create an application structure,
fill it up with relevant objects created using ClutterScript through
clutter_script_get_objects() and then pass it to
clutter_script_connect_signals().

  


Was thinking I might create a separate json source that details the 
relationships I was after, where the id values are used and I could 
then use clutter_script_get_object to get the actual ClutterActor


Just playing around with a few ideas, I may not even need this at all.

--
Glen Gray glen.g...@lincor.com Digital Depot, Thomas Street
Software Engineering ManagerDublin 8, Ireland
Lincor Solutions Ltd.  Ph: +353 (0) 1 4893682

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



Re: [clutter] clutter-gst cache and swap

2009-10-19 Thread ken.lin
On Mon, 19 Oct 2009 14:17:19 +0100, Emmanuele Bassi wrote
 On Mon, 2009-10-19 at 20:10 +0800, ken.lin wrote:
  Hello everyone:
  
  I want to play a HD media file using clutter-gst/video-player.
  During playing, the cache memory will grow up rapidly,
  and then system start swaping (the HDD led is very busy).
 
 looks like a leak in the DRM memory management, which will cause
 swapping texture data to disk. if you could test the same code on a 945
 and verify that the leak is not there then you should open a bug on
 freedesktop.org bugzilla against Mesa.
 
 ciao,
  Emmanuele.
 
 -- 

yes, I try to search bug about i965 on freedesktop.org bugzilla against Mesa.
and find the bug https://bugs.freedesktop.org/show_bug.cgi?id=23530
and get the patch
http://cgit.freedesktop.org/mesa/mesa/commit/?id=49fbdd18ed738feaf73b7faba4d3577cd9cc3e59

This patch resolve my problem, thank you!


Ken

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



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