servo/tests/wpt/metadata/webgl
Emilio Cobos Álvarez 46c14aced2
webgl: Refactor texture validations to take advantage of rust type system
This commit introduces the `WebGLValidator` trait, and uses it for multiple
validations in the texture-related WebGL code, to move that logic out of the
already bloated `webglrenderingcontext.rs` file.

It also creates a type-safe wrapper for some WebGL types, removing all the
`unreachable!`s there, and introduces a macro for generating them conveniently.

This partially addresses #10693, pending refactor more code to use this
infrastructure, and (possibly?) introducing an `AsGLError` trait for the errors
to make the error handling happen in `WebGLContext`.
2016-06-25 00:03:15 +02:00
..
conformance-1.0.3 webgl: Refactor texture validations to take advantage of rust type system 2016-06-25 00:03:15 +02:00
uniformMatrixNfv.html.ini Issue #8413: Enable webgl tests in web-platform-test. 2015-11-11 09:02:05 +01:00