mirror of
https://github.com/servo/servo.git
synced 2025-08-05 05:30:08 +01:00
Merge pull request #3004 from mbrubeck/doc-comment
Fix rustdoc comment syntax in gfx::display_list. r=zwarich
This commit is contained in:
commit
980ff21f19
1 changed files with 10 additions and 10 deletions
|
@ -3,16 +3,16 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
//! Servo heavily uses display lists, which are retained-mode lists of rendering commands to
|
||||
/// perform. Using a list instead of rendering elements in immediate mode allows transforms, hit
|
||||
/// testing, and invalidation to be performed using the same primitives as painting. It also allows
|
||||
/// Servo to aggressively cull invisible and out-of-bounds rendering elements, to reduce overdraw.
|
||||
/// Finally, display lists allow tiles to be farmed out onto multiple CPUs and rendered in
|
||||
/// parallel (although this benefit does not apply to GPU-based rendering).
|
||||
///
|
||||
/// Display items describe relatively high-level drawing operations (for example, entire borders
|
||||
/// and shadows instead of lines and blur operations), to reduce the amount of allocation required.
|
||||
/// They are therefore not exactly analogous to constructs like Skia pictures, which consist of
|
||||
/// low-level drawing primitives.
|
||||
//! perform. Using a list instead of rendering elements in immediate mode allows transforms, hit
|
||||
//! testing, and invalidation to be performed using the same primitives as painting. It also allows
|
||||
//! Servo to aggressively cull invisible and out-of-bounds rendering elements, to reduce overdraw.
|
||||
//! Finally, display lists allow tiles to be farmed out onto multiple CPUs and rendered in
|
||||
//! parallel (although this benefit does not apply to GPU-based rendering).
|
||||
//!
|
||||
//! Display items describe relatively high-level drawing operations (for example, entire borders
|
||||
//! and shadows instead of lines and blur operations), to reduce the amount of allocation required.
|
||||
//! They are therefore not exactly analogous to constructs like Skia pictures, which consist of
|
||||
//! low-level drawing primitives.
|
||||
|
||||
use color::Color;
|
||||
use render_context::RenderContext;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue