Bug 664130 - Document what GetOpaqueRegion is useful for. r=roc.

--HG--
extra : rebase_source : abde1fd28975506a58068725e5cbb660620760f8
This commit is contained in:
Jonathan Watt 2011-06-16 12:06:05 +01:00
parent 782ce5cba9
commit 00a35b6a3c

View File

@ -647,7 +647,9 @@ public:
}
/**
* @return a region of the item that is opaque --- every pixel painted
* with an opaque color.
* with an opaque color. This is useful for determining when one piece
* of content completely obscures another so that we can do occlusion
* culling.
*/
virtual nsRegion GetOpaqueRegion(nsDisplayListBuilder* aBuilder,
PRBool* aForceTransparentSurface = nsnull)