Kanzi 3.9.10
kanzi::CompositionManager::ReuseParameters Struct Reference

Reuse and pruning parameters for unused composition targets. More...

#include <kanzi/core.ui/graphics2d/composition_manager.hpp>

Public Attributes

uint64_t delayInFrames
 Number of frames to keep target in available list.
 
size_t fifoDepth
 Number of youngest frames to keep in available list regardless of age.
 
float maxSizeRatio
 Maximum size ratio for reusing existing target.
 

Detailed Description

Reuse and pruning parameters for unused composition targets.

Since
Kanzi 3.9.5

Member Data Documentation

◆ delayInFrames

uint64_t kanzi::CompositionManager::ReuseParameters::delayInFrames

Number of frames to keep target in available list.

◆ fifoDepth

size_t kanzi::CompositionManager::ReuseParameters::fifoDepth

Number of youngest frames to keep in available list regardless of age.

◆ maxSizeRatio

float kanzi::CompositionManager::ReuseParameters::maxSizeRatio

Maximum size ratio for reusing existing target.

Clamped to minimum of 1.0. The default value is the golden ratio, which provides a compromise between reuse efficiency and performance.


The documentation for this struct was generated from the following file: