mirror of
https://github.com/brl/mutter.git
synced 2024-11-21 23:50:41 -05:00
Update and fix comments
This commit is contained in:
parent
0bb8d29be4
commit
e46c7fd27b
@ -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
|
||||||
|
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user