mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-04 13:30:48 +00:00
Restructure GPU compilation execution pipeline (#903)
* Restructure gpu compilation execution pipeline * Add compilation server/client infrastructure * Add wgpu executor
This commit is contained in:
parent
be32f7949f
commit
79ad3e7908
43 changed files with 2744 additions and 482 deletions
|
@ -12,6 +12,7 @@ license = "Apache-2.0"
|
|||
|
||||
[features]
|
||||
tauri = ["ron"]
|
||||
gpu = ["editor/gpu"]
|
||||
default = []
|
||||
|
||||
[lib]
|
||||
|
|
|
@ -161,14 +161,14 @@ impl JsEditorHandle {
|
|||
#[wasm_bindgen(js_name = tauriResponse)]
|
||||
pub fn tauri_response(&self, _message: JsValue) {
|
||||
#[cfg(feature = "tauri")]
|
||||
match ron::from_str::<Vec<FrontendMessage>>(&message.as_string().unwrap()) {
|
||||
match ron::from_str::<Vec<FrontendMessage>>(&_message.as_string().unwrap()) {
|
||||
Ok(response) => {
|
||||
for message in response {
|
||||
self.send_frontend_message_to_js(message);
|
||||
}
|
||||
}
|
||||
Err(error) => {
|
||||
log::error!("tauri response: {:?}\n{:?}", error, message);
|
||||
log::error!("tauri response: {:?}\n{:?}", error, _message);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue