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
Lamp demo crashes with GL errors #23960
Labels
Comments
asajeffrey
added
I-panic
Servo encounters a panic.
A-content/webgl
3d canvas API
labels
Aug 13, 2019
On macOS that's |
I suspect the reason this occurs on macOS is that the GL context created for webgl1 is a legacy GL context: |
This was referenced Aug 30, 2019
bors-servo
pushed a commit
that referenced
this issue
Aug 30, 2019
webgl: Support vertex array objects on macOS. Depends on servo/gleam#199. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23960 <!-- 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/24111) <!-- Reviewable:end -->
bors-servo
pushed a commit
that referenced
this issue
Aug 30, 2019
webgl: Support vertex array objects on macOS. Depends on servo/gleam#199. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #23960 <!-- 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/24111) <!-- Reviewable:end -->
Sigh. Computers. |
bors-servo
pushed a commit
to servo/gleam
that referenced
this issue
Aug 30, 2019
Expose vertex array object extension API This is needed in order to solve servo/servo#23960. There's no way to transparently fall back to the APPLE method from the existing API because they are loaded in non-legacy GL contexts on macOS but point to the very unhelpful glInvalidFunction API and cause a crash. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/gleam/199) <!-- Reviewable:end -->
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://www.joshmatthews.net/demos/lamp.html fails with GL errors.
On MacOS:
on ML1:
The text was updated successfully, but these errors were encountered: