TMMFBackend

Ancestors

TPersistent
   |
TNotifiablePersistent
   |
TThreadPersistent
   |
TBackend
   |
TMemoryBackend

Description

This back-end is similar to TMemoryBackend in that it does not use any GDI handles and is lightweight. However, the memory backing the surface is not allocated in RAM but in so called memory-mapped files. A memory-mapped file is a segment of virtual memory which has been assigned a direct byte-for-byte correlation with some portion of a (temporary) file or swap file for that matter.

This approach may allow allocating large bitmaps that would otherwise not be allocateable by the default memory manager. The drawback is reduced performance due to swapping to and from disk that may occur.

 

Reference

Methods Properties Events
In TMMFBackend:
Create
In TBackend:
Assign Bits OnChanging
ChangeSize
Changing
Clear
Destroy
Empty
FinalizeSurface
InitializeSurface
In TThreadPersistent:
Lock LockCount
Unlock
In TNotifiablePersistent:
BeginUpdate UpdateCount OnChange
Changed
EndUpdate

See Also

TMemoryBackend