[Trac #259] Drawing activity is laggy drawing on the tablet.

Zarro Boogs per Child bugtracker at laptop.org
Thu Nov 2 09:08:02 EST 2006


#259: Drawing activity is laggy drawing on the tablet.
--------------------+-------------------------------------------------------
 Reporter:  jg      |       Owner:  blizzard
     Type:  defect  |      Status:  new     
 Priority:  normal  |   Milestone:  BTest-1 
Component:  sugar   |    Keywords:          
--------------------+-------------------------------------------------------
 I was playing with the early paint/drawing program under Sugar on the
 touchpad.

 It is very "laggy" on the OLPC, and the curves drawn on the screen poor
 (straight line segments).

 This is generally caused by not keeping up with a very rapid series of
 events, so has probably not be noticed on conventional desktops which are
 much faster. And event compression is likely eliding the intermediate
 positions.

 Note that X has the concept of "motion history" buffers, which allow an
 application to move from being strictly event driven (where it is easy to
 fall behind and have poor interactivity) to a polling mode where you can
 use motion events as "hints" that motion has occurred, and then query the
 window system to get the exact history of motion, which you can handle in
 a batch (which is almost always a much, much faster operation), and gives
 you all the intermediate positions, which may easily otherwise been
 compressed out of existance.

 See XGetMotionEvents and XGetDeviceMotionEvents.

-- 
Ticket URL: <http://dev.laptop.org/ticket/259>
One Laptop Per Child <http://laptop.org/>



More information about the Bugs mailing list