Add support for WebGL2 ReadPixels functions

Adds support for the new ReadPixels functions introduced with WebGL2
and the relevant PixelStorei parameters.

Reference: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.10
This commit is contained in:
Mátyás Mustoha 2019-10-28 13:12:41 +01:00
parent ea32495504
commit 8fefa23019
9 changed files with 385 additions and 404 deletions

4
Cargo.lock generated
View file

@ -5154,9 +5154,9 @@ dependencies = [
[[package]]
name = "sparkle"
version = "0.1.10"
version = "0.1.12"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "84b935631ddcc08b257a331ac645cc6831e52a4ff55d4c430142575c6757a094"
checksum = "ef7f82a5133e57fe21cb3465f0e609045e53f2627f5e210d1d60be7d764c7dd4"
dependencies = [
"gl_generator 0.13.1",
]