[Top][All Lists]

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

[Gnash-dev] invalidated bounds unit testing

From: strk
Subject: [Gnash-dev] invalidated bounds unit testing
Date: Wed, 6 Dec 2006 12:52:14 +0100

After my last huge commit invalidated bounds are broken.
To fix them and make sure we won't break the in the future
I'm thinking about adding unit tests for them.
Already added getInvalidatedBounds() to the MovieTester class,
so we might play a movie and verify that the computed invalidated
bounds are as expected.

Now, a question I have is: how are invalidated bounds computed ?
There's no specific information on this in the doxygen comments.
In particular, I see that calls to set_invalidated() recompute
the invalidated bounds directly, rather then on demand, and
that the movie_root::display explicitly call clear_invalidated()
and I don't understand why.

Any help ?
Best help would be trough comments in the code.


reply via email to

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