Table of Contents

Method TrackAllModesPainting

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

TrackAllModesPainting(UserControl, int)

Tracks and logs the rendering performance of a UserControl across all supported rendering modes.

public static void TrackAllModesPainting(UserControl control, int repeatCount)

Parameters

control UserControl

The UserControl to be tested for rendering performance.

repeatCount int

The number of times to repeat the rendering operation for each mode. Must be a non-negative integer.

Remarks

This method evaluates the rendering performance of the specified control in three rendering modes: SoftwareDoubleBuffered, SkiaSharp, and SkiaSharpWithOpenGL. For each mode, the method sets the rendering mode, processes pending application events, performs the rendering operation, and logs the results.