aboutsummaryrefslogtreecommitdiffstats
path: root/components/script_layout_interface/message.rs
Commit message (Collapse)AuthorAgeFilesLines
...
* Switch to using WebRender hit testingMartin Robinson2017-10-171-11/+15
| | | | | | | | This trades quite a bit of complicated code in Servo for few more messages and a significant performance improvement. In particular, WebRender can search the entire display list at once instead of ping-ponging down the pipeline tree. This allows us to send mouse events to the correct pipeline immediately.
* TickAnimations should create a display listMartin Robinson2017-10-031-2/+3
| | | | | | This is a regression from the removal of ReflowQueryType. Fixes #18701.
* Combine ReflowGoal and ReflowQueryTypeMartin Robinson2017-09-301-7/+36
| | | | | This simplifies the logic in the layout_thread and makes it clearer which types of reflows generate display lists and cause display updates.
* style: Replicate the list of stylesheets on the layout thread.Emilio Cobos Álvarez2017-08-181-4/+7
| | | | | | This is a patch that unifies a bit how Gecko and Stylo stylesheets work, in order to be able to eventually move the stylesheets into the stylist, and be able to incrementally update the invalidation map.
* Speculatively evaluate paint functions during style.Alan Jeffrey2017-07-311-1/+1
|
* Implement basic Time To First Paint and First Contentful Paint PWMsFernando Jiménez Moreno2017-07-201-0/+5
|
* Replace all uses of the style::stylearc alias with servo_arc.Michael Partheil2017-07-191-2/+3
| | | | | | The alias is left there temporarilly and will be removed completely in a later commit where also components/style/gecko/generated/structs_{debug|release}.rs are re-generated (they still use the old alias).
* Implemented paint worklet properties.Alan Jeffrey2017-07-111-2/+3
|
* Bump euclid to 0.14.Nicolas Silva2017-06-141-2/+1
|
* Implemented the plumbing for paint worklets.Alan Jeffrey2017-06-071-0/+4
|
* Properly handle scroll offsets in hit testingMartin Robinson2017-05-161-5/+9
| | | | | | | | | | | | Scroll roots are no longer nested containers holding items, so instead we need to track the offsets of each, carefully handling fixed position items and stacking contexts that create new reference frames. Additionally, we remove the complexity of the pre-computed page scroll offset, instead opting to send script scrolls to the layout task in order to more quickly have a ScrollState there that matches the script's idea of the scroll world. Fixes #16405.
* Send information to script as part of finishing layout.Josh Matthews2017-05-151-9/+12
| | | | | | | This avoids the need for multiple layout RPC operations immediately following return of control to script. This means that layout and script can continue to operate in parallel at this point, rather than one potentially waiting on the shared mutex to be unlocked.
* Fix up script and layout.Bobby Holley2017-05-021-2/+2
|
* Make Stylist::quirks_mode hold a QuirksModeAnthony Ramine2017-04-261-3/+3
|
* Make image cache per-document rather than globalFernando Jiménez Moreno2017-03-271-2/+2
|
* Remove never-sent ReflowWithNewlyLoadedWebFont message, fix #16026Simon Sapin2017-03-191-3/+0
|
* Trigger reflow on document.elementsFromPointFernando Jiménez Moreno2017-03-021-0/+1
|
* Position insertion point in input field with mouseFlorian Merz2017-01-111-0/+1
|
* Use PropertyId instead of Atom for CSSStyleDeclaration::get_computed_styleSimon Sapin2016-12-091-2/+2
|
* Auto merge of #12862 - servo:layout-new, r=emiliobors-servo2016-12-071-0/+2
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | added dom obj counting to decide sequential/parallel layout (#10110) This is a rebased version of #11713 --- - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #10110 (github issue number if applicable). - [X] There are no tests for these changes because it's an optimization with no visible behavioral 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/12862) <!-- Reviewable:end -->
| * added dom obj counting to decide sequential/parallel layout (#10110)ddh2016-12-051-0/+2
| |
* | Auto merge of #14367 - mrobinson:scroll-fragment-point, r=pcwaltonbors-servo2016-12-061-0/+1
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Reimplement scrolling to fragments <!-- 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 #13736, #10753 (github issue number if applicable). <!-- Either: --> - [x] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> This reimplemntation of the feature uses ScrollRootIds to scroll particular scrollable areas of the page. Fixes #13736. Fixes #10753. <!-- 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/14367) <!-- Reviewable:end -->
| * Reimplement scrolling to fragmentsMartin Robinson2016-11-291-0/+1
| | | | | | | | | | | | | | | | This reimplemntation of the feature uses ScrollRootIds to scroll particular scrollable areas of the page. Fixes #13736. Fixes #10753.
* | Make the layout content process shutdown sender optional.Ms2ger2016-11-301-1/+1
|/
* Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal.Bobby Holley2016-11-241-1/+1
| | | | MozReview-Commit-ID: 7wH5XcILVmX
* Rename selector_impl.rs to selector_parser.rsSimon Sapin2016-11-201-1/+1
| | | | This makes it consistent with an upcoming update of the selectors crate.
* Urlmageddon: Use refcounted urls more often.Emilio Cobos Álvarez2016-11-171-3/+3
|
* Update to string-cache 0.3Simon Sapin2016-11-031-1/+1
|
* Remove concept of Layers from ServoMartin Robinson2016-10-211-6/+1
| | | | | | | | Layers were a feature of the legacy drawing path. If we re-add them at some point, it probably makes more sense to make them a product of display list inspection. This change also remove a bunch of dead painting code.
* Remove old rendering backend.Glenn Watson2016-10-181-2/+0
| | | | | | | | | | | | | | This removes paint threads, rust-layers dependency, and changes optional webrender types to be required. The use_webrender option has been removed, however I've left the "-w" command line option in place so that wpt runner can continue to pass that. Once it's removed from there we can also remove the -w option. Once this stage is complete, it should be fine to change the display list building code to generate webrender display lists directly and avoid the conversion step.
* Reorder `use` statementsUK9922016-09-091-1/+1
|
* layout: Take into account the client point for fixed positioned stacking ↵Emilio Cobos Álvarez2016-08-081-1/+1
| | | | contexts.
* layout: Expand animation test mode to support not force-ticking layout.Emilio Cobos Álvarez2016-08-051-2/+3
|
* Hoist retrieval of layout_threads from opts into ConstellationDirkjan Ochtman2016-07-241-0/+1
|
* Removed panic channel, replaced by integrated logging and issue reporting.Alan Jeffrey2016-07-201-2/+1
|
* style: Add a new Timer structure to the shared style context, and basic ↵Emilio Cobos Álvarez2016-07-201-0/+5
| | | | infrastructure for controlling animations.
* Remove some type aliases that are now just re-exports.Simon Sapin2016-07-201-1/+1
|
* Move WindowSizeData to script_traits.Ms2ger2016-07-051-2/+2
|
* Move the remainder of layout_interface into script_layout_interface.Ms2ger2016-06-201-0/+148