#8285 BLOC 8.2.0 (: Screen updates in Paint are very slow

Zarro Boogs per Child bugtracker at laptop.org
Tue Sep 9 10:36:02 EDT 2008


#8285: Screen updates in Paint are very slow
------------------------------------------------+---------------------------
   Reporter:  bert                              |       Owner:  marco                       
       Type:  defect                            |      Status:  new                         
   Priority:  blocker                           |   Milestone:  8.2.0 (was Update.2)        
  Component:  paint/drawing-activity (oficina)  |     Version:  not specified               
 Resolution:                                    |    Keywords:  joyride-2372:- blocks?:8.2.0
Next_action:  diagnose                          |    Verified:  0                           
  Blockedby:                                    |    Blocking:                              
------------------------------------------------+---------------------------
Changes (by sayamindu):

 * cc: sayamindu (added)


Comment:

 Most of the drawing methods (which are called for every motion event) have
 this call:

 widget.pixmap_temp.draw_drawable(widget.gc,widget.pixmap,  0 , 0 ,0,0,
 width, height)

 I'm not sure how effective this is, since it seems to do a copy of a
 drawable of the size of the entire screen for each motion event. Maybe we
 should do this a bit more selectively (try to figure out xsrc, ysrc,
 xdest, ydest, instead of blindly supplying 0,0,0,0) ?

-- 
Ticket URL: <http://dev.laptop.org/ticket/8285#comment:11>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list