Gecko:Overview: Difference between revisions

Jump to navigation Jump to search
wrong spelling
(Add link to touch-input page)
(wrong spelling)
Line 590: Line 590:
The compositing stage of the rendering pipeline is operated by the [http://dxr.mozilla.org/mozilla-central/source/gfx/layers/ gfx/layers] module.
The compositing stage of the rendering pipeline is operated by the [http://dxr.mozilla.org/mozilla-central/source/gfx/layers/ gfx/layers] module.


Different pars of a web page can sometimes be painted into intermediate surfaces retained by layers. It can be convenient to think of layers as the layers in image manipulation programs like The Gimp or Photoshop. Layers are organized as a tree. Layers are primarily used to minimize invalidating and repainting when elements are being animated independently of one another in a way that can be optimized using layers (e.g. opacity or transform animations), and to enable some effects (such as transparency and 3D transforms).
Different parts of a web page can sometimes be painted into intermediate surfaces retained by layers. It can be convenient to think of layers as the layers in image manipulation programs like The Gimp or Photoshop. Layers are organized as a tree. Layers are primarily used to minimize invalidating and repainting when elements are being animated independently of one another in a way that can be optimized using layers (e.g. opacity or transform animations), and to enable some effects (such as transparency and 3D transforms).


Compositing is the action of flattening the layers into the final image that is shown on the screen.
Compositing is the action of flattening the layers into the final image that is shown on the screen.
4

edits

Navigation menu