Files
reims-vgpu/docs
Anees Iqbal c1fcbf5fd1 🔥 Drop read-only surfaces and the deaths through their twins
Only tests have made host-OS IOSurfaces since 110b53637: no production caller
reaches the platform's surfaces, so nothing the guest or the host observes
changes. The client direction goes from SurfaceSpec, so no surface is
read-only for the GPU, and with it what answered writes through one:
- Kept::Always, the deaths through a read-only surface's writable twin (a
  pass's attachment, resolve or visibility results, a draw's or dispatch's
  write, a blit), and the count of kept objects only those deaths read;
- the dropped-write class: gpu_read_only on buffers and textures, the blit
  extents measured to drop, the swizzled views and usage bits answered over
  read-only surfaces, the CPU write through a twin;
- macOS's kIOSurfaceClientDirection key and the Linux surface's read-only
  view of the guest's pages.

Read-only memory the runtime copies (Kept::Copied) is answered as before: the
pass-level check of a depth StoreAndMultisampleResolve into it now gates on
COPIES_READ_ONLY, which equals TWINS_READ_ONLY on both hosts. The tests of the
twin class go; those of the live classes bind the YCbCr formats whose writes
the runtime refuses instead. The measured swizzle-usage and Unknown-usage
facts move to view()'s and gpu::desc's docs, and the accuracy ledger's
read-only row keeps the guest's read-only objects alone.
2026-11-14 08:30:30 -08:00
..