Commit graph

10837 commits

Author SHA1 Message Date
bors-servo
ceaca2e288 Auto merge of #6357 - ecoal95:more-webgl, r=pcwalton
See the commit descriptions for more details. 

Blocked on https://github.com/servo/gleam/pull/24

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6357)
<!-- Reviewable:end -->
2015-06-13 15:05:08 -06:00
ecoal95
eb502bdbb8 webgl: Add drawArrays reftest
I also removed flackyness of the clearColor test, hopefully it's fixed now
that a lot of race conditions have disappeared thanks to @glennw.
2015-06-13 23:03:39 +02:00
ecoal95
ff568ecc90 webgl: Add multiple WebGL calls (activeTexture + blend*)
* activeTexture
* blendColor
* blendFunc
* blendFuncSeparate
* blendEquation
* blendEquationSeparate

Blocked on gleam.
2015-06-13 23:03:38 +02:00
ecoal95
c33776a600 webgl: Uncomment WebGLRenderingContext constants 2015-06-13 23:03:38 +02:00
ecoal95
b0d04765ae webgl: Add WebGLActiveInfo and WebGLShaderPrecisionFormat interfaces 2015-06-13 23:03:37 +02:00
ecoal95
ee192793d5 Update gleam to 0108e2a6c7ca4dc471bfb94ba1ed368335e4da28 2015-06-13 23:03:36 +02:00
bors-servo
cfcd8589d0 Auto merge of #6349 - frewsxcv:geom-api-changes, r=pcwalton
Shouldn't be merged until these have merged:

https://github.com/servo/rust-geom/pull/81

https://github.com/ecoal95/rust-offscreen-rendering-context/pull/13

https://github.com/servo/rust-layers/pull/178

~~I'll also need to update the Cargo lock files once they merge~~

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6349)
<!-- Reviewable:end -->
2015-06-13 13:52:07 -06:00
Corey Farwell
5c408d2be9 rust-geom API changes
https://github.com/servo/rust-geom/pull/81
2015-06-13 12:28:21 -07:00
bors-servo
a9aa50683f Auto merge of #6370 - Ms2ger:locks, r=mbrubeck
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6370)
<!-- Reviewable:end -->
2015-06-13 10:49:00 -06:00
Ms2ger
a880bc5230 Update the Cargo.locks. 2015-06-13 18:41:59 +02:00
bors-servo
434183c944 Auto merge of #6366 - eddyb:preserve-ua-on-redirect, r=Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6366)
<!-- Reviewable:end -->
2015-06-13 03:16:38 -06:00
Eduard Burtescu
21bb8bf8ad Update "preserve UserAgent on redirect" test to be browser-agnostic. 2015-06-13 12:14:37 +03:00
bors-servo
b0a80de92b Auto merge of #6356 - ecoal95:webgl-android, r=jdm
This just bumps `offscreen_gl_context`, which added egl support
recently.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6356)
<!-- Reviewable:end -->
2015-06-13 02:31:33 -06:00
bors-servo
9474e62d38 Auto merge of #6157 - hyowon:canvas_pattern_fill, r=nox
Issue #6056
Depends on servo/rust-azure#160

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6157)
<!-- Reviewable:end -->
2015-06-13 01:49:50 -06:00
bors-servo
3c1b8041d4 Auto merge of #6362 - Sumith1896:servobuildexample, r=Manishearth
Entries in the servobuild.example file that are not defaults were
commented out, defaults were mentioned in comments.
Fix to https://github.com/servo/servo/issues/6361

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6362)
<!-- Reviewable:end -->
2015-06-12 23:39:01 -06:00
Hyowon Kim
00240e5550 Implementation of pattern fill style for canvas. 2015-06-13 14:35:13 +09:00
bors-servo
c3d242544e Auto merge of #6308 - pcwalton:debloat-partialeq, r=nox
This makes the difference between selector matching scaling on the ARM
Cortex-A9 and not, because the auto-derived `PartialEq` implementation
blows out the 32KB I-cache. With this change, there is a 2x improvement
in selector matching over sequential when using all 8 cores. (More work
needs to be done; this is a start.)

r? any DOM expert

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6308)
<!-- Reviewable:end -->
2015-06-12 21:04:05 -06:00
bors-servo
8063e34235 Auto merge of #6302 - eddyb:preserve-ua-on-redirect, r=nox
This unblocks facebook.com's feed, after a few months of it being accidentally broken.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6302)
<!-- Reviewable:end -->
2015-06-12 19:51:26 -06:00
bors-servo
f03f584895 Auto merge of #6334 - nnethercote:report-local-contexts, r=pcwalton
Passing a function that measures TLS to WorkQueue is a bit weird, but I can't see how else to measure that data.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6334)
<!-- Reviewable:end -->
2015-06-12 18:42:32 -06:00
ecoal95
d6e5fb9d0e Add WebGL android support
This just bumps `offscreen_gl_context`, which added egl support
recently.

Also bumps `egl` with a needed patch.
2015-06-13 01:18:40 +02:00
bors-servo
836ac8a0b6 Auto merge of #6347 - pcwalton:chunking, r=mbrubeck
This reduces the overhead of the work-stealing traversal function
significantly. It's especially important on ARM, where memory barriers are
expensive.

r? @mbrubeck

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6347)
<!-- Reviewable:end -->
2015-06-12 17:14:23 -06:00
Patrick Walton
732fd9e050 layout: Divide DOM nodes and flows into chunks, and perform work stealing over
those instead of working on nodes one-by-one.

