Struct xpcom::interfaces::nsIGfxInfo [] [src]

#[repr(C)]
pub struct nsIGfxInfo { /* fields omitted */ }

interface nsIGfxInfo : nsISupports

Methods

impl nsIGfxInfo
[src]

[src]

Cast this nsIGfxInfo to one of its base interfaces.

impl nsIGfxInfo
[src]

FEATURE_DIRECT2D: i64 = 1

FEATURE_DIRECT3D_9_LAYERS: i64 = 2

FEATURE_DIRECT3D_10_LAYERS: i64 = 3

FEATURE_DIRECT3D_10_1_LAYERS: i64 = 4

FEATURE_OPENGL_LAYERS: i64 = 5

FEATURE_WEBGL_OPENGL: i64 = 6

FEATURE_WEBGL_ANGLE: i64 = 7

FEATURE_WEBGL_MSAA: i64 = 8

FEATURE_STAGEFRIGHT: i64 = 9

FEATURE_WEBRTC_HW_ACCELERATION: i64 = 10

FEATURE_DIRECT3D_11_LAYERS: i64 = 11

FEATURE_HARDWARE_VIDEO_DECODING: i64 = 12

FEATURE_DIRECT3D_11_ANGLE: i64 = 13

FEATURE_WEBRTC_HW_ACCELERATION_ENCODE: i64 = 14

FEATURE_WEBRTC_HW_ACCELERATION_DECODE: i64 = 15

FEATURE_CANVAS2D_ACCELERATION: i64 = 16

FEATURE_VP8_HW_DECODE: i64 = 17

FEATURE_VP9_HW_DECODE: i64 = 18

FEATURE_DX_INTEROP2: i64 = 19

FEATURE_GPU_PROCESS: i64 = 20

FEATURE_WEBGL2: i64 = 21

FEATURE_ADVANCED_LAYERS: i64 = 22

FEATURE_D3D11_KEYED_MUTEX: i64 = 23

FEATURE_MAX_VALUE: i64 = 23

FEATURE_STATUS_OK: i64 = 1

FEATURE_STATUS_UNKNOWN: i64 = 2

FEATURE_BLOCKED_DRIVER_VERSION: i64 = 3

FEATURE_BLOCKED_DEVICE: i64 = 4

FEATURE_DISCOURAGED: i64 = 5

FEATURE_BLOCKED_OS_VERSION: i64 = 6

FEATURE_BLOCKED_MISMATCHED_VERSION: i64 = 7

[src]

readonly attribute boolean D2DEnabled;

[src]

readonly attribute boolean DWriteEnabled;

[src]

readonly attribute boolean usingGPUProcess;

[src]

readonly attribute DOMString DWriteVersion;

[src]

readonly attribute DOMString cleartypeParameters;

[src]

readonly attribute DOMString ContentBackend;

[src]

readonly attribute boolean WebRenderEnabled;

[src]

readonly attribute boolean isHeadless;

[src]

readonly attribute boolean OffMainThreadPaintEnabled;

[src]

/**
   * The name of the display adapter.
   */

readonly attribute DOMString adapterDescription;

[src]

readonly attribute DOMString adapterDescription2;

[src]

readonly attribute DOMString adapterDriver;

[src]

readonly attribute DOMString adapterDriver2;

[src]

readonly attribute DOMString adapterVendorID;

[src]

readonly attribute DOMString adapterVendorID2;

[src]

readonly attribute DOMString adapterDeviceID;

[src]

readonly attribute DOMString adapterDeviceID2;

[src]

readonly attribute DOMString adapterSubsysID;

[src]

readonly attribute DOMString adapterSubsysID2;

[src]

/**
   * The amount of RAM in MB in the display adapter.
   */

readonly attribute DOMString adapterRAM;

[src]

readonly attribute DOMString adapterRAM2;

[src]

readonly attribute DOMString adapterDriverVersion;

[src]

readonly attribute DOMString adapterDriverVersion2;

[src]

readonly attribute DOMString adapterDriverDate;

[src]

readonly attribute DOMString adapterDriverDate2;

[src]

readonly attribute boolean isGPU2Active;

[src]

void getFailures (out unsigned long failureCount, [array, size_is (failureCount), optional] out long indices, [array, size_is (failureCount), retval] out string failures);

[src]

[noscript,notxpcom] void logFailure (in ACString failure);

[src]

/**
   * 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.
   */

long getFeatureStatus (in long aFeature, [optional] out ACString aFailureId);

[src]

DOMString getFeatureSuggestedDriverVersion (in long aFeature);

[src]

/**
   * 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.
   */

DOMString getWebGLParameter (in DOMString aParam);

[src]

[noscript,notxpcom] void GetData ();

[src]

boolean controlGPUProcessForXPCShell (in boolean aEnable);

Methods from Deref<Target = nsISupports>

[src]

Cast this nsISupports to one of its base interfaces.

[src]

void QueryInterface (in nsIIDRef uuid, [iid_is (uuid), retval] out nsQIResult result);

[src]

[noscript,notxpcom] nsrefcnt AddRef ();

[src]

[noscript,notxpcom] nsrefcnt Release ();

Trait Implementations

impl XpCom for nsIGfxInfo
[src]

IID: nsIID = nsID(449631768, 19584, 18179, [157, 41, 236, 242, 87, 211, 151, 200])

[src]

Perform a QueryInterface call on this object, attempting to dynamically cast it to the requested interface type. Returns Some(RefPtr) if the cast succeeded, and None otherwise. Read more

impl RefCounted for nsIGfxInfo
[src]

[src]

Increment the reference count.

[src]

Decrement the reference count, potentially freeing backing memory.

impl Deref for nsIGfxInfo
[src]

The resulting type after dereferencing.

[src]

Dereferences the value.