Re: [clutter] Help with clutter redraws.

2009-08-03 Thread Rajith Kalluraya
Thanks Emmanuele, Øyvind.

That answers my question.

cheers,

2009/7/31 Emmanuele Bassi eba...@linux.intel.com

 On Fri, 2009-07-31 at 17:57 +0100, Øyvind Kolås wrote:
  On Thu, Jul 30, 2009 at 2:01 PM, Rajith Kallurayansraj...@gmail.com
 wrote:
   which is CPU intensive.I observe that clutter queues redraws and and
   processes them only when CPU is free,  and hence in my application, the
 draw
   happens after the CPU intensive job is done, thereby causing a delay in
   screen updation.
 
  * snip *
 
   Currently, I am using clutter 0.8 and clutter-gtk-0.8 on a ARM
 processor
   with hardware acceleration.
 
  What you seem to be experiencing is not that the redrawing is delayed
  but that animations are being blocked. Clutter 1.0 changes how
  animations are driven and locks them to the redraw cycle; solving many
  idle priority related issues that existed in clutter-0.8 and before.

 as a side note: there's no power in the 'verse that can make the main
 loop work correctly when you're blocking it inside a handler -- say, for
 instance, you have while(1) {} or g_usleep() in an event handler or
 inside a Timeline::new-frame callback.

 the usual answers for CPU-intensive blocks are:

  - break them up in logical steps and use a state machine+idle/timeout
source in the main loop to avoid blocking.

  - use threads and prepare to cross the plains of Despair and Rage,
ascend the mountains of Doom, pass the Peak of Terror, and finally
enter in a land made of unicorns and puppies where everything works
by the power of rainbows and magic pixie fairy dust.

 for both solutions, Clutter provides API to do things The Right Way(tm),
 including: a timeout pool, frame sources and repaint cycle hooks.

 ciao,
  Emmanuele.

 --
 Emmanuele Bassi, Senior Engineer| emmanuele.ba...@intel.com
 Intel Open Source Technology Center | http://oss.intel.com

 --
 To unsubscribe send a mail to 
 clutter+unsubscr...@o-hand.comclutter%2bunsubscr...@o-hand.com




-- 

Rajith
-
www.pixelfactory.co.in


[clutter] Reg: http://bugzilla.openedhand.com/show_bug.cgi?id=1228 ( Unnecessary glColorMask on alpha drops performance )

2009-08-03 Thread Mustafizur Rahaman
Hi,

There was a patch for performance improvement in the following bugzilla #Id
(http://bugzilla.openedhand.com/show_bug.cgi?id=1228)  where performance
were getting dropped for setting Color Mask for alpha channel. From the
comments mentioned in the bug description, i am not sure whether the patch
is already applied or not.

I check in clutter-0.9.0 and onwards and found the call to glColorMask has
been completely removed in cogl_create_context(), but the patch was not
exactly like this. So, i want to know, is this intentional that we don't
need to set the color mask at all?

Regs,
Rahaman.


Re: [clutter] Reg: http://bugzilla.openedhand.com/show_bug.cgi?id=1228 ( Unnecessary glColorMask on alpha drops performance )

2009-08-03 Thread Emmanuele Bassi
On Mon, 2009-08-03 at 15:04 +0530, Mustafizur Rahaman wrote:

 There was a patch for performance improvement in the following
 bugzilla #Id (http://bugzilla.openedhand.com/show_bug.cgi?id=1228)
 where performance were getting dropped for setting Color Mask for
 alpha channel. From the comments mentioned in the bug description, i
 am not sure whether the patch is already applied or not.

the patch as it is was not applied because the code to which it was
referencing was completely changed, and the calls to glColorMask() were
removed from COGL.

ciao,
 Emmanuele.

-- 
Emmanuele Bassi, Senior Engineer| emmanuele.ba...@intel.com
Intel Open Source Technology Center | http://oss.intel.com

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



[clutter] [ANNOUNCE] clutter-qt 1.0.0 - stable release

2009-08-03 Thread Neil Roberts
Hi everyone,

clutter-qt 1.0.0 is now available for download at:

  http://www.clutter-project.org/sources/clutter-qt/1.0/

MD5 checksums:

  656e0eaa088547c01aa6e716f84e7340  clutter-qt-1.0.0.tar.bz2
  f00705fb448a54fd37d664244eebfd66  clutter-qt-1.0.0.tar.gz

Clutter-QT is an integration library for using Clutter within QT. It has
a QWidget subclass that contains a Clutter stage and can be used in much
the same way as Clutter-GTK.

Clutter-QT currently requires:

  GLib = 2.10.0
  Clutter = 1.0.0
  QT = 4.2

The official website is: http://www.clutter-project.org
To subscribe to the Clutter mailing list, send mail to: clutter
+subscr...@o-hand.com 
The official mailing list archive is: http://lists.o-hand.com/clutter/

Notes
-

  * This is the initial release of Clutter-QT.

  * Despite the 1.0.0 version number this project hasn't had wide
testing yet.

  * Bugs should be reported to: http://bugzilla.o-hand.com

Many thanks for contributions from:

  Damien Lespiau
  Tomas Frydrych
  Denis Kenzior

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