CompositionOptions Class
Definition
public class CompositionOptions
Constructors
| Name | Description |
|---|---|
| CompositionOptions | No summary available. |
CompositionOptions Constructor
public CompositionOptions()
Properties
| Name | Description |
|---|---|
| DirtyRectMergeEagerness | Controls the eagerness of merging dirty rects. WPF uses 50000, Avalonia currently has a different default that's a subject to change. You can play with this property to find the best value for your application. |
| MaxDirtyRects | The maximum number of dirty rects to track when region clip is in use. Setting this to zero or negative value will remove the smarter algorithm and will use underlying drawing context region support directly. Default value is 8. |
| UseRegionDirtyRectClipping | Enables more accurate tracking of dirty rects by utilizing regions if supported by the underlying drawing context |
| UseSaveLayerRootClip | Enforces dirty contents to be rendered into an extra intermediate surface before being applied onto the saved frame. Required as a workaround for Skia bug https://issues.skia.org/issues/327877721 |
DirtyRectMergeEagerness Property
Controls the eagerness of merging dirty rects. WPF uses 50000, Avalonia currently has a different default that's a subject to change. You can play with this property to find the best value for your application.
public Nullable<double> DirtyRectMergeEagerness { get; set; }
MaxDirtyRects Property
The maximum number of dirty rects to track when region clip is in use. Setting this to zero or negative value will remove the smarter algorithm and will use underlying drawing context region support directly. Default value is 8.
public Nullable<int> MaxDirtyRects { get; set; }
UseRegionDirtyRectClipping Property
Enables more accurate tracking of dirty rects by utilizing regions if supported by the underlying drawing context
public Nullable<bool> UseRegionDirtyRectClipping { get; set; }
UseSaveLayerRootClip Property
Enforces dirty contents to be rendered into an extra intermediate surface before being applied onto the saved frame. Required as a workaround for Skia bug https://issues.skia.org/issues/327877721
public Nullable<bool> UseSaveLayerRootClip { get; set; }