Skip to content
This repository has been archived by the owner on Jul 10, 2023. It is now read-only.

The VRDisplay is not provided with a Gl instance #61

Closed
asajeffrey opened this issue Feb 21, 2019 · 3 comments
Closed

The VRDisplay is not provided with a Gl instance #61

asajeffrey opened this issue Feb 21, 2019 · 3 comments

Comments

@asajeffrey
Copy link
Member

When the VRDisplay is presenting, it does so (at least in Servo) in the context of a WebGL thread, that has access to an Rc<Gl> object, which provides GL bindings. This Rc<Gl> object is not provided to the VRDisplay, so if it wants to call any GL functions, it has to create its own GL bindings.

@asajeffrey
Copy link
Member Author

A change to the API that would support the VRDisplay getting access to the browser's GL bindings while rendering: asajeffrey@3230f83

The matching changes to Servo: asajeffrey/servo@956fabb

@paulrouget
Copy link
Contributor

/cc @MortimerGoro

@asajeffrey
Copy link
Member Author

Closed by #63

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants