mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-08 22:08:16 +00:00
7947bc10f1
This was an old example / proof of concept of directly drawing to a DirectComposition surface. We now have the example-compositor/ project that shows how to integrate with DirectComposition on Windows and Wayland on Linux, in addition to a shipping implementation in Gecko for CoreAnimation and DirectComposition. Differential Revision: https://phabricator.services.mozilla.com/D113052
34 lines
1.0 KiB
TOML
34 lines
1.0 KiB
TOML
[workspace]
|
|
members = [
|
|
"examples",
|
|
"webrender",
|
|
"webrender_api",
|
|
"wrench",
|
|
"example-compositor/compositor",
|
|
"tileview",
|
|
]
|
|
|
|
[profile.release]
|
|
debug = true
|
|
panic = "abort"
|
|
|
|
[profile.dev]
|
|
panic = "abort"
|
|
|
|
# optimizing glsl more makes a big difference in swgl build times
|
|
[profile.dev.package.glsl]
|
|
opt-level = 2
|
|
|
|
[profile.release.package.glsl]
|
|
opt-level = 2
|
|
|
|
# Running wrench on android built with master cargo-apk results in a crash
|
|
# due to a mismatched version of android_glue (a dependency of winit).
|
|
# Override it to use a suitable version of android_glue.
|
|
# See https://github.com/rust-windowing/android-rs-glue/issues/239.
|
|
# This can be removed once a new version of android_glue is published to crates.io.
|
|
[patch.crates-io]
|
|
android_glue = { git = "https://github.com/rust-windowing/android-rs-glue.git", rev = "e3ac6edea5814e1faca0c31ea8fac6877cb929ea" }
|
|
# this is a version that fixes some incompatibilites with newer rust/aarch64
|
|
winit = { version = "0.19", git = "https://github.com/jrmuizel/winit", branch="wr" }
|