makepad/widgets/themes/macos/theme.splash
Admin 2e27ce2ff1 platform: retained draw lists, shared publications and GPU residency (DL-0..DL-5)
Squash of 27 work commits (Sep 3–12):
  aa907ca  platform: a frame trace on both desktop backends, and a window that cannot present stops ticking at 600 Hz
  e3abf4d  map: the hosted-tile cache keeps the same ~2x-visible margin as the local one — a budget pinned at the visible set evicted the trailing edge of every pan on the next frame and refetched it a moment later
  8d542fe  platform: a child pass orphaned by its attaching draw list is no longer painted — the window's gauss_scene pass stayed a live_with_parent child after the map went flat and re-encoded a frozen 400-item list every pan frame with stale geometry ids (new tile meshes × old instance counts, tens of millions of triangles into a texture nobody read); make_child_pass records the recording list + redraw id, stale passes are skipped, a cached View re-attaches on a cache hit; tests for the orphan gate and the pool generation contract
  bb49fe6  map + platform: retained per-tile draw lists — each resident tile owns one DrawList2d per carto pass (fill, casing, stroke, icon, icon-high, shadow) and the label glyph batches are retained the same way, recorded when the bake, LOD ring, fringe/icon gates, flat/tilted or clip change and re-attached otherwise; a pan/zoom/tilt frame pushes this frame's uniforms onto the retained calls (DrawVars::update_uniforms_on_area, resolved slot table) and uploads zero instance bytes; the tilted per-pass depth is a pass_depth uniform; a held list's zbias resolves at entry (zbias_hold in every backend); the shimmer heartbeat patches shiny_time in place without a redraw; a freed/reused sub-list id is skipped by every draw-tree walker and the mask list re-records empty on the flat transition (contract test). Web pan tail 1,098 → 20 MiB/s, flat pan 2.4 → 0.43 MiB/frame; Metal grabs within the run-to-run noise floor
  313265d  Studio code atlas: geometry code views, live filter, 3D size lens, lanes as terminals
  9c4e0cc  Studio code atlas: performance round — retained uploads, worker labels, exact search, no forks
  7235d7e  Studio code atlas: stall fix, GPU working set, lens hard switch, filter masks, parallel index
  56a6da5  platform: per-pass GPU counter timing on Metal; retained publications replace in place
  72e2443  platform: present-path trace (1 Hz cause histograms), bounded drawable wait and retirement on macOS
  1c5d583  platform: bounded retained maintenance on empty paint beats; republish actual backend debt
  edfed73  platform: retained residency high/low water and hysteresis; no distance eviction without pressure
  acab6a0  platform: critical upload class serves present-blocking items first; identical immediate re-records upload nothing
  906c774  platform: uniform_range on DrawVars and patch_retained_uniforms on retained draw lists
  c29031c  platform/draw/widgets: heap-keyed script resources and RecordingBuffer draw items — the files today's commits depend on
  cd0964f  platform headless: homogeneous near-plane clipping before the perspective divide
  61d424d  platform: release retained bindings of released textures so pool evictions complete
  a00287a  platform: texture-tile cache support — per-item instance ranges, painted pass receipts, display-dpi pass uniform, retained render targets, present gate on the drawable pool
  74b63be  platform: retained upload floor reverted, unconfirmed presents counted
  c03fcc5  platform: tile-cache round 3 support — O(1) demand on re-recorded lists, evictions counter, allocated_size, lost-button release, Vec2d::round
  e515d75  platform: shared instance publications — the DL-0/DL-1 contract, additive beside the retained path
  142a337  platform: shared instance publications — close the seven review items (DL-1b)
  6811a19  platform: Debug for SharedInstances, WeakSharedInstances and PublishReceipt
  c061e47  platform: Metal draws are resident by construction — the hole path and its gates are gone (DL-2)
  0bdbb29  platform: drop the unreachable InstancesNotResident present cause
  de3c868  platform: `drawlist` trace names the holder of a stale draw-list id; the per-frame upload line moves to `gpu.upload`
  721c3d8  platform: publication backends — Metal per-publication backings, lease-keyed uniform ring, receipts on every backend, Vulkan draws attached items (DL-3)
  393de54  platform: integrated deletion — the draw-list system is generic again (DL-5)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-15 13:40:23 +02:00

271 lines
10 KiB
Text

