Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pass the GL context to the VRDisplay when rendering #22939

Merged
merged 1 commit into from Feb 27, 2019

Conversation

@asajeffrey
Copy link
Member

asajeffrey commented Feb 25, 2019

Allow the VRDisplay access to the WebGL thread's GL bindings.


  • ./mach build -d does not report any errors
  • ./mach test-tidy does not report any errors
  • These changes do not require tests because it's behind-the-scenes plumbing

This change is Reviewable

@highfive
Copy link

highfive commented Feb 25, 2019

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!
@asajeffrey
Copy link
Member Author

asajeffrey commented Feb 25, 2019

Should land after servo/rust-webvr#63

@asajeffrey asajeffrey force-pushed the asajeffrey:vrdisplay-gets-gl-bindings branch from 39e0d2e to cb85194 Feb 26, 2019
@asajeffrey
Copy link
Member Author

asajeffrey commented Feb 26, 2019

Only the commit "Pass the GL context to the VRDisplay when rendering" is part of this PR, the other one is #22938.

@asajeffrey
Copy link
Member Author

asajeffrey commented Feb 26, 2019

@asajeffrey
Copy link
Member Author

asajeffrey commented Feb 27, 2019

#22938 has landed, so this is ready for review.

@asajeffrey asajeffrey force-pushed the asajeffrey:vrdisplay-gets-gl-bindings branch from cb85194 to 8ddde7e Feb 27, 2019
@asajeffrey
Copy link
Member Author

asajeffrey commented Feb 27, 2019

Rebased.

@jdm
Copy link
Member

jdm commented Feb 27, 2019

@bors-servo
Copy link
Contributor

bors-servo commented Feb 27, 2019

📌 Commit 8ddde7e has been approved by jdm

@highfive highfive assigned jdm and unassigned Manishearth Feb 27, 2019
@bors-servo
Copy link
Contributor

bors-servo commented Feb 27, 2019

Testing commit 8ddde7e with merge 3d32efa...

bors-servo added a commit that referenced this pull request Feb 27, 2019
Pass the GL context to the VRDisplay when rendering

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

Allow the VRDisplay access to the WebGL thread's GL bindings.

---
<!-- 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 do not require tests because it's behind-the-scenes plumbing

<!-- 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/22939)
<!-- Reviewable:end -->
@bors-servo
Copy link
Contributor

bors-servo commented Feb 27, 2019

@bors-servo bors-servo merged commit 8ddde7e into servo:master Feb 27, 2019
3 of 4 checks passed
3 of 4 checks passed
continuous-integration/appveyor/pr AppVeyor build failed
Details
Taskcluster (pull_request) TaskGroup: success
Details
Travis CI - Pull Request Build Passed
Details
homu Test successful
Details
@bors-servo bors-servo mentioned this pull request Feb 27, 2019
4 of 5 tasks complete
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

5 participants
You can’t perform that action at this time.