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 upFix android GL crash #22234
Fix android GL crash #22234
Conversation
|
@bors-servo try=wpt |
Fix android GL crash There were two issues, fundamentally: 1. POINT_SPRITE is not supported on GLES, which was causing the GL_INVALID_ENUM error when using any WebGL API. 2. The version check was using the wrong version value to determine if enabling point sprites was necessary. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22162 - [x] There are tests for these changes
|
|
|
@bors-servo r+ |
|
|
Fix android GL crash There were two issues, fundamentally: 1. POINT_SPRITE is not supported on GLES, which was causing the GL_INVALID_ENUM error when using any WebGL API. 2. The version check was using the wrong version value to determine if enabling point sprites was necessary. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22162 - [x] There are tests for these changes <!-- 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/22234) <!-- Reviewable:end -->
|
|
in bootstrap-android not an issue with this PR, but something is broken on infra (or maybe the download was interrupted?) |
|
@bors-servo retry network issue |
Fix android GL crash There were two issues, fundamentally: 1. POINT_SPRITE is not supported on GLES, which was causing the GL_INVALID_ENUM error when using any WebGL API. 2. The version check was using the wrong version value to determine if enabling point sprites was necessary. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22162 - [x] There are tests for these changes <!-- 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/22234) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
|
|
|
@bors-servo retry |
Fix android GL crash There were two issues, fundamentally: 1. POINT_SPRITE is not supported on GLES, which was causing the GL_INVALID_ENUM error when using any WebGL API. 2. The version check was using the wrong version value to determine if enabling point sprites was necessary. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22162 - [x] There are tests for these changes <!-- 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/22234) <!-- Reviewable:end -->
|
@bors-servo retry |
Fix android GL crash There were two issues, fundamentally: 1. POINT_SPRITE is not supported on GLES, which was causing the GL_INVALID_ENUM error when using any WebGL API. 2. The version check was using the wrong version value to determine if enabling point sprites was necessary. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22162 - [x] There are tests for these changes <!-- 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/22234) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
Fix android GL crash There were two issues, fundamentally: 1. POINT_SPRITE is not supported on GLES, which was causing the GL_INVALID_ENUM error when using any WebGL API. 2. The version check was using the wrong version value to determine if enabling point sprites was necessary. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22162 - [x] There are tests for these changes <!-- 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/22234) <!-- Reviewable:end -->
|
|
|
@bors-servo retry |
Fix android GL crash There were two issues, fundamentally: 1. POINT_SPRITE is not supported on GLES, which was causing the GL_INVALID_ENUM error when using any WebGL API. 2. The version check was using the wrong version value to determine if enabling point sprites was necessary. --- - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy` does not report any errors - [x] These changes fix #22162 - [x] There are tests for these changes <!-- 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/22234) <!-- Reviewable:end -->
|
|
|
Thanks for fixing this @jdm. |
jdm commentedNov 20, 2018
•
edited by SimonSapin
There were two issues, fundamentally:
./mach build -ddoes not report any errors./mach test-tidydoes not report any errorsThis change is