Martin Robinson
474033c39f
Simplify the display list slightly
...
Now that WebRender uses an Iframe display item, we do not need the Noop
item for the non-WebRender path. We can simply reuse the Iframe display
item. Also remove the layer_id member from the LayeredItem struct, as
it is unused.
2016-03-10 14:33:22 -08:00
Anthony Ramine
b66d190166
Bump url to 0.5.7
2016-03-09 20:15:16 +01:00
Anthony Ramine
10e19e06a7
Bump string_cache to 0.2.11
2016-03-09 20:15:15 +01:00
Anthony Ramine
f89c321141
Bump euclid to 0.6.4
2016-03-09 20:15:11 +01:00
Anthony Ramine
7771f28a22
Bump core-text to 1.1
2016-03-09 20:14:37 +01:00
Anthony Ramine
5720c76816
Bump app_units to 0.2.3
2016-03-09 20:14:35 +01:00
Jack Moffitt
f7aa6a32e9
Unrevert the fix for hit testing through shadows
...
This was originally #9428 but got accidentally reverted during rebase in
Fixes #9865 .
2016-03-03 17:04:55 -07:00
bors-servo
55fc48e4c4
Auto merge of #9843 - pcwalton:optimize-flat-display-lists, r=mrobinson
...
Optimize flat display lists
Flat display lists were a 2x regression on the spheres demo. This patch series fixes that.
See the individual commits for more details.
r? @mrobinson
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9843 )
<!-- Reviewable:end -->
2016-03-04 02:49:04 +05:30
Patrick Walton
dd5c574d7f
gfx: Switch offsets to an FNV hasher.
...
SipHash traffic was showing up high in the profile.
Unfortunately, this necessitated a manual implementation of the serde
traits.
2016-03-03 13:09:53 -08:00
Patrick Walton
940bff1f9c
gfx: Stop cloning clipping regions so much.
...
Clipping regions can contain vectors and so can be expensive to copy.
2016-03-03 13:09:50 -08:00
Patrick Walton
4233e0f163
gfx: Box stacking contexts to minimize memmove
traffic.
...
`memmove` was showing up high in the profile when concatenating and
shorting display lists. This change drastically reduces the `memmove`
cost in exchange for some minor additional allocation cost.
2016-03-03 13:09:48 -08:00
Corey Farwell
75353e19a7
Indicate components should not be published to crates.io.
...
http://doc.crates.io/manifest.html#the-publish--field-optional
2016-03-03 15:04:44 -05:00
Martin Robinson
e7019f2721
Flatten display list structure
...
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.
2016-03-01 14:50:07 -08:00
Guillaume Gomez
02095cf550
Remove util::vec::Comparator
2016-03-01 14:28:16 +01:00
Jonathan Schuster
205336bf2e
Move util::range into its own crate
2016-02-25 21:06:10 -05:00
Anthony Ramine
cc030df36e
Make use of From<String> for Atom
2016-02-24 17:52:13 +01:00
Anthony Ramine
50af73d1a2
Bump string_cache to 0.2.10
2016-02-24 16:47:10 +01:00
Corey Farwell
83b22fd97f
Update webrender crate refs to reflect ownership change.
...
Also updated the 'webrender' ref to point to the latest commit.
2016-02-23 19:49:50 -05:00
Glenn Watson
c0531c312f
Add WebRender integration to Servo.
...
WebRender is an experimental GPU accelerated rendering backend for Servo.
The WebRender backend can be specified by running Servo with the -w option (otherwise the default rendering backend will be used).
WebRender has many bugs, and missing features - but it is usable to browse most websites - please report any WebRender specific rendering bugs you encounter!
2016-02-18 10:35:29 +10:00
Anthony Ramine
290694b27e
Move util::cursor to style_traits
2016-02-16 00:50:01 +01:00
Anthony Ramine
966da85791
Derive HeapSizeOf for GradientDisplayItem
2016-02-13 11:13:20 +01:00
Anthony Ramine
55dcee94be
Bump heapsize to 0.3
2016-02-13 11:13:19 +01:00
Anthony Ramine
680c817d53
Bump url to 0.5.5
2016-02-13 00:08:12 +01:00
Anthony Ramine
874fa5595f
Bump euclid to 0.6.2
2016-02-13 00:08:08 +01:00
Anthony Ramine
e2d9734609
Bump string_cache to 0.2.9
2016-02-13 00:08:06 +01:00
Anthony Ramine
2d6ac4da97
Bump app_units to 0.2.1
2016-02-13 00:08:05 +01:00
Anthony Ramine
c6262c368f
Reorder dependencies in some Cargo.toml files
2016-02-13 00:08:04 +01:00
bors-servo
87aaa5ffe0
Auto merge of #9523 - ruud-v-a:hasher, r=Wafflespeanut
...
Upgrade to new Hasher API
This fixes #9494 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9523 )
<!-- Reviewable:end -->
2016-02-05 07:32:13 +05:30
bors-servo
2a6707ce58
Auto merge of #9532 - nox:dedup-heapsize, r=Manishearth
...
Say farewell to in-tree HeapSizeOf
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9532 )
<!-- Reviewable:end -->
2016-02-05 03:40:36 +05:30
Anthony Ramine
cb5cd8d881
Say farewell to in-tree HeapSizeOf
2016-02-04 22:03:32 +01:00
Anthony Ramine
1da19170d2
Bump string_cache to 0.2.7
2016-02-04 14:10:02 +01:00
bors-servo
647637193d
Auto merge of #9512 - timvandermeij:feature-cleanup, r=frewsxcv
...
Remove old features 'clone_from_slice' and 'convert'
Fixes #9495 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9512 )
<!-- Reviewable:end -->
2016-02-04 18:11:52 +05:30
Ms2ger
2ea9f2d028
Update Euclid.
2016-02-04 11:02:09 +01:00
Ruud van Asseldonk
95be0b9a25
Upgrade to new Hasher API
2016-02-03 20:06:39 +01:00
bors-servo
64ad9e17d9
Auto merge of #9498 - KiChjang:update-url, r=nox
...
Update rust-url
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.svg " height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9498 )
<!-- Reviewable:end -->
2016-02-03 11:38:51 +05:30
Keith Yeung
9b23839394
Update rust-url
2016-02-02 20:04:01 -05:00
Tim van der Meij
a9472ede64
Remove old features 'clone_from_slice' and 'convert'
2016-02-03 00:55:13 +01:00
Ms2ger
2fd53c266e
Use the select macro on the paint thread.
2016-02-01 17:40:58 +01:00
Patrick Walton
32a68a43ec
Make hit tests against box shadows always fail.
...
Closes #9268 .
2016-01-25 16:30:04 -08:00
Lars Bergstrom
e9d9d1d9e9
Cargo.lock updates
2016-01-22 19:28:46 -06:00
Lars Bergstrom
095658e098
Cargo updates and small workqueue change
2016-01-20 08:38:27 -06:00
Vladimir Vukicevic
025ed57c04
win32: use fontconfig/freetype on windows as well (for now)
2016-01-20 08:38:20 -06:00
bors-servo
380541bd48
Auto merge of #9352 - mattkuo:cleanup-private-types, r=nox
...
Convert private types to public
fixes #9347
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9352 )
<!-- Reviewable:end -->
2016-01-18 01:58:01 +05:30
Matthew Kuo
8ecc120211
changed gfx private types to public
2016-01-17 04:48:32 -08:00
Brandon Fairchild
dce7c7bb69
Remove multiple unused imports in gfx
...
Fixes #9342 .
2016-01-16 14:16:03 -05:00
bors-servo
3c6e16c9ad
Auto merge of #9289 - mskrzypkows:move_FrameTreeId, r=KiChjang
...
Move FrameTreeId type to gfx_traits #9221
Fixes #9221 .
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png " height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9289 )
<!-- Reviewable:end -->
2016-01-14 02:06:47 +05:30
Maciej Skrzypkowski
e52c53a7f2
Move FrameTreeId type to gfx_traits #9221
2016-01-13 13:36:28 +01:00
Ms2ger
86d3c576f2
Remove some unused extern crates.
2016-01-13 09:37:28 +01:00
John DeSilva
f32995543d
Move Epoch to gfx_traits
...
Resolves #9222 . Moved Epoch from components/msg/compositor_msg to
components/gfx_traits/lib. Updated use statements to reflect the move.
2016-01-10 17:36:52 -05:00
rohan.prinja
1f02c4ebbb
task -> thread
2016-01-10 17:58:13 +09:00