makepad/platform/tests
Admin 759148688f platform: frame pacing, idle apps, GPU pressure and cameras on the HAL
An idle app takes no loop turn: a session's pump blocks until there is
news for it, wakes and GPU results reach only their own session, and a
hosted app builds no frame while its window has no free shared image. Each
window paces at its own display; a texture pass paints only when its window
can show the result and is exactly its render target at every scale. The
direct compositor renders on the discrete GPU when there is one; Mirror and
Extended switch without an output rebuild. Vulkan: a full GPU never makes an
app fall back, fail or spin; upload arenas are pooled; pipeline variants a
batch needs compile before it; a grab of a hosted window no longer loses the
device; the WM's own device is replaceable and apps hear Event::GpuReset.
Every process lifts its open-file limit. Cameras: retry after a failed
open, rotation kept, a synthetic test camera, Cx::video_inputs. Android:
standalone app APKs run on the HAL again, file video decoding, system back
gestures, audio underruns grow the buffer. Frame tracing names who keeps an
app awake; one main-lag meter for macOS and Linux.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
2026-10-14 07:24:22 +02:00
..
fixtures draw: geometry, shaders, WGSL, fonts, turtle/layout 2026-09-15 13:39:02 +02:00
pass_waits_for_window.rs platform: frame pacing, idle apps, GPU pressure and cameras on the HAL 2026-10-14 07:24:22 +02:00
pool_latency.rs platform: HAL-only on every platform; the old backends are deleted 2026-10-13 12:26:21 +02:00
resource_resolver.rs platform (resource_resolver): ResourceResolver::read_within reads an absolute path only inside one of the host's trusted resource roots (canonicalised, the root stripped, the rest read through that root so no symlink below it is followed; anything else is an escape), so Motion's Text3D lowering can name the engine's bundled fonts while document paths stay confined. Checked: cargo test --release -p makepad-platform --test resource_resolver (7, incl. absolute_paths_are_read_only_inside_trusted_roots). 2026-09-30 10:46:20 +02:00
texture_lifetime.rs platform: HAL-only on every platform; the old backends are deleted 2026-10-13 12:26:21 +02:00
ui_hang.rs Ten fixes from moving an app onto current dev: macOS drawable/resize, the UI signal broadcast, internal drag on Linux, and log noise (#1239) 2026-09-18 09:06:31 +02:00
ui_waker_headless.rs platform: macOS display-link, App Nap, waker, IME-adjacent event loop 2026-09-15 13:40:24 +02:00