Table of Contents

Class KnownRunTimeTrackers

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

Provides well-known RunTimeTracker instances for tracking runtime durations of the operations.

public static class KnownRunTimeTrackers
Inheritance
KnownRunTimeTrackers

Fields

DefaultPaint

Tracks the runtime duration of the default control painting operation.

OpenGLPaint

Tracks the runtime duration of OpenGL-based control painting operations.

SkiaPaint

Tracks the runtime duration of Skia-based control painting operations.

Properties

TrackedControl

Gets the control currently being tracked for painting operations.

Methods

DefaultPaintStart(AbstractControl)

Starts tracking the default paint operation for the specified control.

DefaultPaintStop(AbstractControl)

Stops tracking the default paint operation for the specified control.

OpenGLPaintStart(AbstractControl)

Starts tracking the runtime duration of OpenGL-based control painting operations for the specified control.

OpenGLPaintStop(AbstractControl)

Stops tracking the runtime duration of OpenGL-based control painting operations for the specified control.

ResetPaintTrackers()

Resets the state of all paint trackers to their default values.

SkiaPaintStart(AbstractControl)

Starts tracking the runtime duration of Skia-based control painting operations for the specified control.

SkiaPaintStop(AbstractControl)

Stops tracking the runtime duration of Skia-based control painting operations for the specified control.

TrackAllModesPainting(UserControl, int)

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

TrackPainting(UserControl, int)

Tracks the painting of a specified user control by refreshing it a given number of times.