Home » U++ Library support » U++ Widgets - General questions or Mixed problems » howto best Ctrl Refresh handling w/ MT & very frequent refreshes
| Re: howto best Ctrl Refresh handling w/ MT & very frequent refreshes [message #26767 is a reply to message #26766] |
Wed, 26 May 2010 17:20   |
Mindtraveller
Messages: 917 Registered: August 2007 Location: Russia, Moscow rgn.
|
Experienced Contributor |

|
|
1. By the way, is GUI MT-safe? If it is so, maybe it is a good idea to have some flag (like GUI_MT) to enable/disable GUI-MT features? This will speed things too.
2. Maybe you could make some descendant class of ParentCtrl which keeps cached image and drws it upon refresh. Actual refresh of child Ctrl is to be made only on explicit request (let's call it ParentCtrlCache). I don't know exactly (didn't test it) but this could give additional speedup by reducing actual GUI updates.
[Updated on: Wed, 26 May 2010 17:25] Report message to a moderator
|
|
|
|
Goto Forum:
Current Time: Sun May 17 09:56:55 GMT+2 2026
Total time taken to generate the page: 0.00649 seconds
|