diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-07-19 18:40:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-19 18:40:44 -0400 |
commit | 1128f40f4e383987d5ef04528fea4bfd5bff9889 (patch) | |
tree | 0895d20466365c700131f8f5b59dccc30ef4cc88 /components/script/dom/webglrenderingcontext.rs | |
parent | bb6265b99bdd41987bf85e191807a4ab10fee361 (diff) | |
parent | 23f15c94efe800db6bbee44a3a5d7464f5c19f31 (diff) | |
download | servo-1128f40f4e383987d5ef04528fea4bfd5bff9889.tar.gz servo-1128f40f4e383987d5ef04528fea4bfd5bff9889.zip |
Auto merge of #23797 - asajeffrey:webxr-framebuffer, r=Manishearth
Added framebuffer and related attributes to XRWebGLLayer
<!-- Please describe your changes on the following line: -->
Implement the `framebuffer` attribute of `XRWebGLLayer`.
---
<!-- 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
- [X] These changes have tests
<!-- 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/23797)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/webglrenderingcontext.rs')
-rw-r--r-- | components/script/dom/webglrenderingcontext.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/components/script/dom/webglrenderingcontext.rs b/components/script/dom/webglrenderingcontext.rs index d413bd1ac71..6e249a38ed0 100644 --- a/components/script/dom/webglrenderingcontext.rs +++ b/components/script/dom/webglrenderingcontext.rs @@ -349,10 +349,6 @@ impl WebGLRenderingContext { } } - pub fn size(&self) -> Size2D<u32> { - self.size.get() - } - // Helper function for validating framebuffer completeness in // calls touching the framebuffer. From the GLES 2.0.25 spec, // page 119: |