28 views
in System Integration by
I'd like to figure out how dirty region list works, but get a little confused. So I'm wonderring is there any possibility to have a detailed document about the dirty region mechanism.

Thanks very much!

1 Answer

0 votes
by
 
Best answer
Hello,

there is no detailed document about the region mechanism as this is an implementation aspect of the Mosaic framework. It is just an optimization to reduce the resulting dirty area. Instead of adding all rectangular areas that have to be redrawn into one area, the Mosaic framework tries to minimize that by collecting three areas. Each time a view is invalid, its Bounds are compared with the three dirty regions and added to that region that fits best.

This is just an optimization to avoid that a few small GUI components with animations are causing an entire screen update (for example a small area in the top left corner and a small area in the bottom right corner).

You will find the implementation within Core::Root.

Do you have any issues with your GUI application?

Best regards,

Manfred
by
Currently , thers is no issues with my application,  I'm just interested in  how it works.

And maybe someday, I will have to look inside and do something about gui  rendering performance.

Now  I have some cues, thanks a lot for your reply.

Ask Embedded Wizard

Welcome to the question and answer site for Embedded Wizard users and UI developers.

Ask your question and receive answers from the Embedded Wizard support team or from other members of the community!

Embedded Wizard Website | Privacy Policy | Imprint

...