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

This commit is contained in:
Jonathan Watt 2011-06-16 12:06:05 +01:00
Родитель 6682464e36
Коммит 3657e37ade
1 изменённых файлов: 3 добавлений и 1 удалений

Просмотреть файл

@ -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)