mod.theme = mod.themes.light
mod.theme.corner_radius = 6.0
mod.theme.container_corner_radius = 12.0
mod.theme.textselection_corner_radius = 3.0
mod.theme.beveling = 0.65
mod.theme.space_factor = 7.0
mod.theme.space_1 = 3.5
mod.theme.space_2 = 7.0
mod.theme.space_3 = 10.5
mod.theme.mspace_1 = mod.turtle.Inset{top: 3.5 right: 3.5 bottom: 3.5 left: 3.5}
mod.theme.color_bg_app = #ececec
mod.theme.color_fg_app = #ececec
mod.theme.color_bg_container = #ececec
mod.theme.color_focus = #007aff
mod.theme.color_bg_highlight = #c9dffc
mod.theme.color_bg_highlight_inline = #c9dffc
mod.theme.color_ctrl_selected = #007aff
mod.theme.color_ctrl_active = #007aff
mod.theme.color_outset_active = #007aff
mod.theme.color_cursor = #242426
mod.theme.color_text_cursor = #242426
mod.theme.color_text = #242426
mod.theme.color_text_hover = #242426
mod.theme.color_text_focus = #242426
mod.theme.color_text_active = #242426
mod.theme.color_text_down = #242426
mod.theme.color_text_disabled = #77777b
mod.theme.color_label_inner = #242426
mod.theme.color_label_inner_hover = #242426
mod.theme.color_label_inner_focus = #242426
mod.theme.color_label_inner_active = #242426
mod.theme.color_label_inner_down = #242426
mod.theme.color_label_inner_disabled = #77777b
mod.theme.color_label_outer = #242426
mod.theme.color_label_outer_hover = #242426
mod.theme.color_label_outer_focus = #242426
mod.theme.color_label_outer_active = #242426
mod.theme.color_label_outer_down = #242426
mod.theme.color_label_outer_disabled = #77777b
mod.theme.color_label = #242426
mod.theme.color_label_hover = #242426
mod.theme.color_label_focus = #242426
mod.theme.color_label_active = #242426
mod.theme.color_label_down = #242426
mod.theme.color_label_disabled = #77777b
mod.theme.color_icon = #242426
mod.theme.color_icon_hover = #242426
mod.theme.color_icon_focus = #242426
mod.theme.color_icon_active = #242426
mod.theme.color_icon_down = #242426
mod.theme.color_icon_disabled = #77777b
mod.theme.color_inset = #ffffff
mod.theme.color_inset_1 = #ffffff
mod.theme.color_inset_2 = #ffffff
mod.theme.color_outset = #ffffff
mod.theme.color_outset_1 = #ffffff
mod.theme.color_outset_2 = #ffffff
mod.theme.color_bevel_inset_1 = #bebebe
mod.theme.color_bevel_inset_2 = #bebebe
mod.theme.color_bevel_outset_1 = #bebebe
mod.theme.color_bevel_outset_2 = #bebebe
mod.theme.color_inset_hover = #ffffff
mod.theme.color_inset_1_hover = #ffffff
mod.theme.color_inset_2_hover = #ffffff
mod.theme.color_outset_hover = #ffffff
mod.theme.color_outset_1_hover = #ffffff
mod.theme.color_outset_2_hover = #ffffff
mod.theme.color_bevel_inset_1_hover = #bebebe
mod.theme.color_bevel_inset_2_hover = #bebebe
mod.theme.color_bevel_outset_1_hover = #bebebe
mod.theme.color_bevel_outset_2_hover = #bebebe
mod.theme.color_inset_focus = #ffffff
mod.theme.color_inset_1_focus = #ffffff
mod.theme.color_inset_2_focus = #ffffff
mod.theme.color_outset_focus = #ffffff
mod.theme.color_outset_1_focus = #ffffff
mod.theme.color_outset_2_focus = #ffffff
mod.theme.color_bevel_inset_1_focus = #007aff
mod.theme.color_bevel_inset_2_focus = #007aff
mod.theme.color_bevel_outset_1_focus = #007aff
mod.theme.color_bevel_outset_2_focus = #007aff
mod.theme.color_inset_active = #ffffff
mod.theme.color_inset_1_active = #ffffff
mod.theme.color_inset_2_active = #ffffff
mod.theme.color_outset_active = #ffffff
mod.theme.color_outset_1_active = #ffffff
mod.theme.color_outset_2_active = #ffffff
mod.theme.color_bevel_inset_1_active = #bebebe
mod.theme.color_bevel_inset_2_active = #bebebe
mod.theme.color_bevel_outset_1_active = #bebebe
mod.theme.color_bevel_outset_2_active = #bebebe
mod.theme.color_inset_down = #ffffff
mod.theme.color_inset_1_down = #ffffff
mod.theme.color_inset_2_down = #ffffff
mod.theme.color_outset_down = #ececec
mod.theme.color_outset_1_down = #ececec
mod.theme.color_outset_2_down = #ececec
mod.theme.color_bevel_inset_1_down = #bebebe
mod.theme.color_bevel_inset_2_down = #bebebe
mod.theme.color_bevel_outset_1_down = #bebebe
mod.theme.color_bevel_outset_2_down = #bebebe
mod.theme.color_inset_disabled = #ececec
mod.theme.color_inset_1_disabled = #ececec
mod.theme.color_inset_2_disabled = #ececec
mod.theme.color_outset_disabled = #ececec
mod.theme.color_outset_1_disabled = #ececec
mod.theme.color_outset_2_disabled = #ececec
mod.theme.color_bevel_inset_1_disabled = #bebebe
mod.theme.color_bevel_inset_2_disabled = #bebebe
mod.theme.color_bevel_outset_1_disabled = #bebebe
mod.theme.color_bevel_outset_2_disabled = #bebebe
mod.theme.color_inset_empty = #ffffff
mod.theme.color_inset_1_empty = #ffffff
mod.theme.color_inset_2_empty = #ffffff
mod.theme.color_outset_empty = #ffffff
mod.theme.color_outset_1_empty = #ffffff
mod.theme.color_outset_2_empty = #ffffff
mod.theme.color_bevel_inset_1_empty = #bebebe
mod.theme.color_bevel_inset_2_empty = #bebebe
mod.theme.color_bevel_outset_1_empty = #bebebe
mod.theme.color_bevel_outset_2_empty = #bebebe
mod.theme.color_inset_drag = #ffffff
mod.theme.color_inset_1_drag = #ffffff
mod.theme.color_inset_2_drag = #ffffff
mod.theme.color_outset_drag = #ffffff
mod.theme.color_outset_1_drag = #ffffff
mod.theme.color_outset_2_drag = #ffffff
mod.theme.color_bevel_inset_1_drag = #bebebe
mod.theme.color_bevel_inset_2_drag = #bebebe
mod.theme.color_bevel_outset_1_drag = #bebebe
mod.theme.color_bevel_outset_2_drag = #bebebe
mod.theme.color_text_on_accent = #ffffff
// Terminal surfaces follow the app unless this style supplies a console palette.
mod.theme.color_terminal_bg = mod.theme.color_bg_app
mod.theme.color_terminal_text = mod.theme.color_text
// The Architecture map's categorical palette (top-level directory ownership), kind stripes and status roles.
mod.theme.color_map_1 = #9cccff
mod.theme.color_map_1_a = #bae0ff
mod.theme.color_map_1_b = #85c1f5
mod.theme.color_map_1_c = #a5d3ff
mod.theme.color_map_1_d = #87b2df
mod.theme.color_map_1_e = #c6e1ff
mod.theme.color_map_1_f = #94c5fe
mod.theme.color_map_1_g = #b8d7ff
mod.theme.color_map_1_h = #94b6e7
mod.theme.color_map_2 = #88dec7
mod.theme.color_map_2_a = #a8f0d4
mod.theme.color_map_2_b = #77d2b4
mod.theme.color_map_2_c = #89e6c9
mod.theme.color_map_2_d = #77c2ad
mod.theme.color_map_2_e = #a3f0dc
mod.theme.color_map_2_f = #76d9c4
mod.theme.color_map_2_g = #88edda
mod.theme.color_map_2_h = #79c9bb
mod.theme.color_map_3 = #efcc83
mod.theme.color_map_3_a = #ffd79b
mod.theme.color_map_3_b = #e9bc6e
mod.theme.color_map_3_c = #fcd081
mod.theme.color_map_3_d = #d3b373
mod.theme.color_map_3_e = #f9da99
mod.theme.color_map_3_f = #e8c673
mod.theme.color_map_3_g = #fadb86
mod.theme.color_map_3_h = #d2bc79
mod.theme.color_map_4 = #d5b9f7
mod.theme.color_map_4_a = #dfd3ff
mod.theme.color_map_4_b = #c4acf1
mod.theme.color_map_4_c = #d9c1ff
mod.theme.color_map_4_d = #b9a2d8
mod.theme.color_map_4_e = #e8d4ff
mod.theme.color_map_4_f = #d3b0f3
mod.theme.color_map_4_g = #e6c5ff
mod.theme.color_map_4_h = #c6a6da
mod.theme.color_map_5 = #8fdcef
mod.theme.color_map_5_a = #a5ecf7
mod.theme.color_map_5_b = #78d1e1
mod.theme.color_map_5_c = #8ce4f6
mod.theme.color_map_5_d = #7dc1d1
mod.theme.color_map_5_e = #a7ebfd
mod.theme.color_map_5_f = #82d6ee
mod.theme.color_map_5_g = #a0e8ff
mod.theme.color_map_5_h = #86c6dc
mod.theme.color_map_6 = #a4dba4
mod.theme.color_map_6_a = #c3ecb5
mod.theme.color_map_6_b = #9ace8e
mod.theme.color_map_6_c = #aae2a3
mod.theme.color_map_6_d = #90bf8e
mod.theme.color_map_6_e = #bbeebc
mod.theme.color_map_6_f = #95d79d
mod.theme.color_map_6_g = #a6ebb3
mod.theme.color_map_6_h = #8ec79c
mod.theme.color_map_7 = #fab688
mod.theme.color_map_7_a = #ffcfb6
mod.theme.color_map_7_b = #f3a579
mod.theme.color_map_7_c = #ffbd95
mod.theme.color_map_7_d = #db9e77
mod.theme.color_map_7_e = #ffd4b7
mod.theme.color_map_7_f = #f6af78
mod.theme.color_map_7_g = #ffc79a
mod.theme.color_map_7_h = #dea778
mod.theme.color_map_8 = #f2b2ca
mod.theme.color_map_8_a = #ffc8e3
mod.theme.color_map_8_b = #e6a3c3
mod.theme.color_map_8_c = #fbb6d4
mod.theme.color_map_8_d = #d39bb1
mod.theme.color_map_8_e = #ffcfdf
mod.theme.color_map_8_f = #f0a9c1
mod.theme.color_map_8_g = #ffc0d2
mod.theme.color_map_8_h = #dca1b1
mod.theme.color_map_9 = #ffb5ae
mod.theme.color_map_9_a = #ffd1d1
mod.theme.color_map_9_b = #f6a5a4
mod.theme.color_map_9_c = #ffbebb
mod.theme.color_map_9_d = #df9e99
mod.theme.color_map_9_e = #ffd2cc
mod.theme.color_map_9_f = #fdada1
mod.theme.color_map_9_g = #ffc9bf
mod.theme.color_map_9_h = #e5a698
mod.theme.color_map_10 = #bbc7ff
mod.theme.color_map_10_a = #d0deff
mod.theme.color_map_10_b = #a8bbf7
mod.theme.color_map_10_c = #c1cfff
mod.theme.color_map_10_d = #a3aedf
mod.theme.color_map_10_e = #d5dcff
mod.theme.color_map_10_f = #b6bffd
mod.theme.color_map_10_g = #cfd4ff
mod.theme.color_map_10_h = #b0b2e5
mod.theme.color_map_11 = #cbd685
mod.theme.color_map_11_a = #e4e399
mod.theme.color_map_11_b = #c5c76c
mod.theme.color_map_11_c = #d6dc80
mod.theme.color_map_11_d = #b3bb74
mod.theme.color_map_11_e = #dae69e
mod.theme.color_map_11_f = #c0d179
mod.theme.color_map_11_g = #d1e68e
mod.theme.color_map_11_h = #b0c47f
mod.theme.color_map_kind_module = #315e96
mod.theme.color_map_kind_file = #566273
mod.theme.color_map_kind_struct = #286b5d
mod.theme.color_map_kind_enum = #4d702d
mod.theme.color_map_kind_trait = #70508f
mod.theme.color_map_kind_impl = #465f91
mod.theme.color_map_kind_fn = #79601f
mod.theme.color_map_kind_const = #865332
mod.theme.color_map_kind_type_alias = #326b7c
mod.theme.color_map_kind_macro = #8a4667
mod.theme.color_map_kind_component = #315e96
mod.theme.color_map_kind_thread = #79601f
mod.theme.color_map_kind_queue = #4d702d
mod.theme.color_map_kind_store = #865332
mod.theme.color_map_kind_memory = #70508f
mod.theme.color_map_kind_gpu = #326b7c
mod.theme.color_map_kind_io = #8a4667
mod.theme.color_success = #2f7d4b
mod.theme.color_map_basis_exact = #4c5968
mod.theme.color_map_basis_inferred = #7c5b27
mod.theme.color_map_basis_candidates = #72558c
mod.theme.color_syntax_keyword = #3d688a
mod.theme.color_syntax_ident = #242426
mod.theme.color_syntax_type = #36615a
mod.theme.color_syntax_fn = #504326
mod.theme.color_syntax_literal = #425f3e
mod.theme.color_syntax_string = #6e483b
mod.theme.color_syntax_comment = #4b5c47
mod.theme.color_syntax_macro = #674b6d
mod.theme.color_syntax_attribute = #755635
mod.theme.color_syntax_punctuation = #242426
mod.theme.color_syntax_keyword_branch = #674b6d
mod.theme.color_syntax_keyword_loop = #755635
mod.theme.color_syntax_constant = #6e483b
mod.theme.color_syntax_bg = #ffffff
true