2017-12-08 13:11:54 +01:00
|
|
|
[package]
|
|
|
|
name = "portability-gfx"
|
2018-03-01 22:04:47 -05:00
|
|
|
publish = false
|
2017-12-08 13:11:54 +01:00
|
|
|
version = "0.1.0"
|
2020-01-25 01:45:55 +01:00
|
|
|
edition = "2018"
|
2018-03-01 22:04:47 -05:00
|
|
|
authors = [
|
|
|
|
"Dzmitry Malyshau <kvark@mozilla.com>",
|
2019-02-07 15:41:38 -05:00
|
|
|
"Joshua Groves <josh@joshgroves.com>",
|
2018-03-14 22:24:26 +01:00
|
|
|
"Markus Siglreithmaier <m.siglreith@gmail.com>",
|
2018-03-01 22:04:47 -05:00
|
|
|
]
|
2017-12-08 13:11:54 +01:00
|
|
|
|
|
|
|
[lib]
|
|
|
|
name = "portability_gfx"
|
|
|
|
|
2017-12-26 19:45:31 +01:00
|
|
|
[features]
|
|
|
|
default = []
|
2018-03-01 22:04:47 -05:00
|
|
|
dispatch = []
|
2020-01-19 22:17:27 +01:00
|
|
|
nightly = ["gfx-auxil"]
|
2018-07-11 17:01:52 -04:00
|
|
|
metal-capture = ["gfx-backend-metal/auto-capture"]
|
2017-12-26 19:45:31 +01:00
|
|
|
|
2017-12-08 19:18:18 +01:00
|
|
|
[dependencies]
|
2019-03-19 10:04:07 -04:00
|
|
|
copyless = "0.1.1"
|
2020-08-21 23:13:29 -04:00
|
|
|
env_logger = { version = "0.7", optional = true }
|
2020-03-27 00:38:01 -04:00
|
|
|
lazy_static = "1"
|
2018-07-18 18:09:32 -04:00
|
|
|
log = { version = "0.4", features = ["release_max_level_error"] }
|
2020-04-11 00:25:18 -04:00
|
|
|
renderdoc = { version = "0.3", optional = true }
|
2020-08-21 23:13:29 -04:00
|
|
|
typed-arena = "2"
|
2020-12-11 22:24:42 +02:00
|
|
|
raw-window-handle = "0.3"
|
2018-05-31 23:29:07 +02:00
|
|
|
|
2020-03-27 00:38:01 -04:00
|
|
|
[dependencies.hal]
|
|
|
|
package = "gfx-hal"
|
2017-12-19 22:28:57 +01:00
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
2018-04-09 08:33:24 -04:00
|
|
|
#path = "../../gfx/src/hal"
|
2017-12-08 13:11:54 +01:00
|
|
|
|
2019-06-26 14:10:13 -04:00
|
|
|
[dependencies.gfx-backend-empty]
|
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
|
|
#path = "../../gfx/src/backend/empty"
|
|
|
|
|
2020-08-25 19:51:56 -04:00
|
|
|
[target.'cfg(not(any(target_os = "macos", target_os = "ios")))'.dependencies.gfx-backend-vulkan]
|
2017-12-19 22:28:57 +01:00
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
2018-04-09 08:33:24 -04:00
|
|
|
#path = "../../gfx/src/backend/vulkan"
|
2017-12-26 19:45:31 +01:00
|
|
|
optional = true
|
|
|
|
|
|
|
|
[target.'cfg(windows)'.dependencies.gfx-backend-dx12]
|
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
2018-04-09 08:33:24 -04:00
|
|
|
#path = "../../gfx/src/backend/dx12"
|
2017-12-26 19:45:31 +01:00
|
|
|
optional = true
|
2018-03-01 22:04:47 -05:00
|
|
|
|
2018-06-22 15:00:34 +03:00
|
|
|
[target.'cfg(windows)'.dependencies.gfx-backend-dx11]
|
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
|
|
|
#path = "../../gfx/src/backend/dx11"
|
|
|
|
optional = true
|
|
|
|
|
2020-08-25 19:51:56 -04:00
|
|
|
[target.'cfg(any(target_os = "macos", target_os = "ios"))'.dependencies.gfx-backend-metal]
|
2018-03-01 22:04:47 -05:00
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
2018-04-09 08:33:24 -04:00
|
|
|
#path = "../../gfx/src/backend/metal"
|
2018-03-01 22:04:47 -05:00
|
|
|
optional = true
|
2019-06-01 00:16:51 +00:00
|
|
|
|
2020-12-01 01:18:27 -05:00
|
|
|
[target.'cfg(all(unix, not(target_os = "macos"), not(target_os = "ios")))'.dependencies.gfx-backend-gl]
|
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
2019-06-01 00:16:51 +00:00
|
|
|
#path = "../../gfx/src/backend/gl"
|
2020-12-01 01:18:27 -05:00
|
|
|
optional = true
|
2020-01-19 22:17:27 +01:00
|
|
|
|
|
|
|
[dependencies.gfx-auxil]
|
|
|
|
git = "https://github.com/gfx-rs/gfx"
|
2020-04-11 00:25:18 -04:00
|
|
|
#path = "../../gfx/src/auxil/auxil"
|
2020-01-19 22:17:27 +01:00
|
|
|
optional = true
|