servo/components/canvas
bors-servo c96f07a0b5
Auto merge of #22234 - jdm:android-gl-crash, r=Manishearth
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 -->
2018-11-23 12:38:24 -05:00
..
webgl_mode Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
canvas_data.rs Make HTMLCanvasElement::fetch_all_data return a shared memory blob 2018-11-21 12:53:50 +01:00
canvas_paint_thread.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
Cargo.toml Move prepare_pixels to the canvas thread 2018-11-20 10:14:51 +01:00
gl_context.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
lib.rs Update MPL license to https (part 4) 2018-11-19 14:47:27 +01:00
webgl_thread.rs Auto merge of #22234 - jdm:android-gl-crash, r=Manishearth 2018-11-23 12:38:24 -05:00