servo/components
bors-servo 5e8ab6c0ff Auto merge of #11168 - daoshengmu:texSubImage2D, r=emilio
Implement WebGL TexSubImage2D

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:
- [ ] There are tests for these changes OR
- [X] These changes do not require tests because I have run the wpt test of texSubImage2D.html, and it works.

Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process.

I have implemented ```TexSubImage2D``` follow [the spec](https://www.khronos.org/registry/webgl/specs/latest/1.0/#5.14.8). This is my first version of implementation, and I notice I can reuse the code from ```TexImage2D```. Therefore, I would like to discuss make ```validate_tex_image2D_from_buffer``` and ```validate_tex_image2D_from_source``` to remove duplicate code.

Part of #10209

<!-- 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/11168)
<!-- Reviewable:end -->
2016-06-09 19:49:08 -05:00
..
canvas Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
canvas_traits Simplify TOML syntax 2016-04-26 23:51:36 +02:00
compositing Remove a spurious field from the SetFrameTree message. 2016-06-08 16:11:47 +02:00
constellation Create some channels on the constellation thread. 2016-06-08 17:39:59 +02:00
devtools Make the net monitor panel in FF's devtools show meaningful output. 2016-06-06 00:51:36 +01:00
devtools_traits Make the net monitor panel in FF's devtools show meaningful output. 2016-06-06 00:51:36 +01:00
gfx Move LowercaseString near its only consumer. 2016-06-06 08:54:35 +02:00
gfx_traits script: Keep the DOM-side viewport up to date when scrolling happens in 2016-05-31 14:12:51 -07:00
layout Auto merge of #11656 - Ms2ger:reduce-dom-exposure, r=nox 2016-06-07 11:09:14 -05:00
layout_traits Remove the layout shutdown channel. 2016-06-04 13:24:32 +02:00
msg Added support for navigating by a delta 2016-06-04 18:47:38 -06:00
net Auto merge of #11552 - izgzhen:add-testing-fix-filemanager, r=Manishearth 2016-06-09 18:14:30 -05:00
net_traits Add unit testing to file manager; Replace uuid by stringified version in FileManagerThreadMsg 2016-06-10 02:20:52 +08:00
plugins Update Rust to 1.11.0-nightly (ec872dc8a 2016-06-07) 2016-06-08 14:03:57 +02:00
profile implement related sw interface and register method 2016-06-02 04:09:39 +05:30
profile_traits implement related sw interface and register method 2016-06-02 04:09:39 +05:30
range
script Auto merge of #11168 - daoshengmu:texSubImage2D, r=emilio 2016-06-09 19:49:08 -05:00
script_traits Window::Parent and Window::Top now return the right result inisde a mozbrowser iframe. 2016-06-07 08:51:41 -05:00
servo Pick up libz update to fix android build 2016-06-09 15:10:36 -05:00
style Auto merge of #11565 - nox:fonts, r=metajack 2016-06-07 03:50:18 -05:00
style_traits Removed unused imports 2016-05-15 22:24:26 +03:00
util Pick up libz update to fix android build 2016-06-09 15:10:36 -05:00
webdriver_server Added support for navigating by a delta 2016-06-04 18:47:38 -06:00