gnash-commit
[Top][All Lists]
Advanced

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

Re: [Gnash-commit] gnash ChangeLog server/dlist.cpp


From: Udo Giacomozzi
Subject: Re: [Gnash-commit] gnash ChangeLog server/dlist.cpp
Date: Wed, 24 Oct 2007 14:26:09 +0200

UG> server/dlist.cpp: optimize add_invalidated_bounds() for
UG> masks (don't invalidate outside of masks)

This patch optimizes Gnash' handling of masked sprites. The previous
design simply re-rendered the whole area covered of a masked sprite,
even if the visible region (which is defined by the mask) is only a
fraction of it.

For an before/after comparison check these movie clips:

http://www.indunet.it/temp/mask-changing-mask.swf

http://www.indunet.it/temp/mask-changing-masked.swf

The improvement may be noticed on a slow machine or when activating
invalidated bounds debugging (ENABLE_REGION_UPDATES_DEBUGGING).

BTW, these movies also expose a mask rendering bug in AGG *g*

Udo


PS: The photo in this movie was taken from Flickr:
http://www.flickr.com/photos/pmorgan/32606683/ 





reply via email to

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