912 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 - Archive

Welcome to the Ask Embedded Wizard archive. This community forum served us well for many years, but we've evolved our support approach!

Your resources:

The Embedded Wizard Online Documentation provides comprehensive documentation, tutorials, examples and ready-to-use software packages.

For dedicated assistance, explore our Embedded Wizard Product Support.

You can still browse the valuable discussions from our community history here.

Embedded Wizard Website | Privacy Policy | Imprint

...