Commit graph

7042 commits

Author SHA1 Message Date
Josh Matthews
944d1d1f29 webgl: Check internal format of textures when determining attachment completeness. 2018-09-10 15:56:16 -04:00
Josh Matthews
d179435eab webgl: Ensure that framebuffers have a color attachment before reading or writing. 2018-09-10 15:56:15 -04:00
Josh Matthews
4482ccc52d Enable wasm tests. 2018-09-10 12:46:24 -04:00
WPT Sync Bot
968ce5b5b3 Update web-platform-tests to revision 9614def367ae8af8247142c34b00f755863d2fbb 2018-09-09 23:02:49 -04:00
bors-servo
041d0e36a4
Auto merge of #21649 - servo-wpt-sync:wpt_update_08-09-2018, r=jdm
Sync WPT with upstream (08-09-2018)

Automated downstream sync of changes from upstream as of 08-09-2018.
[no-wpt-sync]

<!-- 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/21649)
<!-- Reviewable:end -->
2018-09-09 15:20:18 -04:00
Anthony Ramine
6d3609dbe8 Fix the UNSIGNED_SHORT_4_4_4_4 case of premultiply_pixels 2018-09-09 12:22:01 +02:00
Anthony Ramine
d8b7394fa3 Fix the UNSIGNED_SHORT_5_5_5_1 case of premultiply_pixels 2018-09-09 12:21:56 +02:00
Anthony Ramine
e61c7b757f Fix the LUMINANCE of rgba8_image_to_tex_image_data
The internal format and format values match, thus the canvas or image input
must be interpreted as already in LUMINANCE format.
2018-09-09 12:21:54 +02:00
Anthony Ramine
9a362391d5 Fix the LUMINANCE_ALPHA case of rgba8_image_to_tex_image_data
The internal format and format values match, thus the canvas or image input
must be interpreted as already in LUMINANCE_ALPHA format.
2018-09-09 12:21:54 +02:00
WPT Sync Bot
f708edc5ea Update web-platform-tests to revision 86579034357501943927f3dc4abf75d76c477383 2018-09-08 22:57:54 -04:00
WPT Sync Bot
4ae3d09ff3 Update web-platform-tests to revision 9a5d71b326166e12784bdd9d161772e20f87c1fd 2018-09-07 23:22:54 -04:00
bors-servo
8164c9d4cf
Auto merge of #21633 - ferjm:wpt.certs, r=Manishearth
Add Web Platform Tests root CA

- [X] `./mach build -d` does not report any errors
- [X] `./mach test-tidy` does not report any errors

This allows running the WPT suite locally. https://github.com/web-platform-tests/wpt#trusting-root-ca

<!-- 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/21633)
<!-- Reviewable:end -->
2018-09-07 05:09:01 -04:00
Fernando Jiménez Moreno
773881756e Add Web Platform Tests root CA 2018-09-07 10:57:55 +02:00
WPT Sync Bot
560e025ce7 Update web-platform-tests to revision 9d5d9aa80785d9726ed0a5eaab1a8d144fd4b560 2018-09-06 22:40:10 -04:00
WPT Sync Bot
23dfe7c81e Update web-platform-tests to revision a806d658df3bcc3f05675ad8d08a6e109177c6b0 2018-09-05 22:56:05 -04:00
WPT Sync Bot
f9ee2396ab Update web-platform-tests to revision 7c50c216081d6ea3c9afe553ee7b64534020a1b2 2018-09-04 23:07:46 -04:00
bors-servo
81f6ac8f92
Auto merge of #21591 - Manishearth:channelmergernode, r=ferjm
Implement ChannelMergerNode

partial https://github.com/servo/servo/issues/21558

Haven't yet tested, wanted to get this up as an example for https://github.com/servo/servo/issues/21558

<!-- 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/21591)
<!-- Reviewable:end -->
2018-09-04 02:38:08 -04:00
Manish Goregaokar
af5b1c4011 Add createChannelMerger() 2018-09-04 11:23:00 +05:30
Manish Goregaokar
9a319f7dc6 Regenerate test expectations
Stuff was a bit buggy with the test expectations so I regenerated them.
Looks like some of the tests changed and this wasn't synced properly.
2018-09-04 10:41:48 +05:30
WPT Sync Bot
0d3d7c36ab Update web-platform-tests to revision 04bc9c5667911cce7361ee33244dfc8d7ed61212 2018-09-03 22:46:44 -04:00
Manish Goregaokar
c76c6f3e4f Update test expectations 2018-09-03 20:58:12 +05:30
Manish Goregaokar
0ac861ca94 Update test expectations 2018-09-03 20:31:52 +05:30
Emilio Cobos Álvarez
46b360cb75
style: Fix unit tests build. 2018-09-03 14:08:14 +02:00
WPT Sync Bot
b28a41ac85 Update web-platform-tests to revision 0313d9f383d954ef401e79f3b669a5781aa3441a 2018-09-02 23:23:55 -04:00
WPT Sync Bot
6c901de216 Update web-platform-tests to revision 2b7dace05fc1869398ee24f84fda4c0e4c0455ae 2018-09-02 13:22:16 +00:00
Anthony Ramine
36ff67e39c Clean up more test expectations and add bug links to them 2018-09-02 13:00:21 +02:00
Anthony Ramine
967e799410 Mark /css/css-transitions/transitions-animatable-properties-01.html as timeout=long 2018-09-02 13:00:12 +02:00
bors-servo
c8f3abfdbc
Auto merge of #21573 - servo:what-did-you-expect, r=jdm
Classify some timeout failures with bug links

