Table of Contents

Class GPUInfo

Namespace
Selenium.WebDriver.BiDi.Cdp.SystemInfo
Assembly
Selenium.WebDriver.BiDi.Cdp.dll

Provides information about the GPU(s) on the system.

public sealed record GPUInfo : IEquatable<GPUInfo>
Inheritance
GPUInfo
Implements
Inherited Members

Constructors

GPUInfo(ImmutableArray<GPUDevice>, ImmutableArray<string>, ImmutableArray<VideoDecodeAcceleratorCapability>, ImmutableArray<VideoEncodeAcceleratorCapability>)

Provides information about the GPU(s) on the system.

public GPUInfo(ImmutableArray<GPUDevice> Devices, ImmutableArray<string> DriverBugWorkarounds, ImmutableArray<VideoDecodeAcceleratorCapability> VideoDecoding, ImmutableArray<VideoEncodeAcceleratorCapability> VideoEncoding)

Parameters

Devices ImmutableArray<GPUDevice>

The graphics devices on the system. Element 0 is the primary GPU.

DriverBugWorkarounds ImmutableArray<string>

An optional array of GPU driver bug workarounds.

VideoDecoding ImmutableArray<VideoDecodeAcceleratorCapability>

Supported accelerated video decoding capabilities.

VideoEncoding ImmutableArray<VideoEncodeAcceleratorCapability>

Supported accelerated video encoding capabilities.

Properties

AuxAttributes

An optional dictionary of additional GPU related attributes.

public JsonElement? AuxAttributes { get; init; }

Property Value

JsonElement?

Devices

The graphics devices on the system. Element 0 is the primary GPU.

public ImmutableArray<GPUDevice> Devices { get; init; }

Property Value

ImmutableArray<GPUDevice>

DriverBugWorkarounds

An optional array of GPU driver bug workarounds.

public ImmutableArray<string> DriverBugWorkarounds { get; init; }

Property Value

ImmutableArray<string>

FeatureStatus

An optional dictionary of graphics features and their status.

public JsonElement? FeatureStatus { get; init; }

Property Value

JsonElement?

VideoDecoding

Supported accelerated video decoding capabilities.

public ImmutableArray<VideoDecodeAcceleratorCapability> VideoDecoding { get; init; }

Property Value

ImmutableArray<VideoDecodeAcceleratorCapability>

VideoEncoding

Supported accelerated video encoding capabilities.

public ImmutableArray<VideoEncodeAcceleratorCapability> VideoEncoding { get; init; }

Property Value

ImmutableArray<VideoEncodeAcceleratorCapability>