aboutsummaryrefslogtreecommitdiffstats
path: root/components/gfx_traits
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused dependencySimon Sapin2016-11-032-2/+0
|
* Use heapsize_derive instead of heapsize_pluginSimon Sapin2016-11-032-2/+3
|
* Remove gfx_traits::color.Ms2ger2016-10-312-42/+0
|
* Use a new id type for tracking scrolling areasMartin Robinson2016-10-301-0/+52
| | | | | | This is a step in disassociating scrolling areas from stacking contexts. Now scroll areas are defined by unique ids, which means that in the future stacking context will be able to contain more than one.
* Remove concept of Layers from ServoMartin Robinson2016-10-211-51/+0
| | | | | | | | 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-183-96/+14
| | | | | | | | | | | | | | 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.
* Correct the unicode codes used for tree printingMartin Robinson2016-10-111-6/+6
| | | | | These were converted from inline UTF-8 to escape sequences, but the sequences should be in hexadecimal instead of decimal.
* Update to Rust 1.14.0-nightly (19ac57926 2016-10-08)Anthony Ramine2016-10-092-3/+5
| | | | A cargo bump and a switch to serde_derive is needed to do this rustup.
* Remove non-ASCII chars from canvas dependencyAnthony Ramine2016-10-091-7/+7
| | | | Trying to fix an assertion on Windows in recent nightlies, blindy.
* Update euclid to 0.10.1Anthony Ramine2016-08-211-1/+1
|
* Update serde to 0.8 (fixes #12659)Anthony Ramine2016-08-121-3/+3
|
* Update to euclid 0.8Martin Robinson2016-08-121-1/+1
|
* Update Rust to 1.12.0-nightly (9316ae515 2016-07-24)Eduard Burtescu2016-07-261-2/+2
|
* All our Cargo.toml files should contain an MPL-2.0 license field.Alan Jeffrey2016-07-141-0/+1
|
* Move util::print_tree to gfx_traitsAnthony Ramine2016-07-042-0/+66
|
* Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23)Anthony Ramine2016-06-271-3/+3
| | | | | I also properly bump any dependency related to the serde_macros removal from webrender_traits
* Reorder dependenciesAnthony Ramine2016-06-261-3/+3
|
* Move ChromeToPaintMsg to gfx_traits.Ms2ger2016-06-242-0/+20
| | | | This allows compositing not to depend on gfx.
* Move ByteIndex to gfx_traits.Ms2ger2016-06-202-0/+13
|
* script: When using WebRender, keep the DOM-side scroll positions forPatrick Walton2016-06-101-5/+56
| | | | | | | elements with `overflow: scroll` up to date, and take them into account when doing hit testing. Closes #11648.
* script: Keep the DOM-side viewport up to date when scrolling happens inPatrick Walton2016-05-311-0/+55
| | | | | | | | | | | | | | | WebRender. This happens asynchronously, just as it does in non-WebRender mode. This functionality is a prerequisite for doing proper display-list-based hit testing in WebRender, since it moves the scroll offsets into Servo (and, specifically, into the script thread, enabling iframe event forwarding) instead of keeping them private to WebRender. Requires servo/webrender_traits#55 and servo/webrender#277. Partially addresses #11108.
* Report use statements that use {} with only one entryCullen Rhodes2016-05-271-1/+1
|
* Simplify TOML syntaxSimon Sapin2016-04-261-14/+4
| | | | | | | | * Sections like `[dependencies.foo]` can be entries in a `[dependencies]` section with the `{key = value}` syntax. * Per-target dependencies can be expressed with more general `cfg(…)` conditions instead of exact target triples: https://github.com/rust-lang/cargo/pull/2328
* Auto merge of #10706 - zwn:unused-extern-crates, r=noxbors-servo2016-04-222-4/+0
|\ | | | | | | | | | | | | | | | | | | | | Turn on unused-extern-crates warning. As discussed in #9256. It should solve second half of the issue. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10706) <!-- Reviewable:end -->
| * Remove references to unused crates.Zbynek Winkler2016-04-222-4/+0
| | | | | | | | The cleanup is based on info from using "-W unused-extern-crates".
* | Added a dedicated panic channel.Alan Jeffrey2016-04-191-13/+1
|/
* Updated euclid to version 0.6.5Peter2016-04-172-4/+4
| | | | And updated existing usages of Matrix4 to use Matrix4D<T>
* Added panic message to failures.Alan Jeffrey2016-04-131-0/+6
|
* layout: Allow non-absolutely-positioned elements with `overflow: scroll`Patrick Walton2016-04-061-0/+4
| | | | | | | | | | | | set to be scrolled. This makes them establish stacking contexts, which is a CSS 2.1 spec violation. However, we were already violating the spec here for absolutely-positioned elements with `overflow: scroll`. It will probably be easier to fix this spec violation once we either switch entirely to WebRender or we have multiple layers per stacking context. Closes #2742.
* use self.0 instead of destructing single item tuple structsfaineance2016-03-271-4/+2
|
* Deny unsafe code in more crates.Ms2ger2016-03-181-0/+2
|
* Bump serde to 0.7Anthony Ramine2016-03-171-2/+2
|
* Bump euclid to 0.6.4Anthony Ramine2016-03-091-1/+1
|
* Indicate components should not be published to crates.io.Corey Farwell2016-03-031-0/+1
| | | | http://doc.crates.io/manifest.html#the-publish--field-optional
* Flatten display list structureMartin Robinson2016-03-011-1/+6
| | | | | | | | | | | | | | | | | | | | | | | Instead of producing a tree of stacking contexts, display list generation now produces a flat list of display items and a tree of stacking contexts. This will eventually allow display list construction to produce and modify WebRender vertex buffers directly, removing the overhead of display list conversion. This change also moves layerization of the display list to the paint thread, since it isn't currently useful for WebRender. To accomplish this, display list generation now takes three passes of the flow tree: 1. Calculation of absolute positions. 2. Collection of a tree of stacking contexts. 3. Creation of a list of display items. After collection of display items, they are sorted based upon the index of their parent stacking contexts and their position in CSS 2.1 Appendeix E stacking order. This is a big change, but it actually simplifies display list generation.
* Bump heapsize to 0.3Anthony Ramine2016-02-131-1/+1
|
* Bump euclid to 0.6.2Anthony Ramine2016-02-131-1/+1
|
* Say farewell to in-tree HeapSizeOfAnthony Ramine2016-02-042-1/+4
|
* Update Euclid.Ms2ger2016-02-041-1/+1
|
* Move FrameTreeId type to gfx_traits #9221Maciej Skrzypkowski2016-01-132-1/+11
|
* Move Epoch to gfx_traitsJohn DeSilva2016-01-102-1/+13
| | | | | Resolves #9222. Moved Epoch from components/msg/compositor_msg to components/gfx_traits/lib. Updated use statements to reflect the move.
* Auto merge of #9236 - tgummerer:fix-9220, r=Wafflespeanutbors-servo2016-01-101-1/+12
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Move LayerType enum to gfx_trait The LayerType enum is only used in gfx_traits and layout, so it shouldn't be defined in msg. Move the definition to gfx_traits instead. Fixes #9220 <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9236) <!-- Reviewable:end -->
| * Move LayerType enum to gfx_traitThomas Gummerer2016-01-101-1/+12
| | | | | | | | | | | | | | | | The LayerType enum is only used in gfx_traits and layout, so it shouldn't be defined in msg. Move the definition to gfx_traits instead. Fixes #9220
* | task -> threadrohan.prinja2016-01-101-1/+1
|/
* Move LayerKind and ScrollPolicy enums to gfx_traitsBrandon Fairchild2015-12-203-3/+103
| | | | | | This also moves LayerId and LayerProperties to gfx_traits. Fixes #8836.
* Move PaintMsg enum to gfx_traits #8844Maciej Skrzypkowski2015-12-182-0/+14
|
* Move PaintListener to gfx_traits, Fixes #8834Tomas Cernaj2015-12-113-0/+47
| | | | Adding layers and msg dependency to gfx_traits.
* Update euclid to 0.3Manish Goregaokar2015-10-281-0/+1
|
* Layerize canvasecoal952015-05-203-0/+61
Note that this keeps using readback right now, `NativeSurface` painting will be implemented soon. Also see https://github.com/servo/servo/issues/6142