Re: [clutter] color change delay




On Wed, November 14, 2012 8:56 pm, Patrick Shirkey wrote:
Hi,

I am seeing a delay of upto 4 seconds to change the color of an actor on
button-press-event.

Does anyone have a suggestion to make the response time faster?

Print statements in the event handler function are immediately written to
console so the delay seems to be deeper in the event handling stack.




I managed to decrease the color change delay on button-press-event by
using Clutter.Rectangle() for the grid pattern (>1500 actors) so I am only
using the RoundRectangle() class from the pyclutter-widgets project on the
keyboard buttons. It's still not completely snappy so it must be an
inefficiency in the RoundRectangle() class or Shapes() class from
pyclutter-widgets.



--
Patrick Shirkey
Boost Hardware Ltd



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]