[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re[2]: [Gnash-commit] gnash ChangeLog server/character.h server/dlist...

From: Udo Giacomozzi
Subject: Re[2]: [Gnash-commit] gnash ChangeLog server/character.h server/dlist...
Date: Tue, 30 Oct 2007 14:54:57 +0100

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...


reply via email to

[Prev in Thread] Current Thread [Next in Thread]