Anonymous | Login | Signup for a new account | 2024-12-02 23:56 PST |
Main | My View | View Issues | Change Log | Roadmap | Repositories | My Account |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||||
ID | Project | Category | View Status | Date Submitted | Last Update | |||
0000284 | MPfm | UI | Custom Controls | Windows (WinForms) | public | 2012-02-07 19:29 | 2012-02-15 19:39 | |||
Reporter | ycastonguay | |||||||
Assigned To | ycastonguay | |||||||
Priority | immediate | Severity | major | Reproducibility | always | |||
Status | resolved | Resolution | fixed | |||||
Platform | OS | OS Version | ||||||
Product Version | 0.5.1.0 | |||||||
Target Version | 0.5.2.1 | Fixed in Version | 0.5.2.1 | |||||
Summary | 0000284: Cache font objects in every control | |||||||
Description | When changing to the EmbeddedFont structure in the 0.5.1.0 version, I forgot to cache the font objects. This has an impact on CPU for updating song position because the OnPaint event is called every 10ms (see related issue). | |||||||
Tags | No tags attached. | |||||||
Attached Files | ||||||||
Relationships | ||||||
|
Notes | |
(0000417) svn (developer) 2012-02-15 19:38 |
The user admin has checked in files related to this issue (revision 309). Comment: MPfm 0.5.2.1 - Added a font cache to every control. This further optimizes CPU usage when refreshing the UI often. Related to issue 0000284. Files modified: U MPfm/branches/current/MPfm.WindowsControls/Audio/OutputMeter.cs U MPfm/branches/current/MPfm.WindowsControls/Audio/WaveFormDisplay.cs U MPfm/branches/current/MPfm.WindowsControls/Buttons-Toolbars/Button.cs U MPfm/branches/current/MPfm.WindowsControls/Labels/Label.cs U MPfm/branches/current/MPfm.WindowsControls/Labels/LinkLabel.cs U MPfm/branches/current/MPfm.WindowsControls/Library/SongGridView.cs U MPfm/branches/current/MPfm.WindowsControls/Panel-Forms/Panel.cs |
(0000418) ycastonguay (administrator) 2012-02-15 19:39 |
A further optimization could be to share the font resources between instances of the controls, but I'm not sure if this is possible. |
Issue History | |||
Date Modified | Username | Field | Change |
2012-02-07 19:29 | ycastonguay | New Issue | |
2012-02-07 19:29 | ycastonguay | Status | new => assigned |
2012-02-07 19:29 | ycastonguay | Assigned To | => ycastonguay |
2012-02-07 19:29 | ycastonguay | Relationship added | related to 0000283 |
2012-02-07 21:02 | ycastonguay | Target Version | 0.5.2.0 => 0.5.2.1 |
2012-02-15 19:38 | svn | Checkin | |
2012-02-15 19:38 | svn | Note Added: 0000417 | |
2012-02-15 19:39 | ycastonguay | Note Added: 0000418 | |
2012-02-15 19:39 | ycastonguay | Status | assigned => resolved |
2012-02-15 19:39 | ycastonguay | Fixed in Version | => 0.5.2.1 |
2012-02-15 19:39 | ycastonguay | Resolution | open => fixed |
2012-04-17 19:10 | ycastonguay | Category | Controls => Windows Controls |
2012-04-24 20:59 | ycastonguay | Category | Windows Controls => UI | Windows | Custom Controls |
2012-04-24 20:59 | ycastonguay | Category | UI | Windows | Custom Controls => Custom Controls | Windows |
2012-04-24 21:00 | ycastonguay | Category | Custom Controls | Windows => UI | Custom Controls | Windows |
2012-04-24 21:01 | ycastonguay | Category | UI | Custom Controls | Windows => UI | Custom Controls | Windows (WinForms) |
Copyright © 2000 - 2011 MantisBT Group |