Start on metal rendering infrastructure

This commit is contained in:
Nathan Sobo 2021-03-20 09:38:36 -06:00
parent d14c943150
commit 292b41ad57
8 changed files with 320 additions and 76 deletions

43
Cargo.lock generated
View file

@ -336,7 +336,7 @@ dependencies = [
"cocoa-foundation",
"core-foundation",
"core-graphics",
"foreign-types 0.3.2",
"foreign-types",
"libc",
"objc",
]
@ -351,7 +351,7 @@ dependencies = [
"block",
"core-foundation",
"core-graphics-types",
"foreign-types 0.3.2",
"foreign-types",
"libc",
"objc",
]
@ -396,7 +396,7 @@ dependencies = [
"bitflags",
"core-foundation",
"core-graphics-types",
"foreign-types 0.3.2",
"foreign-types",
"libc",
]
@ -408,7 +408,7 @@ checksum = "3a68b68b3446082644c91ac778bf50cd4104bfb002b5a6a7c44cca5a2c70788b"
dependencies = [
"bitflags",
"core-foundation",
"foreign-types 0.3.2",
"foreign-types",
"libc",
]
@ -420,7 +420,7 @@ checksum = "99d74ada66e07c1cefa18f8abfba765b486f250de2e4a999e5727fc0dd4b4a25"
dependencies = [
"core-foundation",
"core-graphics",
"foreign-types 0.3.2",
"foreign-types",
"libc",
]
@ -616,28 +616,7 @@ version = "0.3.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6f339eb8adc052cd2ca78910fda869aefa38d22d5cb648e6485e4d3fc06f3b1"
dependencies = [
"foreign-types-shared 0.1.1",
]
[[package]]
name = "foreign-types"
version = "0.5.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d737d9aa519fb7b749cbc3b962edcf310a8dd1f4b67c91c4f83975dbdd17d965"
dependencies = [
"foreign-types-macros",
"foreign-types-shared 0.3.0",
]
[[package]]
name = "foreign-types-macros"
version = "0.2.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "63f713f8b2aa9e24fec85b0e290c56caee12e3b6ae0aeeda238a75b28251afd6"
dependencies = [
"proc-macro2",
"quote",
"syn",
"foreign-types-shared",
]
[[package]]
@ -646,12 +625,6 @@ version = "0.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "00b0228411908ca8685dba7fc2cdd70ec9990a6e753e89b6ac91a84c40fbaf4b"
[[package]]
name = "foreign-types-shared"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7684cf33bb7f28497939e8c7cf17e3e4e3b8d9a0080ffa4f8ae2f515442ee855"
[[package]]
name = "freetype"
version = "0.7.0"
@ -773,7 +746,7 @@ dependencies = [
"core-text",
"ctor",
"font-kit",
"foreign-types 0.5.0",
"foreign-types",
"log",
"metal",
"num_cpus",
@ -924,7 +897,7 @@ dependencies = [
"bitflags",
"block",
"cocoa-foundation",
"foreign-types 0.3.2",
"foreign-types",
"log",
"objc",
]