Confirmed users
138
edits
(Add layers rendering pipeline overview image) |
(Remove some outdated painting content) |
||
| Line 686: | Line 686: | ||
[[File:Layers pipeline overview.png|650px|thumb|Layers pipeline overview]] | [[File:Layers pipeline overview.png|650px|thumb|Layers pipeline overview]] | ||
Painting/rendering/rasterizing is the step where graphical primitives (such as a command to fill an [https://developer.mozilla.org/en-US/docs/Web/SVG SVG] circle | Painting/rendering/rasterizing is the step where graphical primitives (such as a command to fill an [https://developer.mozilla.org/en-US/docs/Web/SVG SVG] circle, or the internally produced command to draw a rounded rectangle) are used to color in the pixels of a surface so that the surface "displays" those rasterized primitives. | ||
The platform independent library that gecko uses to render is [http://dxr.mozilla.org/mozilla-central/source/gfx/2d/2D.h Moz2D]. Gecko code paints into Moz2D DrawTarget objects (the DrawTarget | The platform independent library that gecko uses to render is [http://dxr.mozilla.org/mozilla-central/source/gfx/2d/2D.h Moz2D]. Gecko code paints into Moz2D DrawTarget objects (the DrawTarget base class having multiple platform dependent subclasses). | ||
==== Compositing ==== | ==== Compositing ==== | ||