mirror of
https://github.com/servo/servo.git
synced 2025-06-19 14:48:59 +01:00
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 |
||
---|---|---|
.. | ||
webgl_channel | ||
canvas.rs | ||
Cargo.toml | ||
lib.rs | ||
webgl.rs |