Interface nsIGfxInfoType

NOTE: this interface is completely undesigned, not stable and likely to change

Hierarchy

Properties

AzureCanvasBackend: string
AzureContentBackend: string
CodecSupportInfo: string
ContentBackend: string

These are valid across all platforms.

D2DEnabled: boolean

These are win32-specific

DWriteEnabled: boolean
DWriteVersion: string
EmbeddedInFirefoxReality: boolean
TargetFrameRate: number
adapterDescription: string

The name of the display adapter.

adapterDescription2: string
adapterDeviceID: string
adapterDeviceID2: string
adapterDriver: string
adapterDriver2: string
adapterDriverDate: string
adapterDriverDate2: string
adapterDriverVendor: string
adapterDriverVendor2: string
adapterDriverVersion: string
adapterDriverVersion2: string
adapterRAM: number

The amount of RAM in MB in the display adapter.

adapterRAM2: number
adapterSubsysID: string
adapterSubsysID2: string
adapterVendorID: string

These types are inspired by DXGI_ADAPTER_DESC

adapterVendorID2: string
cleartypeParameters: string
drmRenderDevice: string
hasBattery: boolean
isGPU2Active: boolean
isHeadless: boolean
testType: string
usingGPUProcess: boolean
windowProtocol: string

These are non-Android linux-specific

Methods

  • Increases the reference count for this interface. The associated instance will not be deleted unless the reference count is returned to zero.

    Returns

    The resulting reference count.

    Returns number

  • Returns void

  • Maximum refresh rate among detected monitors. -1 if unknown. aMixed is set to true if we know there are multiple displays and they have different refresh rates, else false. The returned value is in Hz.

    Parameters

    • aMixed: boolean

    Returns number

  • Parameters

    • aIID: object
    • Optional aInstancePtr: object

    Returns any

  • A run time mechanism for interface discovery.

    Returns

    NS_OK if the interface is supported by the associated instance, NS_NOINTERFACE if it is not.

    aInstancePtr must not be null.

    Parameters

    • aIID: object

      [in] A requested interface IID

    • aInstancePtr: object

      [out] A pointer to an interface pointer to receive the result.

    Returns void

  • Decreases the reference count for this interface. Generally, if the reference count returns to zero, the associated instance is deleted.

    Returns

    The resulting reference count.

    Returns number

  • Parameters

    • aEnable: boolean

    Returns boolean

  • Returns void

  • Returns any

  • Returns any

  • Ask about a feature, and return the status of that feature. If the feature is not ok then aFailureId will give a unique failure Id otherwise it will be empty.

    Parameters

    • aFeature: number
    • aFailureId: string

    Returns number

  • Ask about a feature, return the minimum driver version required for it if its status is FEATURE_BLOCKED_DRIVER_VERSION, otherwise return an empty string.

    Parameters

    • aFeature: number

    Returns string

  • Returns any

  • Returns any

  • Returns an array of objects describing each monitor. Guaranteed properties are "screenWidth" and "screenHeight". This is only implemented on Desktop.

    Windows additionally supplies "refreshRate" and "pseudoDisplay".

    OS X additionally supplies "scale".

    Returns any

  • Returns void

  • Parameters

    • failure: string

    Returns void

Generated using TypeDoc