servo/components/canvas_traits
bors-servo 329f081e6a
Auto merge of #26513 - jdm:webgl2-formats, r=asajeffrey
Reject incompatible webgl texture pixel data

The tests that would make these changes most visibly correct unfortunately rely on texImage3D which isn't implemented yet, so they error out too soon. However, when I comment out that code, these changes avoid a bunch of panics in the webgl thread because of invalid data type combinations being accepted, and removing the incorrect non-filterable texture fallback behaviour for webgl 2 when more texture formats are supposed to be filterable.

---
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] There are tests for these changes
2020-05-13 18:33:37 -04:00
..
webgl_channel Upgrade to rustc 1.44.0-nightly (42abbd887 2020-04-07) 2020-04-09 21:33:44 +02:00
canvas.rs Implement CanvasRenderingContext2D.getTransform() 2020-02-12 08:49:18 +01:00
Cargo.toml Dedupe dwrote 2020-05-12 21:57:04 -07:00
lib.rs Convert all uses of UpdateResources api to use webrender transactions. 2020-05-11 17:41:56 -04:00
webgl.rs webgl: Reject incompatible 2d texture pixel data based on texture data type. 2020-05-13 16:22:31 -04:00