diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-09 19:49:08 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-09 19:49:08 -0500 |
commit | 5e8ab6c0ff3eb8504c977f16dfc9507e36853e71 (patch) | |
tree | fc58554029ba8d8fe01cf1b9ef6b99f0865b332e /components/script/lib.rs | |
parent | 6f9016cf3edce828bf0edb5411b963d7c9f2d209 (diff) | |
parent | fd32bd5a3a2388fa42504c8df6c0064d934e6c40 (diff) | |
download | servo-5e8ab6c0ff3eb8504c977f16dfc9507e36853e71.tar.gz servo-5e8ab6c0ff3eb8504c977f16dfc9507e36853e71.zip |
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 -->
Diffstat (limited to 'components/script/lib.rs')
0 files changed, 0 insertions, 0 deletions