Update and fix comments

This commit is contained in:
Jasper St. Pierre 2013-03-14 17:55:24 -04:00
parent 0bb8d29be4
commit e46c7fd27b
2 changed files with 12 additions and 9 deletions

View File

@ -10,13 +10,15 @@
/** /**
* MetaWindowGroup: * MetaWindowGroup:
* *
* This class is a subclass of ClutterGroup with special handling for * This class is a subclass of ClutterActor with special handling for
* MetaWindowActor when painting the group. When we are painting a stack * MetaWindowActor/MetaBackgroundActor/MetaBackgroundGroup when painting
* of 5-10 maximized windows, the standard bottom-to-top method of * children.
* drawing every actor results in a tremendous amount of overdraw *
* and can easily max out the available memory bandwidth on a low-end * When we are painting a stack of 5-10 maximized windows, the
* graphics chipset. It's even worse if window textures are being accessed * standard bottom-to-top method of drawing every actor results in a
* over the AGP bus. * tremendous amount of overdraw and can easily max out the available
* memory bandwidth on a low-end graphics chipset. It's even worse if
* window textures are being accessed over the AGP bus.
* *
* The basic technique applied here is to do a pre-pass before painting * The basic technique applied here is to do a pre-pass before painting
* where we walk window from top to bottom and compute the visible area * where we walk window from top to bottom and compute the visible area

View File

@ -9,8 +9,9 @@
* MetaBackgroundGroup: * MetaBackgroundGroup:
* *
* This class is a subclass of ClutterActor with special handling for * This class is a subclass of ClutterActor with special handling for
* MetaBackgroundActor when painting the group. It makes sure to only * MetaBackgroundActor/MetaBackgroundGroup when painting children.
* draw the parts of the backgrounds not occluded by opaque windows. * It makes sure to only draw the parts of the backgrounds not
* occluded by opaque windows.
* *
* See #MetaWindowGroup for more information behind the motivation, * See #MetaWindowGroup for more information behind the motivation,
* and details on implementation. * and details on implementation.