aboutsummaryrefslogtreecommitdiffstats
path: root/components/constellation/pipeline.rs
Commit message (Collapse)AuthorAgeFilesLines
...
| * Add a sampling profiler and a script to generate profiles for use with Gecko ↵Josh Matthews2019-03-261-4/+4
| | | | | | | | tooling.
* | #8539 Config preferences backend restructurePeter Hall2019-03-201-4/+4
|/
* Make nested browsing context navigations check the loaded status of the ↵Josh Matthews2019-03-071-0/+4
| | | | active document of the nested browsing context.
* Rustfmt has changed its default style :/Simon Sapin2018-12-281-7/+3
|
* style: Make Servo use a single thread-pool for layout-related tasks per-process.Emilio Cobos Álvarez2018-12-231-7/+0
| | | | | | 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.
* Disable gaol on aarch64Bastien Orivel2018-12-221-2/+12
|
* Disable gaol on arm targetsBastien Orivel2018-12-201-2/+2
|
* Disable gaol on androidBastien Orivel2018-12-201-1/+23
|
* Initial window sizes are mandatory.Josh Matthews2018-12-141-7/+6
|
* Remove redundant `.clone()`sShotaro Yamada2018-12-111-4/+2
|
* introduce a background-hang-monitor:Gregory Terzian2018-11-261-3/+28
| | | | | 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-1/+1
|
* Remove useless `use crate_name;` imports.Simon Sapin2018-11-081-1/+0
| | | | A `crate_name::foo` path always works in 2018
* Reorder importsPyfisch2018-11-061-6/+6
|
* Format remaining filesPyfisch2018-11-061-6/+7
|
* Sort `use` statementsSimon Sapin2018-11-061-2/+2
|
* `cargo fix --edition`Simon Sapin2018-11-061-2/+2
|
* Provide webrender_api::RenderApiSender to ScriptThread and DOM WindowVíctor Manuel Jáquez Leal2018-10-081-0/+1
| | | | | | | | | | | This will allow the HTMLMediaElement later to get a handle to the RenderApi for rendering video frames. At a later time, all media handling should be moved to its own thread/process that is communicated with via IPC. At that point this can be removed again. Original-patch-by: Sebastian Dröge <sebastian@centricular.com>
* Auto merge of #21559 - mandreyel:pipeline-fields-to-browsingcontext, r=cbrewsterbors-servo2018-09-131-45/+17
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Frame should store some of the data that is currently in Pipeline #14692 <!-- Please describe your changes on the following line: --> Apologies, meant to land it sooner but deadline at work got hectic. So I moved the `Pipeline::{visible, is_private, parent_info}` fields (`size` was moved earlier) to `BrowsingContext`, and renamed them where appropriate (and did some minor refactoring on the side, hope that's alright). This introduced some complications, because when a pipeline is spawned for a browsing context that does not yet exist, the browsing context won't be constructed until after pipeline has made its document active. Thus, values for the fields that used to be in `Pipeline` and are now in `BrowsingContext` could not be easily retrieved when constructing the `BrowsingContext` (since in most cases they were only available when spawning a pipeline). For this reason, I've put these fields in `SessionHistoryChange` since one is always created and added to `Constellation::pending_changes` when a new pipeline is created, so it provides an easy way to forward the necessary values to new `BrowsingContext`s. Though frankly I'm not sure I like expanding `SessionHistoryChange`'s purpose to serve as a crutch to construct browsing contexts, so a way to uncouple purposes would be to separately store the values for a to-be-created `BrowsingContext` in a collection of structs in `Constellation` and consume them when a new `BrowsingContext` is created. Here's a PoC: https://github.com/mandreyel/servo/commit/6fa2160bcc14db7ab020a65eba1473d7c36bc44d. I didn't include this by default because it introduces a little overhead. Perhaps `PendingBrowsingContextInfo` could be stored as an `Option<>` next to a `SessionHistoryChange` in `Constellation::pending_changes`? That'd uncouple the two structs but not incur any overhead. I don't think it's finished, so I've marked some areas where I need input on small matters with `TODO(mandreyel)`, but the general idea is done. I'll be sure to squash commits when no further changes need be done! --- <!-- 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 #14692. <!-- Either: --> - [x] These changes do not require tests because no new features or behaviour were introduced. <!-- 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/21559) <!-- Reviewable:end -->
| * Move Pipeline::{parent_info,visible,is_private} to BrowsingContextmandreyel2018-09-121-45/+17
| |
* | Replace mpsc with crossbeam/servo channel, update ipc-channelSimon Sapin2018-09-121-2/+2
|/ | | | Co-authored-by: Gregory Terzian <gterzian@users.noreply.github.com>
* implement opener, disowningGregory Terzian2018-08-111-0/+11
|
* Rustfmt the constellationConnor Brewster2018-07-211-112/+159
|
* Implement history stateConnor Brewster2018-04-161-3/+11
|
* Implement diff-based session historyConnor Brewster2018-04-051-4/+10
| | | | | | | | This new implementation of the session history keeps track of a single tree of browsing contexts and pipelines which represents the active entry of the session history and it keeps track of diffs between adjacent entries. This allows use to traverse across the joint session history by applying diffs to the active tree.
* constellation: Make setting up the WebGL state fallible.Emilio Cobos Álvarez2018-03-091-3/+3
| | | | | | | | | | This fixes a regression caused by the glutin update. We now are creating EGL contexts in Linux Wayland, instead of X context, so the GLContextFactory assumption of one GL back-end per platform is broken. This just works around it, for now, but in general I think not relying on available WebGL state is a good thing, and we do that already for WebVR anyway.
* remove mozbrowser codePaul Rouget2018-02-131-25/+6
|
* Update euclid, azure, skia, offscreen_gl_context, plane-split, webrenderSimon Sapin2017-12-081-2/+2
|
* Print url of recorded PWMFernando Jiménez Moreno2017-12-071-1/+2
|
* Implement DOM to textureImanol Fernandez2017-10-161-0/+1
|
* Remove usage of unstable box syntax, except in the script crateSimon Sapin2017-10-121-2/+2
| | | | | … because there’s a lot of it, and script still uses any other unstable features anyway.
* Auto merge of #18155 - ferjm:pwm.perf.timeline, r=jdmbors-servo2017-08-231-1/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Add paint metrics to Performance Timeline API - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #18111 - [X] There are tests for these changes <!-- 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/18155) <!-- Reviewable:end -->
| * Add paint metrics to Performance Timeline APIFernando Jiménez Moreno2017-08-231-1/+2
| |
* | Auto merge of #18189 - JJayet:ios_support, r=larsbergstrombors-servo2017-08-231-3/+3
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First step toward iOS Support This mostly prevents Gaol/sandboxing to be used during compilation. There are a number of issues with : `expat-sys`, `servo-freetype-sys`, `fontsan`, `heartbeats-simple-sys`, `mozjs_sys`. Also modified `components/script/dom/navigatorinfo.rs` in order to add iOS. ```rust #[cfg(target_os = "ios")] pub fn Platform() -> DOMString { DOMString::from("iOS") } ``` See here for more informations : https://github.com/servo/servo/issues/18154 --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [ ] These changes partially work on #18154 - [X] These changes do not require tests because it deals with the compile toolchain <!-- 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/18189) <!-- Reviewable:end -->
| * First step toward iOS SupportJonathan Jayet2017-08-231-3/+3
| |
* | Wait for actual paint before setting paint related metricsFernando Jiménez Moreno2017-08-221-1/+3
|/
* Revert "Auto merge of #18114 - emilio:revert-webgl-refactor, r=nox"Anthony Ramine2017-08-161-4/+12
| | | | | This reverts commit 4d10d39e8fe841c5fe2ac58da2daaa13c10c140e, reversing changes made to ee94e2b7c0bd327abe8f9545b2a1f792f67a2bdd.
* Revert "Auto merge of #17891 - MortimerGoro:webgl_move, r=glennw,emilio"Emilio Cobos Álvarez2017-08-161-12/+4
| | | | | This reverts commit 90f55ea4580e2a15f7d70d0491444f18b972d450, reversing changes made to 2e60b27a2186a8cba4b952960155dfcf3f47d7db.
* Improve WebGL architecture.Imanol Fernandez2017-08-151-4/+12
|
* make use of ScriptToConstellationChanPaul Rouget2017-08-151-8/+8
|
* WR multi-document updateDzmitry Malyshau2017-07-281-0/+7
|
* Backed out changeset c424ad1c5f94 for build failures a=backout CLOSED TREEGecko Backout2017-07-281-7/+0
| | | | Backs out https://github.com/servo/servo/pull/17892
* WR multi-document updateDzmitry Malyshau2017-07-281-0/+7
|
* Fixed scaling artefacts in paint worklets caused by zoom and hidpi.Alan Jeffrey2017-07-201-1/+2
|
* Implement basic Time To First Paint and First Contentful Paint PWMsFernando Jiménez Moreno2017-07-201-2/+5
|
* constellation: Remove unused title attribute from Pipeline struct (#15714)Omar Akkila2017-07-191-4/+0
|
* Upgrade to the latest version of WebRenderMartin Robinson2017-07-131-3/+3
|
* UntrySimon Sapin2017-06-181-2/+2
|
* Bump euclid to 0.14.Nicolas Silva2017-06-141-2/+1
|