Squashed from work; the fine-grained history is under tag archive/work-2026-08-26: - vj: the thumbnail pipeline becomes one honest machine, and effects go livecodable - widgets: boxed labels center on their ink, not on the font's line box - metal: a fresh texture forgets nothing it never had — reallocated vec textures upload whole - fab: a 3D creation shell and the viewer built on it - texcomp: the block codec and the container every texture will travel in - mixer: a live LR-Mix surface for the XR18 — strips paired the way the desk is run, auto-connect, EQ that bends its own curve, and a sweep paced so the console drops nothing
107 lines
3.8 KiB
Text
107 lines
3.8 KiB
Text
use mod.std.*
|
|
use mod.hub;
|
|
let RunItem = {
|
|
on_run: nil,
|
|
name: ""
|
|
package_name: ""
|
|
in_studio: true
|
|
}
|
|
|
|
let RunQuest = RunItem{
|
|
on_run: fn(id){
|
|
hub.run(
|
|
{"STUDIO_HOST": hub.studio_ext_host() "STUDIO_BUILD": id.to_string() "STUDIO_CRATE": self.run "MAKEPAD": "vulkan"},
|
|
"cargo",
|
|
[
|
|
"run" "-p" "cargo-makepad" "--release" "--message-format=json" "--"
|
|
"android" "--variant=quest" "--devices=all" "--no-icon" "--small-fonts" "run" "-p" self.run "--release" "--message-format=json"
|
|
],
|
|
)
|
|
}
|
|
}
|
|
|
|
let RunAndroid = RunItem{
|
|
on_run: fn(id){
|
|
hub.run(
|
|
{"STUDIO_HOST": hub.studio_ext_host() "STUDIO_BUILD": id.to_string() "STUDIO_CRATE": self.name "MAKEPAD": "vulkan"},
|
|
"cargo",
|
|
[
|
|
"run" "-p" "cargo-makepad" "--release" "--message-format=json" "--"
|
|
"android" "--no-icon" "--small-fonts" "run" "-p" self.name "--release" "--message-format=json"
|
|
],
|
|
)
|
|
}
|
|
}
|
|
|
|
let RunStudioRelease = RunItem{
|
|
on_run: fn(id){
|
|
hub.run(
|
|
{"STUDIO_HOST": hub.studio_local_host() "STUDIO_BUILD": id.to_string() "STUDIO_CRATE": self.name},
|
|
"cargo",
|
|
["run" "-p" self.name "--release" "--message-format=json" "--" "--message-format=json" "--stdin-loop"],
|
|
)
|
|
}
|
|
}
|
|
|
|
let RunRelease = RunItem{
|
|
on_run: fn(id){
|
|
hub.run(
|
|
{"STUDIO_HOST": hub.studio_local_host() "STUDIO_BUILD": id.to_string() "STUDIO_CRATE": self.run},
|
|
"cargo",
|
|
["run" "-p" self.run "--release" "--message-format=json" "--" "--message-format=json"],
|
|
)
|
|
}
|
|
}
|
|
|
|
|
|
let RunStudio = RunItem{
|
|
on_run: fn(id){
|
|
hub.run(
|
|
{"STUDIO_HOST": hub.studio_local_host() "STUDIO_BUILD": id.to_string() "STUDIO_CRATE": self.name},
|
|
"cargo",
|
|
["run" "-p" "makepad-studio" "--release" "--message-format=json" "--" "--message-format=json" "--bind=0.0.0.0" "--stdin-loop" "--mounts=makepad:./sub"
|
|
],
|
|
)
|
|
}
|
|
}
|
|
|
|
let RunStudioExt = RunItem{
|
|
on_run: fn(id){
|
|
hub.run(
|
|
{"STUDIO_HOST": hub.studio_local_host() "STUDIO_BUILD": id.to_string() "STUDIO_CRATE": self.name},
|
|
"cargo",
|
|
["run" "-p" "makepad-studio" "--release" "--message-format=json" "--" "--message-format=json" "--bind=0.0.0.0"],
|
|
)
|
|
}
|
|
}
|
|
|
|
|
|
hub.set_run_items([
|
|
RunStudioRelease{name: "makepad-example-hello-world"}
|
|
RunStudioRelease{name: "makepad-example-aichat"}
|
|
RunStudioRelease{name: "makepad-example-box3d"}
|
|
RunStudioRelease{name: "makepad-example-browser"}
|
|
RunStudioRelease{name: "makepad-example-charts"}
|
|
RunStudioRelease{name: "makepad-example-windows-blur"}
|
|
RunStudioRelease{name: "makepad-example-splash"}
|
|
RunStudioRelease{name: "makepad-example-slides"}
|
|
RunStudioRelease{name: "makepad-example-isolate"}
|
|
RunAndroid{name: "makepad-example-pdf"}
|
|
RunStudioRelease{name: "makepad-example-map"}
|
|
RunStudioRelease{name: "makepad-app-route"}
|
|
RunStudioRelease{name: "makepad-app-asset-ui"}
|
|
RunStudioRelease{name: "makepad-vj"}
|
|
RunStudioRelease{name: "makepad-example-todo"}
|
|
RunStudioRelease{name: "makepad-example-glass"}
|
|
RunStudioRelease{name: "makepad-example-bugfix"}
|
|
RunStudioRelease{name: "makepad-example-move-after-draw"}
|
|
RunStudioRelease{name: "makepad-example-render-to-texture"}
|
|
RunStudioRelease{name: "makepad-example-raytrace"}
|
|
RunStudioRelease{name: "makepad-example-audio-playback-decode-probe"}
|
|
RunStudio{name: "makepad-studio"}
|
|
RunStudioExt{name: "makepad-studio-ext"}
|
|
RunStudioRelease{name: "makepad-example-xr"}
|
|
RunStudioRelease{name: "makepad-example-cad"}
|
|
RunStudioRelease{name: "makepad-fab"}
|
|
RunQuest{name: "makepad-example-xr-quest", run:"makepad-example-xr"}
|
|
])
|