<!-- 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/21573)
<!-- Reviewable:end -->
2018-09-01 11:48:47 -04:00
bors-servo
ad865c7156
Auto merge of #21533 - nupurbaghel:current_src, r=jdm
correct currentSrc function

<!-- Please describe your changes on the following line: -->

---
(recreating PR which got closed earlier https://github.com/servo/servo/pull/21521)
<!-- 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
- [ ] These changes fix #__ (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes

<!-- 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/21533)
<!-- Reviewable:end -->
2018-09-01 09:03:30 -04:00
Anthony Ramine
847acba13a Classify some timeout failures with bug links 2018-09-01 13:31:56 +02:00
nupurbaghel
b1adf8ee8a correct failing tests 2018-09-01 08:49:50 +00:00
nupurbaghel
d7cb68cb84 correct currentSrc function 2018-09-01 08:49:49 +00:00
Anthony Ramine
7024c99a86 Update WebGL tests
https://github.com/KhronosGroup/WebGL/pull/2702
2018-09-01 02:39:37 +02:00
bors-servo
577830de90
Auto merge of #21557 - servo:webgl, r=Manishearth
Classify all WebGL test errors

<!-- 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/21557)
<!-- Reviewable:end -->
2018-08-31 17:39:10 -04:00
Anthony Ramine
166ee7acbc Set dom.canvas-text.enabled for some WebGL tests 2018-08-31 21:58:06 +02:00
Anthony Ramine
02bd2630e4 Add some bug links in WebGL 1.0 expectations 2018-08-31 15:29:31 +02:00
Manish Goregaokar
e1131b474c Add tests for options bounds in PannerNode's constructor 2018-08-31 05:32:23 -07:00
bors-servo
1ee3deea27
Auto merge of #21388 - gterzian:introduce_task_queues, r=jdm
Introduce task queues, and throttling performance timeline tasksource

<!-- 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: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [ ] These changes fix #19997 (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- 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/21388)
<!-- Reviewable:end -->
2018-08-30 14:56:26 -04:00
Gregory Terzian
ca6306c430 introduce task-queues, and throttling the performance-timeline task-source, in script and worker threads.
queue
2018-08-31 02:10:34 +08:00
bors-servo
6f81ed49f6
Auto merge of #21523 - servo:webgl, r=avadacatavra,jdm
Some more drive-by WebGL fixes and cleanups

<!-- 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/21523)
<!-- Reviewable:end -->
2018-08-30 12:23:31 -04:00
Anthony Ramine
900a19058e Support unions of objects in overloads
Part of #20513, implementing the parts useful for WebGL.
2018-08-30 16:15:40 +02:00
Anthony Ramine
4cf944eab8 Fix gl.isBuffer for buffers that are marked for deletion but still attached 2018-08-30 16:15:39 +02:00
Anthony Ramine
7b673de4d6 Always emit INVALID_OPERATION on null element buffers in drawElements 2018-08-30 16:15:39 +02:00
Anthony Ramine
83e27e4167 Remove WebGLRenderingContext.STENCIL_INDEX 2018-08-30 16:15:38 +02:00
Anthony Ramine
7f9d560f28 Allow binding the null buffer in vertexAttribPointer if offset is 0 2018-08-30 16:15:38 +02:00
Anthony Ramine
0ba66f9f12 Fix the error for invalid arrays passed to gl.vertexAttrib*v() 2018-08-30 16:15:38 +02:00
Anthony Ramine
273aac87e4 Make use of window.onerror in Khronos tests 2018-08-30 16:15:35 +02:00
Anthony Ramine
6089e45b7d Make setZeroTimeout use window.setTimeout 2018-08-29 02:05:49 +02:00
Anthony Ramine
cb2f83cf8e Fix Drop assertion for WebGLBuffer
A buffer that is dropped may not have been marked for deletion but it
must not be attached to any VAO.
2018-08-29 02:05:49 +02:00
Anthony Ramine
59b3f0458e Disable many texture-related tests for things we don't support yet 2018-08-29 02:05:49 +02:00