Hello Sandro,

Tuesday, October 30, 2007, 10:51:09 AM, you wrote:
SS> I'll add a TODO item in the DisplayList::add_invalidated_bounds.
SS> Another thing I noticed is the tree crawling in DisplayList::display
SS> (now I guess that's also in ::add_invalidated_bounds) which sounds
SS> suspicious performance-wise.

You are talking about display() recursively calling the same method of
the childs? Seems the only way to do it to me...
And what performance problem do you see?

SS> Was thinking maybe we could have two functions:

SS> ::display
SS> ::renderAsMask

passing the mask child to renderAsMask() ? I doubt that would work..

Which way goes the reference between mask and maskee? The mask having
a reference to the maskee or vice-verse?

If the maskee has the reference to the mask, then it would be simple:

- (in dlist.cpp) when a child is found with a mask reference:
- beginMask
- call display() of the mask instance
- endMask
- call display() of the maskee
- disableMask

Just guessing...

Udo



_______________________________________________
Gnash-commit mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnash-commit

Reply via email to