Emmanuele Bassi wrote:
On Wed, 2009-12-23 at 19:59 +0900, Rubric wrote:
In case of embedded system, since glReadPixel has terrible
performance,

that's not entirely true for *every* embedded system. I'd suggest you
ask for a better driver.

I wish to avoid _clutter_do_pick at motion event in my clutter
application.
Is there any method?

clutter_set_motion_events_enabled() will stop trying to find out the
actor underneath the pointer - but it will disable event delivery on
actors, so that only the Stage will emit pointer-related signals, like
button-press, button-release and motion. also, enter and leave signals
will not be emitted.

But if you use clutter_grab_pointer() together with clutter_set_motion_events_enabled(), the grabbing actor will be the one to emit signals instead of the stage. Also note that you don't only loose the crossing events (enter/leave) but also the event source actor.

BTW, clutter_set_crossing_events_enabled() would have been a better name for this function IMHO, as motion events actually do keep being emitted...
ciao,
 Emmanuele.



--
Michael Boccara
Graphtech
Herzliya, Israel


Reply via email to