aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread_2020/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* | Don't expose any AtomicRefCell directly from style traitsAnthony Ramine2020-04-041-3/+1
|/ | | | This lets us experiment with how we store this data on the DOM side.
* Pass pending restyles instead of draining them from layoutAnthony Ramine2020-03-281-2/+5
|
* Remove syn 0.15 from our crate graph (fixes #24421)Anthony Ramine2020-03-051-1/+1
| | | | | | | | | | This required bumps of: * gleam * image * rust-webvr * webrender * webxr
* Auto merge of #25803 - ferjm:layout_debug, r=SimonSapinbors-servo2020-02-241-17/+35
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Layout viewer for layout 2020 - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors This PR makes layout 2020 dump the box and fragment tree states into json files that can be visualized with the layout viewer tool. This tool has not much functionality other than displaying these trees and allowing to inspect each node additional data, so there is a lot of room for improvements. Some ideas for follow-ups: - Make the tool create and display diffs between tree states. - Actually allow creating new debug scopes during box tree and fragment tree construction. Right now there is a single scope created after constructing both trees, which is not ideal as it only allows looking at the reflow result. - Right now an independent JSON file is created per reflow. It would be nice to unify the data obtained on each reflow on a single JSON, so diffs between reflows can be displayed as well. - Dump and display the DOM tree. Link boxes to DOM nodes. - #23339
| * Fix rebase issues and run Prettier on layout viewer codeFernando Jiménez Moreno2020-02-211-7/+5
| |
| * Dump box tree state into json files and display it on layout 2020 viewerFernando Jiménez Moreno2020-02-211-9/+12
| |
| * Add layout debugger support to layout_2020Fernando Jiménez Moreno2020-02-211-9/+26
| |
* | Make Background Hang Monitor OptionalKunal Mohan2020-02-231-9/+15
|/ | | | | | This is done by wrapping all channels of communication and related objects inside Option which are configured using flag inside servo_config.
* remove option for origin and mirror changes to layout_thread_2020Kunal Mohan2020-02-181-15/+23
|
* Add layout_2020 support for NodeGeometryQuery and ContentBoxQueryMartin Robinson2020-02-111-6/+9
|
* Improve the name the NodeGeometryQueryMartin Robinson2020-02-051-2/+2
| | | | | | | This query is used to get the clientTop, clientWidth, clientHeight, clientLeft properties of DOM objects. "NodeGeometry" doesn't really capture what these properties do as they often are returning the width of element border.
* Answer content box queries for layout_2020 for the root elementMartin Robinson2020-01-211-5/+8
| | | | | | This isn't correct yet, but it is necessary to give a value in order for scrolling from script to work. Later this should give an accurate content box response as well as work for non-root elements.
* Add initial support for scrollable overflow in layout_2020Martin Robinson2020-01-211-2/+6
| | | | | This still isn't totally correct and non-root scrolling is not handled at all, but the root frame now scrolls.
* Initial rendering of background-imageSimon Sapin2020-01-131-1/+4
|
* Add support for some `-Z dump-*` optionsSimon Sapin2020-01-131-15/+54
|
* Pass LayoutContext to DisplayListBuilderSimon Sapin2020-01-131-4/+19
|
* Copy image-fetching code from Layout 2013Simon Sapin2020-01-131-5/+35
|
* Allow dumping the fragment tree in layout_2020Martin Robinson2020-01-131-1/+11
| | | | This is done when the dump-flow-tree debug option is passed.
* Use the is_contentful field of DisplayListBuilderSimon Sapin2020-01-091-2/+2
|
* Disable use of rayon with `--layout-threads 1` instead of panickingSimon Sapin2019-12-101-0/+1
|
* Support STYLO_THREADS=1Simon Sapin2019-12-101-6/+14
|
* Add a `request_content_sizes` parameter to ↵Simon Sapin2019-12-031-1/+2
| | | | `IndependentFormattingContext::construct`
* Pass a LayoutContext through box constructionSimon Sapin2019-12-021-2/+1
|
* Un-allow and fix warnings in `components/layout_2020`Simon Sapin2019-12-021-2/+1
|
* Auto merge of #24875 - jdm:wr-no-ipc, r=asajeffreybors-servo2019-11-271-31/+14
|\ | | | | | | | | | | Extract IPC out of webrender Fixes #20172. Fixes #13480.
| * Use non-IPC webrender API over explicit IPC channels.Josh Matthews2019-11-271-31/+14
| |
* | Use the rayon pool when computing styles in layout 2020Anthony Ramine2019-11-271-1/+1
|/
* Properly use STYLE_THREAD_POOL in layout 2020Anthony Ramine2019-11-251-11/+12
|
* Pass a LayoutContext to TextRun::layout in 2020Anthony Ramine2019-11-251-9/+19
|
* layout: Inform webrender about new pipeline as early as possible.Josh Matthews2019-11-131-0/+14
|
* Ensure layout/script always have a correct viewport size when a new pipeline ↵Josh Matthews2019-11-061-21/+7
| | | | is created.
* dom: Calculate the viewport size of iframes when they are first added to the ↵Josh Matthews2019-11-061-0/+9
| | | | tree.
* 2020: paint background-colorSimon Sapin2019-10-241-4/+5
|
* 2020: add and call Fragment::build_display_listSimon Sapin2019-10-241-11/+14
|
* 2020: run layout after box constructionSimon Sapin2019-10-241-2/+11
|
* Call BoxTreeRoot::construct from layout_thread_2020Anthony Ramine2019-10-041-0/+10
|
* Import victor's layout system 🍷Anthony Ramine2019-09-111-0/+1
|
* Rename RecalcStyleAndConstructFlows to RecalcStyleAnthony Ramine2019-09-111-10/+5
| | | | It doesn't construct flows anymore.
* Remove some more codeAnthony Ramine2019-09-111-112/+22
|
* Remove layout_2020::display_list, use WebRender display lists insteadSimon Sapin2019-09-071-12/+10
|
* Replace DisplayList::is_contentful with tracking during conversion to WR ↵Simon Sapin2019-09-061-2/+2
| | | | display lists
* Replace the WebRenderDisplayItemConverter trait with an inherent methodSimon Sapin2019-09-061-1/+0
|
* restructure content process shutdown ack with threaded sender, without layoutGregory Terzian2019-08-171-5/+0
|
* Remove more stuff from layout_2020Anthony Ramine2019-08-131-122/+23
|
* Always send epochs to webrender in layout 2020Anthony Ramine2019-08-101-134/+56
|
* Fix compilation errors due to the rebaseAnthony Ramine2019-08-011-26/+15
| | | | It's too complicated to make all the commits in that branch compile properly.
* Remove most of the things in layout 2020Anthony Ramine2019-07-311-465/+29
| | | | | We keep mostly the query system. There is probably more to delete but that's a good start I think.
* Make layout_2020 be layout_2013Anthony Ramine2019-07-311-21/+2127
|
* Update euclid.Emilio Cobos Álvarez2019-07-231-2/+2
| | | | | | | | There are a few canvas2d-related dependencies that haven't updated, but they only use euclid internally so that's not blocking landing the rest of the changes. Given the size of this patch, I think it's useful to get this landed as-is.
* Add `./mach build --with-layout-2020`Simon Sapin2019-07-041-0/+59
… with corresponding `layout` and `layout_thread` crates, which for now do nothing.