Method TrackAllModesPainting
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
controlUserControlThe UserControl to be tested for rendering performance.
repeatCountintThe 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.