diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-09-10 14:38:56 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-10 12:38:56 +0000 |
commit | a9d37cb85ac2c55fc630fccffe1ba60ff00f555b (patch) | |
tree | e072f86743d0ee71f908135cb63484f84c8370f4 /components/script_traits/compositor.rs | |
parent | c079acb3c31e695e9f16b96b9bd61b2a1c182796 (diff) | |
download | servo-a9d37cb85ac2c55fc630fccffe1ba60ff00f555b.tar.gz servo-a9d37cb85ac2c55fc630fccffe1ba60ff00f555b.zip |
Upgrade WebRender to e491e1ae637b2eed1e7195855d88357e5eb3ddf9 (#30323)
* Upgrade vendored version of WebRender
* Patch WebRender: upgrade version of gleam
* Restore hit testing implementation
* Fix WebRender warnings
* Adapt Servo to new WebRender
* Update results
* Add a workaround for #30313
This slightly expands text boundaries in order to take into account the
fact that layout isn't measuring glyph boundaries.
Diffstat (limited to 'components/script_traits/compositor.rs')
-rw-r--r-- | components/script_traits/compositor.rs | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/components/script_traits/compositor.rs b/components/script_traits/compositor.rs index 648882e1e7e..251f6a0c9dc 100644 --- a/components/script_traits/compositor.rs +++ b/components/script_traits/compositor.rs @@ -220,6 +220,9 @@ pub struct CompositorDisplayListInfo { /// The size of the viewport that this display list renders into. pub viewport_size: LayoutSize, + /// The size of this display list's content. + pub content_size: LayoutSize, + /// The epoch of the display list. pub epoch: Epoch, @@ -270,6 +273,7 @@ impl CompositorDisplayListInfo { CompositorDisplayListInfo { pipeline_id, viewport_size, + content_size, epoch, hit_test_info: Default::default(), scroll_tree, |