paintcullprobe

command
v1.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2026 License: BSD-3-Clause Imports: 17 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command paintcullprobe is the on-device check for the mobile paint walk's off-clip culling (#481, the desktop half was #464). It runs perfscenes' spinner scene, n cards in a scroll container plus one infinite progress bar, and prints to stdout:

RESULT scene=spinner n=... frames=... fps=... cpu_ms_per_frame=...
CAPTURE offset=... size=WxH sha256=...

The RESULT line is frame cost, measured as perfscenes measures it: one refresh per painted frame, after a warm-up, with cpu_ms_per_frame counting every thread; a CPU profile of that window goes to the app's temporary directory (PROFILE line). Then the spinner is hidden and the window is captured at a series of scroll offsets, some leaving a card edge inside the cull margin; build the probe before and after a change and the hashes must match.

Build and run on an iOS device (stdout streams back with --console):

bellui package -os ios -app-id com.trendvidia.paintcullprobe -src hack/paintcullprobe
xcrun devicectl device install app --device <id> paintcullprobe.app
xcrun devicectl device process launch --console --terminate-existing --device <id> com.trendvidia.paintcullprobe

On Android, build with -os android and read stdout with adb logcat. On a desktop, go run ./hack/paintcullprobe opens a 1920×1080 window.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL