Hi. I am getting screen flicker even though I have double-buffering enabled and otherwise working. I've traced it to occurring when a Window is invalidated whilst it is being painted. This occurs in these circumstances:
1. GUI_TIMER set up to WM_Invalidate a window (timer is 150ms)
2. WM_Paint used to paint the screen (screen is taking >150ms to paint)
3. RTX OS (around 20 tasks running, most on same priority as the WM system)
Whilst an overrun of the paint time is ny root problem I am not sure the screen should flicker. In saying this, the flicker is a useful debug tool to tell me "overrunning paint"! Maybe there is a define switch somewhere where this is a feature enabled/disabled?
As an aside, the reason for the paint being so long was my use of RLE compressed bitmaps. I changed to non-compressed and gained an improvement. Am now moving to MEMDEV objects with the hope of improving more.
Regards
1. GUI_TIMER set up to WM_Invalidate a window (timer is 150ms)
2. WM_Paint used to paint the screen (screen is taking >150ms to paint)
3. RTX OS (around 20 tasks running, most on same priority as the WM system)
Whilst an overrun of the paint time is ny root problem I am not sure the screen should flicker. In saying this, the flicker is a useful debug tool to tell me "overrunning paint"! Maybe there is a define switch somewhere where this is a feature enabled/disabled?
As an aside, the reason for the paint being so long was my use of RLE compressed bitmaps. I changed to non-compressed and gained an improvement. Am now moving to MEMDEV objects with the hope of improving more.
Regards