Hi Audrius,

+        // Where possible, do not repaint the component, extending the
+        // parent repaint region instead.

You do understand that this was also happening in the previous
implementation? I was sorting the repaint rectangles by their size, so
that the parent components are always painted first. If one dirty region
of a child component was painted completely by the parent paint() call,
then this was marked clean and skipped when repainting. Of course, if
your impl does the same, and more effectivly, the you also can remove
the comparator stuff and so on.

/Roman

-- 
“Improvement makes straight roads, but the crooked roads, without
Improvement, are roads of Genius.” - William Blake

Attachment: signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil

Reply via email to