mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Adds support for the following new WebGL2 GetParameter values: - `MAX_ELEMENT_INDEX` - `MAX_ELEMENTS_INDICES` - `MAX_ELEMENTS_VERTICES` - `MAX_FRAGMENT_INPUT_COMPONENTS` - `MAX_SAMPLES` - `MAX_SERVER_WAIT_TIMEOUT` - `MAX_TEXTURE_LOD_BIAS` - `MAX_VARYING_COMPONENTS` - `MAX_VERTEX_OUTPUT_COMPONENTS` See: https://www.khronos.org/registry/webgl/specs/latest/2.0/#3.7.2
47 lines
1.3 KiB
TOML
47 lines
1.3 KiB
TOML
[package]
|
|
name = "canvas"
|
|
version = "0.0.1"
|
|
authors = ["The Servo Project Developers"]
|
|
license = "MPL-2.0"
|
|
edition = "2018"
|
|
publish = false
|
|
|
|
[lib]
|
|
name = "canvas"
|
|
path = "lib.rs"
|
|
|
|
[features]
|
|
webgl_backtrace = ["canvas_traits/webgl_backtrace"]
|
|
no-wgl = ["surfman/sm-no-wgl"]
|
|
xr-profile = ["webxr-api/profile", "time"]
|
|
|
|
|
|
[dependencies]
|
|
bitflags = "1.0"
|
|
byteorder = "1"
|
|
canvas_traits = {path = "../canvas_traits"}
|
|
crossbeam-channel = "0.4"
|
|
cssparser = "0.27"
|
|
embedder_traits = {path = "../embedder_traits"}
|
|
euclid = "0.20"
|
|
fnv = "1.0"
|
|
gleam = "0.9"
|
|
half = "1"
|
|
ipc-channel = "0.14"
|
|
log = "0.4"
|
|
lyon_geom = "0.14"
|
|
num-traits = "0.2"
|
|
raqote = {git = "https://github.com/jrmuizel/raqote"}
|
|
time = { version = "0.1.0", optional = true }
|
|
pixels = {path = "../pixels"}
|
|
servo_config = {path = "../config"}
|
|
sparkle = "0.1.24"
|
|
webrender = {git = "https://github.com/servo/webrender"}
|
|
webrender_api = {git = "https://github.com/servo/webrender"}
|
|
webrender_surfman = {path = "../webrender_surfman"}
|
|
webrender_traits = {path = "../webrender_traits"}
|
|
webxr-api = {git = "https://github.com/servo/webxr", features = ["ipc"]}
|
|
# NOTE: the sm-angle feature only enables angle on windows, not other platforms!
|
|
surfman = { version = "0.2", features = ["sm-angle","sm-angle-default"] }
|
|
surfman-chains = "0.3"
|
|
surfman-chains-api = "0.2"
|