aboutsummaryrefslogtreecommitdiffstats
path: root/components/layout_thread/lib.rs
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Auto merge of #24677 - jdm:iframe-sizing-cleanup, r=asajeffrey"jdm-revert4Josh Matthews2020-01-151-19/+23
| | | | | This reverts commit 9a518cf7979b79b34611135d09c1dd0a96945255, reversing changes made to a33d493a4ff6f8a629a9b82202c49c41ecbefa49.
* Ensure layout/script always have a correct viewport size when a new pipeline ↵Josh Matthews2019-11-061-23/+8
| | | | is created.
* dom: Calculate the viewport size of iframes when they are first added to the ↵Josh Matthews2019-11-061-0/+11
| | | | tree.
* Double key image cache by requesting origin, and store CORS status with ↵Josh Matthews2019-10-041-0/+1
| | | | cached images.
* style: Fix Servo build, and rustfmt recent changes.Emilio Cobos Álvarez2019-09-121-5/+6
|
* 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/+1
|
* restructure content process shutdown ack with threaded sender, without layoutGregory Terzian2019-08-171-5/+0
|
* Update euclid.Emilio Cobos Álvarez2019-07-231-14/+13
| | | | | | | | 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.
* Create a solid rectangle display list entry for the page background.Josh Matthews2019-07-091-3/+8
|
* Stop storing display lists in an `Arc`Patrick Walton2019-07-091-7/+4
|
* WebRender units are no longer reexported.Patrick Walton2019-07-091-3/+4
|
* Upgrade to rustc 1.37.0-nightly (088b98730 2019-07-03)Josh Matthews2019-07-051-0/+3
|
* Fix some new warningsSimon Sapin2019-06-221-3/+3
|
* Layout_thread: removed all possible opts::get()oneturkmen2019-06-041-14/+107
|
* Flush shadow roots stylesheets only if they changedFernando Jiménez Moreno2019-04-261-7/+5
|
* Minor layout thread cleanups:Fernando Jiménez Moreno2019-04-261-2/+5
| | | | | | | - lifetime naming - unrequired reference removal - containing_shadow_host getter simplification - use stylist.device getter where possible
* Invalidate and flush shadow tree stylesheets where neededFernando Jiménez Moreno2019-04-261-1/+12
|
* fixup! Measure layout queries blocked by ongoing layoutpylbrecht2019-04-171-1/+1
|
* Measure layout queries blocked by ongoing layoutPhilipp Albrecht2019-04-131-3/+14
|
* #8539 Config preferences backend restructurePeter Hall2019-03-201-6/+2
|
* Auto merge of #22396 - jdm:no-spam-iframe-size, r=asajeffreybors-servo2019-01-141-5/+41
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reduce unnecessary iframe size messages This should be an improvement on pages that include iframes, since we currently run two layout jobs for every display-oriented layout request. When building the display list, we send a message to the constellation that includes the sizes of all iframes present, and the constellation sends resize messages to the script thread. This results in a mouse event on the outer page causing all frames to be re-laid out even if no changes occurred to the iframe sizes, which is ridiculous. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22394 - [x] These changes do not require tests because there is no way to test this internal detail. <!-- 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/22396) <!-- Reviewable:end -->
| * Suppress iframe size messages from layout that include unchanged sizes.Josh Matthews2019-01-141-5/+41
| |
* | Remove LayoutDamageComputationAnthony Ramine2019-01-141-1/+1
| |
* | Remove BlockFlowDisplayListBuildingAnthony Ramine2019-01-141-1/+1
| | | | | | | | Replaced by inherent methods on BlockFlow, the only implementor of that trait.
* | Rename NewLayoutThreadInfo to LayoutThreadInitAnthony Ramine2019-01-141-2/+2
|/ | | | Following the convention of our other init structs.
* Make a bunch of layout queries morally saferAnthony Ramine2019-01-091-12/+2
|
* Added comment about layout thread exit workflow(Specifically:when will a ↵adit2019-01-081-0/+1
| | | | | | | | | | | Exit message be received ) Added comment about layout thread exit workflow Comments Regarding clarify layout-thread exit workflow (Specifically:when will a Exit message be received ) Added comment about layout thread exit workflow
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-1/+1
|
* style: Make Servo use a single thread-pool for layout-related tasks per-process.Emilio Cobos Álvarez2018-12-231-42/+25
| | | | | | Instead of per-document. This also allows to reuse this thread-pool if needed for other stuff, like parallel CSS parsing (#22478), and to share more code with Gecko, which is always nice.
* unregister components while exitingcsmoe2018-12-171-0/+1
|
* Cancel animations that affect nodes that do not participate in layout.Josh Matthews2018-12-101-4/+12
|
* introduce a background-hang-monitor:Gregory Terzian2018-11-261-2/+55
| | | | | Mac-Os implementation of a thread sampler, Linux and Windows skeleton implementations.
* Update MPL license to https (part 4)Jan Andre Ikenmeyer2018-11-191-1/+1
|
* Update crossbeam-channel to 0.3Bastien Orivel2018-11-181-9/+11
|
* `cargo fix --edition-idioms`Simon Sapin2018-11-081-74/+39
|
* Reorder importsPyfisch2018-11-061-14/+22
|
* Format remaining filesPyfisch2018-11-061-5/+7
|
* `cargo fix --edition`Simon Sapin2018-11-061-2/+2
|
* Replace mpsc with crossbeam/servo channel, update ipc-channelSimon Sapin2018-09-121-22/+7
| | | | Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com>
* add servo_channel crateGregory Terzian2018-09-121-0/+2
|
* Rustfmt layout_thread cratePyfisch2018-09-051-562/+710
|
* Fix Servo build.Emilio Cobos Álvarez2018-08-081-7/+10
|
* layout: script: Fix build.Emilio Cobos Álvarez2018-06-231-3/+3
|
* layout_thread: Don't parse internal properties in paint registration code.Emilio Cobos Álvarez2018-06-021-5/+7
|
* Auto merge of #20420 - pyfisch:corner-clipping, r=emiliobors-servo2018-04-291-3/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move DL items from gfx to layout and implement corner clipping Implement corner clipping. Remove PixelFormat from WebrenderImageInfo. Use WebRender text shadow. Remove MallocSizeOf and Deserialize for DL items. Closes #19649, closes #19680, closes #19802 <!-- Please describe your changes on the following line: --> --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- 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/20420) <!-- Reviewable:end -->
| * Move DL items from gfx to layoutPyfisch2018-04-221-3/+2
| | | | | | | | | | | | | | | | | | Implement corner clipping. Remove PixelFormat from WebrenderImageInfo. Use WebRender text shadow. Remove MallocSizeOf and Deserialize for DL items. Closes #19649, #19680, #19802
* | delegate resource reading to embedderPaul Rouget2018-04-271-9/+16
| |
* | fix time measurecsmoe2018-03-251-9/+20
| |
* | introduce layout query timestampcsmoe2018-03-181-1/+19
| |