Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upHow to make WebGL draw on a specific texture #22481
Open
Comments
|
A typical scenario is:
Sending the surface handle to servo's internals is not really the problem, it's more about how to swap from the initial texture to a new one. |
|
If you take a look at servo/surfman#131, that's the code that needs to be provided with the texture I'd so it can be bound to the framebuffer. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For WebVR + immersive mode, FxR will provide a specific texture to draw on (new texture, new size).
Any recommendation on how to approach this?