Skip to content

Pass the GL context to the VRDisplay when rendering - #22939

Merged
bors-servo merged 1 commit into
servo:masterfrom
asajeffrey:vrdisplay-gets-gl-bindings
Feb 27, 2019
Merged

bors-servo merged 1 commit into
servo:masterfrom
asajeffrey:vrdisplay-gets-gl-bindings

Conversation

@asajeffrey

@asajeffrey asajeffrey commented Feb 25, 2019 •

Copy link
Copy Markdown
Contributor

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

@asajeffrey asajeffrey added S-blocked-on-external Something, somewhere else, needs to happen before this PR can be merged. A-webvr labels Feb 25, 2019
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Feb 25, 2019
@highfive

Copy link
Copy Markdown

warning Warning warning

  • These commits modify unsafe code. Please review it carefully!

@asajeffrey

Copy link
Copy Markdown
Contributor Author

Should land after servo/rust-webvr#63

@asajeffrey
asajeffrey force-pushed the vrdisplay-gets-gl-bindings branch from 39e0d2e to cb85194 Compare February 26, 2019 17:37
@asajeffrey

Copy link
Copy Markdown
Contributor Author

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

@asajeffrey asajeffrey removed the S-blocked-on-external Something, somewhere else, needs to happen before this PR can be merged. label Feb 26, 2019
@asajeffrey

Copy link
Copy Markdown
Contributor Author

r? @Manishearth or @paulrouget

@asajeffrey

Copy link
Copy Markdown
Contributor Author

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

@asajeffrey
asajeffrey force-pushed the vrdisplay-gets-gl-bindings branch from cb85194 to 8ddde7e Compare February 27, 2019 14:57
@asajeffrey

Copy link
Copy Markdown
Contributor Author

Rebased.

@jdm

jdm commented Feb 27, 2019

Copy link
Copy Markdown
Member

@bors-servo r+

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 8ddde7e has been approved by jdm

@highfive highfive assigned jdm and unassigned Manishearth Feb 27, 2019
@highfive highfive added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Feb 27, 2019
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 8ddde7e with merge 3d32efa...

bors-servo pushed 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
Copy Markdown
Contributor

☀️ Test successful - android-mac, arm32, arm64, linux-rel-css, linux-rel-wpt, mac-rel-css1, mac-rel-css2, mac-rel-wpt1, mac-rel-wpt2, mac-rel-wpt3, mac-rel-wpt4, magicleap, status-taskcluster
Approved by: jdm
Pushing 3d32efa to master...

@bors-servo
bors-servo merged commit 8ddde7e into servo:master Feb 27, 2019
@highfive highfive removed the S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. label Feb 27, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants