[mythtv-commits] Ticket #7525: Optimize Pulse handling in MythUI

MythTV mythtv at cvs.mythtv.org
Sun Nov 8 16:58:58 UTC 2009


#7525: Optimize Pulse handling in MythUI
---------------------------------------------+------------------------------
 Reporter:  danielk                          |       Owner:  danielk
     Type:  task                             |      Status:  new    
 Priority:  minor                            |   Milestone:  unknown
Component:  MythTV - User Interface Library  |     Version:  head   
 Severity:  medium                           |     Mlocked:  0      
---------------------------------------------+------------------------------
 There are three things wrong here:
  * Both HandleMovementPulse and HandleAlphaPulse are dependent on
 being called at a particular frequency to create a smooth animation.
 Instead the alpha and movement should progress based on time elapsed.
  * Both HandleMovementPulse and HandleAlphaPulse unconditionally request a
 repaint, even if the alpha and/or position is unchanged.
  * Pulse() is called for all children, whether they need a pulse or not.
 Only children needing a pulse or containing children needing a pulse
 should be called. If UI elements need a pulse the pulse time should be
 shut-off.

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/7525>
MythTV <http://www.mythtv.org/>
MythTV


More information about the mythtv-commits mailing list