Yes, I intend to rebuild the display list every time. That will require
a traversal of the visible frame tree (we can prune subtrees whose
bounding box doesn't intersect the dirty rect, just as we currently
do). Note that today we currently traverse the visible frame tree three
times (once per layer) per paint.

We only need to create display items for actual rendered parts of
frames, and only for the visible frames. Most frames don't have borders
and most frames don't have backgrounds. So, I hope the display list
length will be reasonable. We could optimize things so that when
multiple display items for a single frame occur together in z-order
(e.g., border, background and text of an inline element), they're all
represented as one display item ... do you think that's worth it?

Rob

_______________________________________________
mozilla-layout mailing list
[email protected]
http://mail.mozilla.org/listinfo/mozilla-layout

Reply via email to