servo/components/gfx
Patrick Walton bffaad118e layout: Rewrite clipping to be per-display-item instead of having
a separate `ClipDisplayItem`.

We push down clipping areas during absolute position calculation. This
makes display items into a flat list, improving cache locality. It
dramatically simplifies the code all around.

Because we need to push down clip rects even for absolutely-positioned
children of non-absolutely-positioned flows, this patch alters the
parallel traversal to compute absolute positions for
absolutely-positioned children at the same time it computes absolute
positions for other children. This doesn't seem to break anything either
in theory (since the overall order remains correct) or in practice. It
simplifies the parallel traversal code quite a bit.

See the relevant Gecko bug:
https://bugzilla.mozilla.org/show_bug.cgi?id=615734
2014-10-13 21:40:36 -07:00
..
display_list layout: Rewrite clipping to be per-display-item instead of having 2014-10-13 21:40:36 -07:00
platform Remove unnecessary deref()s (fixes #3586) 2014-10-09 15:01:54 +02:00
text gfx: Fix imprecision in float_to_fixed. 2014-10-01 22:07:50 -07:00
buffer_map.rs Eliminate warnings 2014-09-20 13:00:55 -07:00
Cargo.toml Rename macros crate to plugins 2014-09-23 17:37:27 +05:30
color.rs Upgrade to rustc 0.12.0-pre (4d2af3861 2014-09-17 15:51:11 +0000) 2014-09-20 13:00:06 -07:00
font.rs Add average advance width to the font metrics structure, using the X glyph as a best guess. 2014-10-01 15:03:15 -04:00
font_cache_task.rs Fix selection of fallback fonts. Fixes monospace fonts in rust guide. 2014-10-13 15:39:53 +10:00
font_context.rs Fix selection of fallback fonts. Fixes monospace fonts in rust guide. 2014-10-13 15:39:53 +10:00
font_template.rs Cargoify servo 2014-09-08 20:21:42 -06:00
lib.rs Rename macros crate to plugins 2014-09-23 17:37:27 +05:30
render_context.rs Cargoify servo 2014-09-08 20:21:42 -06:00
render_task.rs layout: Rewrite clipping to be per-display-item instead of having 2014-10-13 21:40:36 -07:00