servo/components
bors-servo 54b387ab59
Auto merge of #21348 - pyfisch:only-webrender-items, r=jdm
Replace Servo DL items with WR ones

The Servo internal display list items are already pretty much
equivalent to the WebRender ones. Except that Servo items contain
base information and associated glyphs and gradient stops which are
stored implicitly in WebRender. Remove the display items for
rectangles, text, images, border, gradients and box shadow and
replace them with their WebRender counter parts.

Some more internal items like line, text shadow and iframe can definitively be replaced with WebRender equivalents but I think the PR is already quite huge. If WebRender would expose a quite minimal API which allowed servo to directly push items onto the display list most of webrender_helpers boilerplate code could go away. As WebRender performs normalization of gradients this would need to be called by servo explicitly in this case.

It should be noted that gradient borders don't actually work neither with the old version nor with this PR as the measurements are all set to zero.

Part of #19676

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21348)
<!-- Reviewable:end -->
2018-08-23 19:37:41 -04:00
..
allocator Format component allocator #21373 2018-08-16 15:44:54 +08:00
atoms Add scan as a static atom. 2018-08-18 18:19:27 +02:00
bluetooth Format component bluetooth 2018-08-17 11:08:56 +08:00
bluetooth_traits Format component bluetooth_traits 2018-08-17 11:09:38 +08:00
canvas Dedupe num-traits 2018-08-09 18:26:28 +02:00
canvas_traits Properly check limit in gl.activeTexture() 2018-08-23 15:15:33 +02:00
compositing Refactor embedder NewBrowser flow 2018-08-11 01:13:11 +02:00
config WR update 2018-08-06 07:22:24 +02:00
constellation Refactor embedder NewBrowser flow 2018-08-11 01:13:11 +02:00
debugger Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
deny_public_fields Update Webrender 2018-04-25 10:25:21 +02:00
devtools Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
devtools_traits Bump ipc-channel and bincode 2018-03-21 13:05:47 +01:00
dom_struct Upgrade to rustc 1.29.0-nightly (1ecf6929d 2018-07-16) 2018-07-18 11:25:30 +02:00
domobject_derive Update Webrender 2018-04-25 10:25:21 +02:00
embedder_traits implement window.open, create auxiliary browsing context 2018-08-11 01:12:55 +02:00
fallible Fix build errors after rebase 2018-07-30 14:23:45 +02:00
geometry WR update 2018-08-06 07:22:24 +02:00
gfx gfx: Make FontHandleMethods::family_name return an optional value. 2018-08-08 15:29:22 -04:00
gfx_traits
hashglobe Bump ipc-channel and bincode 2018-03-21 13:05:47 +01:00
jstraceable_derive Update Webrender 2018-04-25 10:25:21 +02:00
layout Auto merge of #21348 - pyfisch:only-webrender-items, r=jdm 2018-08-23 19:37:41 -04:00
layout_thread Fix Servo build. 2018-08-08 01:34:35 +02:00
layout_traits Bump ipc-channel and bincode 2018-03-21 13:05:47 +01:00
malloc_size_of Upgraded to SM 60 2018-08-20 18:22:29 -04:00
malloc_size_of_derive Update Webrender 2018-04-25 10:25:21 +02:00
metrics added spec comments 2018-04-11 21:29:03 +01:00
msg Remove components/nonzero, use std::num::NonZero instead 2018-06-16 00:14:41 +02:00
net Network: Preserve HEAD on 303 redirect 2018-08-19 03:14:34 +08:00
net_traits Dedupe num-traits 2018-08-09 18:26:28 +02:00
profile Update regex to 1.0 2018-07-07 12:03:17 +02:00
profile_traits Measure cache memory usage (#19251): 2018-04-01 13:30:57 -04:00
rand Bump env_logger to 0.5 and log to 0.4 in every servo crate 2018-03-28 19:50:58 +02:00
range Dedupe num-traits 2018-08-09 18:26:28 +02:00
remutex Remove components/nonzero, use std::num::NonZero instead 2018-06-16 00:14:41 +02:00
script Auto merge of #21341 - servo:webgl, r=avadacatavra 2018-08-23 09:16:56 -04:00
script_layout_interface WR update 2018-08-06 07:22:24 +02:00
script_plugins Upgrade to rustc 1.29.0-nightly (1ecf6929d 2018-07-16) 2018-07-18 11:25:30 +02:00
script_traits Refactor embedder NewBrowser flow 2018-08-11 01:13:11 +02:00
selectors Publish selectors v0.20.0 2018-08-23 20:43:06 +02:00
servo Refactor embedder NewBrowser flow 2018-08-11 01:13:11 +02:00
servo_arc style: Use an acquire load for is_unique in servo_arc. 2018-07-24 03:27:08 +02:00
size_of_test
style Remove outdated comment in stylist.rs 2018-08-22 13:26:39 -07:00
style_derive style: Better debugging for media-query related code and ua-cache. 2018-06-23 20:37:16 +02:00
style_traits WR update 2018-08-06 07:22:24 +02:00
url Fix building servo_url by itself 2018-04-19 17:01:14 +02:00
webdriver_server WR update 2018-08-06 07:22:24 +02:00
webvr WR update 2018-08-06 07:22:24 +02:00
webvr_traits Bump ipc-channel and bincode 2018-03-21 13:05:47 +01:00