mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-14 22:42:46 +00:00
docs(gif): clarify combined allocation budget
This commit is contained in:
1 parent
ededdd75c9
commit
669d62e755
1 file changed
+4
-3
@@ -22,9 +22,10 @@ pub struct FrameLimits {
|
||||
pub max_bytes: u64,
|
||||
/// Largest canvas (logical screen) in bytes at 4 bytes a pixel. Default 512 MiB.
|
||||
pub max_canvas_bytes: u64,
|
||||
/// Largest single decoder allocation. `None` uses twice `max_canvas_bytes`, matching the
|
||||
/// decoder's working-buffer allowance. Set this when an application has a tighter allocator
|
||||
/// budget. Default `None`.
|
||||
/// Combined decoder working-allocation budget. The persistent canvas reserves budget before
|
||||
/// the frame buffer. `None` uses twice `max_canvas_bytes`, matching the decoder's working
|
||||
/// buffer allowance. Set this when an application has a tighter allocator budget. Default
|
||||
/// `None`.
|
||||
pub max_decode_bytes: Option<u64>,
|
||||
/// Merge a frame identical to the one before into it (its delay added). Default off.
|
||||
pub merge_identical: bool,
|
||||
|
||||
Reference in new issue
Block a user