The headless host's IRenderSurface: keeps a copy of every tile presented, in order, for tests, servers and tools that drive a DocumentSession without a UI.
public sealed class HeadlessSurface : IRenderSurface, IDisposable
Spec #33 story 54 (headless test host). Safe to present to from several threads. Disposing it returns the copies' pooled buffers.
kind:method, kind:property, kind:ctor. Press Esc to clear.BytesGets the bytes of pixels the surface holds.TilesGets the tiles presented so far, in the order they arrived.Dispose()Releases every copy.Evict(Tile)Drops a presented tile and returns its copy of the pixels to the pool.Present(Tile, Bitmap)Takes the pixels of one finished tile; a tile presented again (redrawn after an edit) replaces its earlier pixels.