nsIGfxInfo

Methods

getFailures(failureCount, failures)

logFailure(failure)

getFeatureStatus(aFeature)

Ask about a feature, and return the status of that feature

getFeatureSuggestedDriverVersion(aFeature)

getWebGLParameter(aParam)

WebGL info; valid params are “full-renderer”, “vendor”, “renderer”, “version”,
“shading_language_version”, “extensions”. These return info from
underlying GL impl that’s used to implement WebGL.

GetData()

getInfo()

Attributes

D2DEnabled

DWriteEnabled

DWriteVersion

cleartypeParameters

adapterDescription

The name of the display adapter.

adapterDescription2

adapterDriver

adapterDriver2

adapterVendorID

adapterVendorID2

adapterDeviceID

adapterDeviceID2

adapterSubsysID

adapterSubsysID2

adapterRAM

The amount of RAM in MB in the display adapter.

adapterRAM2

adapterDriverVersion

adapterDriverVersion2

adapterDriverDate

adapterDriverDate2

isGPU2Active

Constants

FEATURE_DIRECT2D

FEATURE_DIRECT3D_9_LAYERS

FEATURE_DIRECT3D_10_LAYERS

FEATURE_DIRECT3D_10_1_LAYERS

FEATURE_OPENGL_LAYERS

FEATURE_WEBGL_OPENGL

FEATURE_WEBGL_ANGLE

FEATURE_WEBGL_MSAA

FEATURE_STAGEFRIGHT

FEATURE_WEBRTC_HW_ACCELERATION

FEATURE_DIRECT3D_11_LAYERS

FEATURE_STATUS_OK

FEATURE_STATUS_UNKNOWN

FEATURE_BLOCKED_DRIVER_VERSION

FEATURE_BLOCKED_DEVICE

FEATURE_DISCOURAGED

FEATURE_BLOCKED_OS_VERSION