38 lines
1.5 KiB
Zig
38 lines
1.5 KiB
Zig
.{
|
|
.id = "dev.native_sdk.gpu_dashboard",
|
|
.name = "gpu-dashboard",
|
|
.display_name = "GPU Dashboard",
|
|
.version = "0.1.0",
|
|
.platforms = .{"macos"},
|
|
.permissions = .{ "view", "command" },
|
|
.capabilities = .{ "native_views", "gpu_surfaces" },
|
|
.shell = .{
|
|
.windows = .{
|
|
.{
|
|
.label = "main",
|
|
.title = "Native SDK GPU Dashboard",
|
|
.width = 1240,
|
|
.height = 780,
|
|
// The floor the layout audit sweep proves clean
|
|
// (toolbar + hero rail + tiles + forecast form).
|
|
.min_width = 1080,
|
|
.min_height = 640,
|
|
.restore_state = false,
|
|
.restore_policy = "center_on_primary",
|
|
.titlebar = "hidden_inset_tall",
|
|
.views = .{
|
|
.{ .label = "dashboard-canvas", .kind = "gpu_surface", .fill = true, .min_width = 720, .role = "Native-rendered dashboard canvas", .accessibility_label = "Native-rendered product dashboard canvas", .gpu_backend = "metal", .gpu_pixel_format = "bgra8_unorm", .gpu_present_mode = "timer", .gpu_alpha_mode = "opaque", .gpu_color_space = "srgb", .gpu_vsync = true },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
.security = .{
|
|
.navigation = .{
|
|
.allowed_origins = .{ "zero://app", "zero://inline" },
|
|
.external_links = .{ .action = "deny" },
|
|
},
|
|
},
|
|
.web_engine = "system",
|
|
.cef = .{ .dir = "third_party/cef/macos", .auto_install = false },
|
|
}
|