Draft: Add BufferHelper
requested to merge add-buffer-helper into 205-overall-performance-is-degraded-when-saving-at-high-frame-rates
These patches provide a unified memory buffer interface, which can be used by three main subsystems:
-
Saving ZBuffer
s -
Accumulation buffers -
Standard SoftBufferAllocMgr
It allows both Ephemeral
and Persistent
buffers, and a mechanism to control several Parameters
:
-
Allocator
ofMemBuffer
s - Persistent (pool) size policy
- Memory initialization
- Pool (re)size policy
It aims to be more general than !257, which becomes obsolete after this.
Also closes #107
Edited by Alejandro Homs Puron