Name Description Size
channel.rs 6314
color.rs 4912
display_item.rs 62797
display_item_cache.rs 3188
display_list.rs 77169
font.rs 12322
gradient_builder.rs 6500
image.rs 20675
lib.rs The `webrender_api` crate contains an assortment types and functions used by WebRender consumers as well as, in many cases, WebRender itself. This separation allows Servo to parallelize compilation across `webrender` and other crates that depend on `webrender_api`. So in practice, we put things in this crate when Servo needs to use them. Firefox depends on the `webrender` crate directly, and so this distinction is not really relevant there. 26773
units.rs A collection of coordinate spaces and their corresponding Point, Size and Rect types. Physical pixels take into account the device pixel ratio and their dimensions tend to correspond to the allocated size of resources in memory, while logical pixels don't have the device pixel ratio applied which means they are agnostic to the usage of hidpi screens and the like. The terms "layer" and "stacking context" can be used interchangeably in the context of coordinate systems. 12134