This reduces the overhead of the work-stealing traversal function
significantly. It's especially important on ARM, where memory barriers are
expensive.
2015-06-12 16:07:39 -07:00
Sumith
0e657b2569 Entries in servobuild.example file
Entries in the servobuild.example file that are not defaults were
commented out, defaults were mentioned in comments
2015-06-13 03:34:54 +05:30
Patrick Walton
8c210e1a27 script: Make PartialEq on element type IDs generate a lot less code.
This makes the difference between selector matching scaling on the ARM
Cortex-A9 and not, because the auto-derived `PartialEq` implementation
blows out the 32KB I-cache. With this change, there is a 2x improvement
in selector matching over sequential when using all 8 cores. (More work
needs to be done; this is a start.)
2015-06-12 15:00:02 -07:00
bors-servo
2168ec3c96 Auto merge of #6340 - aweinstock314:reduce-textinput-allocations, r=Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6340)
<!-- Reviewable:end -->
2015-06-12 15:00:37 -06:00
Eduard Burtescu
9a87f830fc Preserve UserAgent header on redirect. 2015-06-12 21:44:22 +03:00
bors-servo
c8c7bd900d Auto merge of #6354 - mmatyas:canvas_remdep, r=Ms2ger
It seems @hyowon uploaded her canvas shadow patch faster than me; I've handled the color dependency a bit different, this way `gfx_traits` is not required by the script module.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6354)
<!-- Reviewable:end -->
2015-06-12 10:22:54 -06:00
bors-servo
b87df12ac2 Auto merge of #6343 - jgraham:css_disable_test, r=Ms2ger
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6343)
<!-- Reviewable:end -->
2015-06-12 09:40:52 -06:00
James Graham
2439ce6ca7 Disable unstable CSS test 2015-06-12 16:03:24 +01:00
bors-servo
cf03352d7c Auto merge of #6339 - michaelwu:let-var-replacement, r=jgraham
let can't be used without specifying a newer JS version at the moment.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6339)
<!-- Reviewable:end -->
2015-06-12 08:57:56 -06:00
bors-servo
9ea50957fc Auto merge of #6345 - pcwalton:workqueue-arm-optzns, r=glennw
Improves scaling on multicore ARM devices.

r? @glennw

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6345)
<!-- Reviewable:end -->
2015-06-12 07:28:19 -06:00
bors-servo
5b318d53e2 Auto merge of #6348 - nox:azure, r=Manishearth
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6348)
<!-- Reviewable:end -->
2015-06-12 05:49:32 -06:00
Mátyás Mustoha
3ae64fe739 Remove gfx_traits from the dependencies of [script]. 2015-06-12 12:59:46 +02:00
bors-servo
b9d53a2950 Auto merge of #6346 - nnethercote:improve-mem-unit-testing, r=Manishearth
r? @Manishearth

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6346)
<!-- Reviewable:end -->
2015-06-12 04:08:53 -06:00
bors-servo
f163f2bf0d Auto merge of #6337 - hyowon:shadow_attrs, r=nox
The first step of the implementation for shadows in canvas.
r? @nox @jdm 
cc @yichoi

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6337)
<!-- Reviewable:end -->
2015-06-12 03:27:07 -06:00
bors-servo
85d839fb5c Auto merge of #6353 - servo:revert, r=Ms2ger
This reverts commit 877c369e0b.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6353)
<!-- Reviewable:end -->
2015-06-12 02:44:37 -06:00
Ms2ger
d9995d9541 Revert "Don't try to connect to "ws://"+location.host+"/" in WebSocket tests."
This reverts commit 61a9f9d7d4.
2015-06-12 10:43:33 +02:00
Ms2ger
2212cacef2 Revert "Remove the SCHEME_AND_DOMAIN constant."
This reverts commit 8ddb9cfcb6.
2015-06-12 10:43:19 +02:00
Ms2ger
230c4201f3 Revert "WebSocket constructor should not panic"
This reverts commit 877c369e0b.
2015-06-12 09:40:57 +02:00
Hyowon Kim
473afdb196 Add attributes for canvas shadows. 2015-06-12 09:40:00 +09:00
Anthony Ramine
08415391f6 Update azure to b9bb83c733507f3f57e2c334499f38432056e26c 2015-06-12 01:37:10 +02:00
Nicholas Nethercote
ab59a201f8 Improve unit testing of util::mem. 2015-06-11 15:23:27 -07:00
Patrick Walton
a063fdde73 util: Reduce memory barriers and integer divisions in the work queue.
Improves scaling on multicore ARM devices.
2015-06-11 15:07:16 -07:00
jgraham
c8f322b267 Merge pull request #6344 from Ms2ger/ws-tests
Fix WebSocket test issues.
2015-06-11 20:41:41 +01:00
Ms2ger
8ddb9cfcb6 Remove the SCHEME_AND_DOMAIN constant.
All its users are connecting to port 80, which is not typically under the
control of the wpt server.
2015-06-11 21:25:08 +02:00
Ms2ger
61a9f9d7d4 Don't try to connect to "ws://"+location.host+"/" in WebSocket tests.
This will connect on port 80, which is not typically under the control of the
wpt server.
2015-06-11 21:16:57 +02:00
bors-servo
31b8384b93 Auto merge of #6341 - jgraham:css_update_1010, r=larsbergstrom
…36d7b389f3e6ab

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6341)
<!-- Reviewable:end -->
2015-06-11 11:12:33 -06:00
James Graham
8bd5ccb82b Update CSS tests expected data to revision 31d63cc79bd4c929ed582229e936d7b389f3e6ab 2015-06-11 17:57:53 +01:00
Avi Weinstock
b1486720e9 Remove some unnecessary allocations in text input handling. 2015-06-11 12:50:40 -04:00
Michael Wu
8aa026e741 Switch from let to var in mozilla wpt tests
let can't be used without specifying a newer JS version at the moment.
2015-06-11 12:10:30 -04:00