Commit Graph
2 Commits
Author SHA1 Message Date
Anees Iqbal fde5f61efa ✅ Probe a surface's block let go and made again
The surface probe's check now has both processes let their textures over the
surface go, so the plane's shared block is freed, and make them again: a CPU
write and a GPU render in one process are then sampled on the GPU in the
other, as at the first making. It covers the path where a plane's block is
asked for again after its last holder let it go.
2026-11-05 21:58:31 -08:00
Anees Iqbal 0c41b7050e ✅ Count IOSurface copies and probe a surface in two processes
The desktop's hot path is IOSurfaces drawn in one process and composited in
another. The bundle now counts its copies between a surface's pages and its
GPU view, by direction, in bytes and time, and writes a line every 10 s while
copies run to /tmp/rgfx-surface-copies.log. surface_probe shares one surface
between two processes: check writes it on the CPU and samples it on the GPU,
renders it on the GPU and reads it on the CPU, and renders and samples it on
the GPU, across the pair; bench times a render here and a sample there per
frame, as a window and the compositor do.
2026-11-05 21:58:31 -08:00