DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368
/*
 * DO NOT EDIT.  THIS FILE IS GENERATED FROM /home/jenkins/src/releases/comm-beta/mozilla/widget/nsIGfxInfo.idl
 */

#ifndef __gen_nsIGfxInfo_h__
#define __gen_nsIGfxInfo_h__


#ifndef __gen_nsISupports_h__
#include "nsISupports.h"
#endif

#include "js/Value.h"

#include "js/GCAnnotations.h"

/* For IDL files that don't want to include root IDL files. */
#ifndef NS_NO_VTABLE
#define NS_NO_VTABLE
#endif

/* starting interface:    nsIGfxInfo */
#define NS_IGFXINFO_IID_STR "1accd618-4c80-4703-9d29-ecf257d397c8"

#define NS_IGFXINFO_IID \
  {0x1accd618, 0x4c80, 0x4703, \
    { 0x9d, 0x29, 0xec, 0xf2, 0x57, 0xd3, 0x97, 0xc8 }}

class NS_NO_VTABLE nsIGfxInfo : public nsISupports {
 public:

  NS_DECLARE_STATIC_IID_ACCESSOR(NS_IGFXINFO_IID)

  /* readonly attribute boolean D2DEnabled; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetD2DEnabled(bool *aD2DEnabled) = 0;

  /* readonly attribute boolean DWriteEnabled; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDWriteEnabled(bool *aDWriteEnabled) = 0;

  /* readonly attribute boolean usingGPUProcess; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUsingGPUProcess(bool *aUsingGPUProcess) = 0;

  /* readonly attribute DOMString DWriteVersion; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetDWriteVersion(nsAString& aDWriteVersion) = 0;

  /* readonly attribute DOMString cleartypeParameters; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetCleartypeParameters(nsAString& aCleartypeParameters) = 0;

  /* readonly attribute DOMString ContentBackend; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetContentBackend(nsAString& aContentBackend) = 0;

  /* readonly attribute boolean WebRenderEnabled; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetWebRenderEnabled(bool *aWebRenderEnabled) = 0;

  /* readonly attribute boolean isHeadless; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsHeadless(bool *aIsHeadless) = 0;

  /* readonly attribute boolean UsesTiling; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetUsesTiling(bool *aUsesTiling) = 0;

  /* readonly attribute boolean ContentUsesTiling; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetContentUsesTiling(bool *aContentUsesTiling) = 0;

  /* readonly attribute boolean OffMainThreadPaintEnabled; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOffMainThreadPaintEnabled(bool *aOffMainThreadPaintEnabled) = 0;

  /* readonly attribute long OffMainThreadPaintWorkerCount; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetOffMainThreadPaintWorkerCount(int32_t *aOffMainThreadPaintWorkerCount) = 0;

  /* readonly attribute DOMString adapterDescription; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterDescription(nsAString& aAdapterDescription) = 0;

  /* readonly attribute DOMString adapterDescription2; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterDescription2(nsAString& aAdapterDescription2) = 0;

  /* readonly attribute DOMString adapterDriver; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterDriver(nsAString& aAdapterDriver) = 0;

  /* readonly attribute DOMString adapterDriver2; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterDriver2(nsAString& aAdapterDriver2) = 0;

  /* readonly attribute DOMString adapterVendorID; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterVendorID(nsAString& aAdapterVendorID) = 0;

  /* readonly attribute DOMString adapterVendorID2; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterVendorID2(nsAString& aAdapterVendorID2) = 0;

  /* readonly attribute DOMString adapterDeviceID; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterDeviceID(nsAString& aAdapterDeviceID) = 0;

  /* readonly attribute DOMString adapterDeviceID2; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterDeviceID2(nsAString& aAdapterDeviceID2) = 0;

  /* readonly attribute DOMString adapterSubsysID; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterSubsysID(nsAString& aAdapterSubsysID) = 0;

  /* readonly attribute DOMString adapterSubsysID2; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterSubsysID2(nsAString& aAdapterSubsysID2) = 0;

  /* readonly attribute DOMString adapterRAM; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterRAM(nsAString& aAdapterRAM) = 0;

  /* readonly attribute DOMString adapterRAM2; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterRAM2(nsAString& aAdapterRAM2) = 0;

  /* readonly attribute DOMString adapterDriverVersion; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterDriverVersion(nsAString& aAdapterDriverVersion) = 0;

  /* readonly attribute DOMString adapterDriverVersion2; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterDriverVersion2(nsAString& aAdapterDriverVersion2) = 0;

  /* readonly attribute DOMString adapterDriverDate; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterDriverDate(nsAString& aAdapterDriverDate) = 0;

  /* readonly attribute DOMString adapterDriverDate2; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetAdapterDriverDate2(nsAString& aAdapterDriverDate2) = 0;

  /* readonly attribute boolean isGPU2Active; */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetIsGPU2Active(bool *aIsGPU2Active) = 0;

  /* [implicit_jscontext] jsval getMonitors (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetMonitors(JSContext* cx, JS::MutableHandleValue _retval) = 0;

  /* void getFailures (out unsigned long failureCount, [array, size_is (failureCount), optional] out long indices, [array, size_is (failureCount), retval] out string failures); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFailures(uint32_t *failureCount, int32_t **indices, char * **failures) = 0;

  /* [noscript,notxpcom] void logFailure (in ACString failure); */
  NS_IMETHOD_(void) LogFailure(const nsACString& failure) = 0;

  enum {
    FEATURE_DIRECT2D = 1,
    FEATURE_DIRECT3D_9_LAYERS = 2,
    FEATURE_DIRECT3D_10_LAYERS = 3,
    FEATURE_DIRECT3D_10_1_LAYERS = 4,
    FEATURE_OPENGL_LAYERS = 5,
    FEATURE_WEBGL_OPENGL = 6,
    FEATURE_WEBGL_ANGLE = 7,
    FEATURE_WEBGL_MSAA = 8,
    FEATURE_STAGEFRIGHT = 9,
    FEATURE_WEBRTC_HW_ACCELERATION = 10,
    FEATURE_DIRECT3D_11_LAYERS = 11,
    FEATURE_HARDWARE_VIDEO_DECODING = 12,
    FEATURE_DIRECT3D_11_ANGLE = 13,
    FEATURE_WEBRTC_HW_ACCELERATION_ENCODE = 14,
    FEATURE_WEBRTC_HW_ACCELERATION_DECODE = 15,
    FEATURE_CANVAS2D_ACCELERATION = 16,
    FEATURE_VP8_HW_DECODE = 17,
    FEATURE_VP9_HW_DECODE = 18,
    FEATURE_DX_INTEROP2 = 19,
    FEATURE_GPU_PROCESS = 20,
    FEATURE_WEBGL2 = 21,
    FEATURE_ADVANCED_LAYERS = 22,
    FEATURE_D3D11_KEYED_MUTEX = 23,
    FEATURE_WEBRENDER = 24,
    FEATURE_DX_NV12 = 25,
    FEATURE_MAX_VALUE = 25,
    FEATURE_STATUS_OK = 1,
    FEATURE_STATUS_UNKNOWN = 2,
    FEATURE_BLOCKED_DRIVER_VERSION = 3,
    FEATURE_BLOCKED_DEVICE = 4,
    FEATURE_DISCOURAGED = 5,
    FEATURE_BLOCKED_OS_VERSION = 6,
    FEATURE_BLOCKED_MISMATCHED_VERSION = 7
  };

  /* long getFeatureStatus (in long aFeature, [optional] out ACString aFailureId); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFeatureStatus(int32_t aFeature, nsACString& aFailureId, int32_t *_retval) = 0;

  /* DOMString getFeatureSuggestedDriverVersion (in long aFeature); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFeatureSuggestedDriverVersion(int32_t aFeature, nsAString& _retval) = 0;

  /* [noscript,notxpcom] void GetData (); */
  NS_IMETHOD_(void) GetData(void) = 0;

  /* [implicit_jscontext] jsval getInfo (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetInfo(JSContext* cx, JS::MutableHandleValue _retval) = 0;

  /* [implicit_jscontext] jsval getFeatureLog (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFeatureLog(JSContext* cx, JS::MutableHandleValue _retval) = 0;

  /* [implicit_jscontext] jsval getFeatures (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetFeatures(JSContext* cx, JS::MutableHandleValue _retval) = 0;

  /* [implicit_jscontext] jsval getActiveCrashGuards (); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD GetActiveCrashGuards(JSContext* cx, JS::MutableHandleValue _retval) = 0;

  /* boolean controlGPUProcessForXPCShell (in boolean aEnable); */
  JS_HAZ_CAN_RUN_SCRIPT NS_IMETHOD ControlGPUProcessForXPCShell(bool aEnable, bool *_retval) = 0;

};

  NS_DEFINE_STATIC_IID_ACCESSOR(nsIGfxInfo, NS_IGFXINFO_IID)

/* Use this macro when declaring classes that implement this interface. */
#define NS_DECL_NSIGFXINFO \
  NS_IMETHOD GetD2DEnabled(bool *aD2DEnabled) override; \
  NS_IMETHOD GetDWriteEnabled(bool *aDWriteEnabled) override; \
  NS_IMETHOD GetUsingGPUProcess(bool *aUsingGPUProcess) override; \
  NS_IMETHOD GetDWriteVersion(nsAString& aDWriteVersion) override; \
  NS_IMETHOD GetCleartypeParameters(nsAString& aCleartypeParameters) override; \
  NS_IMETHOD GetContentBackend(nsAString& aContentBackend) override; \
  NS_IMETHOD GetWebRenderEnabled(bool *aWebRenderEnabled) override; \
  NS_IMETHOD GetIsHeadless(bool *aIsHeadless) override; \
  NS_IMETHOD GetUsesTiling(bool *aUsesTiling) override; \
  NS_IMETHOD GetContentUsesTiling(bool *aContentUsesTiling) override; \
  NS_IMETHOD GetOffMainThreadPaintEnabled(bool *aOffMainThreadPaintEnabled) override; \
  NS_IMETHOD GetOffMainThreadPaintWorkerCount(int32_t *aOffMainThreadPaintWorkerCount) override; \
  NS_IMETHOD GetAdapterDescription(nsAString& aAdapterDescription) override; \
  NS_IMETHOD GetAdapterDescription2(nsAString& aAdapterDescription2) override; \
  NS_IMETHOD GetAdapterDriver(nsAString& aAdapterDriver) override; \
  NS_IMETHOD GetAdapterDriver2(nsAString& aAdapterDriver2) override; \
  NS_IMETHOD GetAdapterVendorID(nsAString& aAdapterVendorID) override; \
  NS_IMETHOD GetAdapterVendorID2(nsAString& aAdapterVendorID2) override; \
  NS_IMETHOD GetAdapterDeviceID(nsAString& aAdapterDeviceID) override; \
  NS_IMETHOD GetAdapterDeviceID2(nsAString& aAdapterDeviceID2) override; \
  NS_IMETHOD GetAdapterSubsysID(nsAString& aAdapterSubsysID) override; \
  NS_IMETHOD GetAdapterSubsysID2(nsAString& aAdapterSubsysID2) override; \
  NS_IMETHOD GetAdapterRAM(nsAString& aAdapterRAM) override; \
  NS_IMETHOD GetAdapterRAM2(nsAString& aAdapterRAM2) override; \
  NS_IMETHOD GetAdapterDriverVersion(nsAString& aAdapterDriverVersion) override; \
  NS_IMETHOD GetAdapterDriverVersion2(nsAString& aAdapterDriverVersion2) override; \
  NS_IMETHOD GetAdapterDriverDate(nsAString& aAdapterDriverDate) override; \
  NS_IMETHOD GetAdapterDriverDate2(nsAString& aAdapterDriverDate2) override; \
  NS_IMETHOD GetIsGPU2Active(bool *aIsGPU2Active) override; \
  NS_IMETHOD GetMonitors(JSContext* cx, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetFailures(uint32_t *failureCount, int32_t **indices, char * **failures) override; \
  NS_IMETHOD_(void) LogFailure(const nsACString& failure) override; \
  NS_IMETHOD GetFeatureStatus(int32_t aFeature, nsACString& aFailureId, int32_t *_retval) override; \
  NS_IMETHOD GetFeatureSuggestedDriverVersion(int32_t aFeature, nsAString& _retval) override; \
  NS_IMETHOD_(void) GetData(void) override; \
  NS_IMETHOD GetInfo(JSContext* cx, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetFeatureLog(JSContext* cx, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetFeatures(JSContext* cx, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD GetActiveCrashGuards(JSContext* cx, JS::MutableHandleValue _retval) override; \
  NS_IMETHOD ControlGPUProcessForXPCShell(bool aEnable, bool *_retval) override; 

/* Use this macro when declaring the members of this interface when the
   class doesn't implement the interface. This is useful for forwarding. */
#define NS_DECL_NON_VIRTUAL_NSIGFXINFO \
  nsresult GetD2DEnabled(bool *aD2DEnabled); \
  nsresult GetDWriteEnabled(bool *aDWriteEnabled); \
  nsresult GetUsingGPUProcess(bool *aUsingGPUProcess); \
  nsresult GetDWriteVersion(nsAString& aDWriteVersion); \
  nsresult GetCleartypeParameters(nsAString& aCleartypeParameters); \
  nsresult GetContentBackend(nsAString& aContentBackend); \
  nsresult GetWebRenderEnabled(bool *aWebRenderEnabled); \
  nsresult GetIsHeadless(bool *aIsHeadless); \
  nsresult GetUsesTiling(bool *aUsesTiling); \
  nsresult GetContentUsesTiling(bool *aContentUsesTiling); \
  nsresult GetOffMainThreadPaintEnabled(bool *aOffMainThreadPaintEnabled); \
  nsresult GetOffMainThreadPaintWorkerCount(int32_t *aOffMainThreadPaintWorkerCount); \
  nsresult GetAdapterDescription(nsAString& aAdapterDescription); \
  nsresult GetAdapterDescription2(nsAString& aAdapterDescription2); \
  nsresult GetAdapterDriver(nsAString& aAdapterDriver); \
  nsresult GetAdapterDriver2(nsAString& aAdapterDriver2); \
  nsresult GetAdapterVendorID(nsAString& aAdapterVendorID); \
  nsresult GetAdapterVendorID2(nsAString& aAdapterVendorID2); \
  nsresult GetAdapterDeviceID(nsAString& aAdapterDeviceID); \
  nsresult GetAdapterDeviceID2(nsAString& aAdapterDeviceID2); \
  nsresult GetAdapterSubsysID(nsAString& aAdapterSubsysID); \
  nsresult GetAdapterSubsysID2(nsAString& aAdapterSubsysID2); \
  nsresult GetAdapterRAM(nsAString& aAdapterRAM); \
  nsresult GetAdapterRAM2(nsAString& aAdapterRAM2); \
  nsresult GetAdapterDriverVersion(nsAString& aAdapterDriverVersion); \
  nsresult GetAdapterDriverVersion2(nsAString& aAdapterDriverVersion2); \
  nsresult GetAdapterDriverDate(nsAString& aAdapterDriverDate); \
  nsresult GetAdapterDriverDate2(nsAString& aAdapterDriverDate2); \
  nsresult GetIsGPU2Active(bool *aIsGPU2Active); \
  nsresult GetMonitors(JSContext* cx, JS::MutableHandleValue _retval); \
  nsresult GetFailures(uint32_t *failureCount, int32_t **indices, char * **failures); \
  nsresult_(void) LogFailure(const nsACString& failure); \
  nsresult GetFeatureStatus(int32_t aFeature, nsACString& aFailureId, int32_t *_retval); \
  nsresult GetFeatureSuggestedDriverVersion(int32_t aFeature, nsAString& _retval); \
  nsresult_(void) GetData(void); \
  nsresult GetInfo(JSContext* cx, JS::MutableHandleValue _retval); \
  nsresult GetFeatureLog(JSContext* cx, JS::MutableHandleValue _retval); \
  nsresult GetFeatures(JSContext* cx, JS::MutableHandleValue _retval); \
  nsresult GetActiveCrashGuards(JSContext* cx, JS::MutableHandleValue _retval); \
  nsresult ControlGPUProcessForXPCShell(bool aEnable, bool *_retval); 

/* Use this macro to declare functions that forward the behavior of this interface to another object. */
#define NS_FORWARD_NSIGFXINFO(_to) \
  NS_IMETHOD GetD2DEnabled(bool *aD2DEnabled) override { return _to GetD2DEnabled(aD2DEnabled); } \
  NS_IMETHOD GetDWriteEnabled(bool *aDWriteEnabled) override { return _to GetDWriteEnabled(aDWriteEnabled); } \
  NS_IMETHOD GetUsingGPUProcess(bool *aUsingGPUProcess) override { return _to GetUsingGPUProcess(aUsingGPUProcess); } \
  NS_IMETHOD GetDWriteVersion(nsAString& aDWriteVersion) override { return _to GetDWriteVersion(aDWriteVersion); } \
  NS_IMETHOD GetCleartypeParameters(nsAString& aCleartypeParameters) override { return _to GetCleartypeParameters(aCleartypeParameters); } \
  NS_IMETHOD GetContentBackend(nsAString& aContentBackend) override { return _to GetContentBackend(aContentBackend); } \
  NS_IMETHOD GetWebRenderEnabled(bool *aWebRenderEnabled) override { return _to GetWebRenderEnabled(aWebRenderEnabled); } \
  NS_IMETHOD GetIsHeadless(bool *aIsHeadless) override { return _to GetIsHeadless(aIsHeadless); } \
  NS_IMETHOD GetUsesTiling(bool *aUsesTiling) override { return _to GetUsesTiling(aUsesTiling); } \
  NS_IMETHOD GetContentUsesTiling(bool *aContentUsesTiling) override { return _to GetContentUsesTiling(aContentUsesTiling); } \
  NS_IMETHOD GetOffMainThreadPaintEnabled(bool *aOffMainThreadPaintEnabled) override { return _to GetOffMainThreadPaintEnabled(aOffMainThreadPaintEnabled); } \
  NS_IMETHOD GetOffMainThreadPaintWorkerCount(int32_t *aOffMainThreadPaintWorkerCount) override { return _to GetOffMainThreadPaintWorkerCount(aOffMainThreadPaintWorkerCount); } \
  NS_IMETHOD GetAdapterDescription(nsAString& aAdapterDescription) override { return _to GetAdapterDescription(aAdapterDescription); } \
  NS_IMETHOD GetAdapterDescription2(nsAString& aAdapterDescription2) override { return _to GetAdapterDescription2(aAdapterDescription2); } \
  NS_IMETHOD GetAdapterDriver(nsAString& aAdapterDriver) override { return _to GetAdapterDriver(aAdapterDriver); } \
  NS_IMETHOD GetAdapterDriver2(nsAString& aAdapterDriver2) override { return _to GetAdapterDriver2(aAdapterDriver2); } \
  NS_IMETHOD GetAdapterVendorID(nsAString& aAdapterVendorID) override { return _to GetAdapterVendorID(aAdapterVendorID); } \
  NS_IMETHOD GetAdapterVendorID2(nsAString& aAdapterVendorID2) override { return _to GetAdapterVendorID2(aAdapterVendorID2); } \
  NS_IMETHOD GetAdapterDeviceID(nsAString& aAdapterDeviceID) override { return _to GetAdapterDeviceID(aAdapterDeviceID); } \
  NS_IMETHOD GetAdapterDeviceID2(nsAString& aAdapterDeviceID2) override { return _to GetAdapterDeviceID2(aAdapterDeviceID2); } \
  NS_IMETHOD GetAdapterSubsysID(nsAString& aAdapterSubsysID) override { return _to GetAdapterSubsysID(aAdapterSubsysID); } \
  NS_IMETHOD GetAdapterSubsysID2(nsAString& aAdapterSubsysID2) override { return _to GetAdapterSubsysID2(aAdapterSubsysID2); } \
  NS_IMETHOD GetAdapterRAM(nsAString& aAdapterRAM) override { return _to GetAdapterRAM(aAdapterRAM); } \
  NS_IMETHOD GetAdapterRAM2(nsAString& aAdapterRAM2) override { return _to GetAdapterRAM2(aAdapterRAM2); } \
  NS_IMETHOD GetAdapterDriverVersion(nsAString& aAdapterDriverVersion) override { return _to GetAdapterDriverVersion(aAdapterDriverVersion); } \
  NS_IMETHOD GetAdapterDriverVersion2(nsAString& aAdapterDriverVersion2) override { return _to GetAdapterDriverVersion2(aAdapterDriverVersion2); } \
  NS_IMETHOD GetAdapterDriverDate(nsAString& aAdapterDriverDate) override { return _to GetAdapterDriverDate(aAdapterDriverDate); } \
  NS_IMETHOD GetAdapterDriverDate2(nsAString& aAdapterDriverDate2) override { return _to GetAdapterDriverDate2(aAdapterDriverDate2); } \
  NS_IMETHOD GetIsGPU2Active(bool *aIsGPU2Active) override { return _to GetIsGPU2Active(aIsGPU2Active); } \
  NS_IMETHOD GetMonitors(JSContext* cx, JS::MutableHandleValue _retval) override { return _to GetMonitors(cx, _retval); } \
  NS_IMETHOD GetFailures(uint32_t *failureCount, int32_t **indices, char * **failures) override { return _to GetFailures(failureCount, indices, failures); } \
  NS_IMETHOD_(void) LogFailure(const nsACString& failure) override { return _to LogFailure(failure); } \
  NS_IMETHOD GetFeatureStatus(int32_t aFeature, nsACString& aFailureId, int32_t *_retval) override { return _to GetFeatureStatus(aFeature, aFailureId, _retval); } \
  NS_IMETHOD GetFeatureSuggestedDriverVersion(int32_t aFeature, nsAString& _retval) override { return _to GetFeatureSuggestedDriverVersion(aFeature, _retval); } \
  NS_IMETHOD_(void) GetData(void) override { return _to GetData(); } \
  NS_IMETHOD GetInfo(JSContext* cx, JS::MutableHandleValue _retval) override { return _to GetInfo(cx, _retval); } \
  NS_IMETHOD GetFeatureLog(JSContext* cx, JS::MutableHandleValue _retval) override { return _to GetFeatureLog(cx, _retval); } \
  NS_IMETHOD GetFeatures(JSContext* cx, JS::MutableHandleValue _retval) override { return _to GetFeatures(cx, _retval); } \
  NS_IMETHOD GetActiveCrashGuards(JSContext* cx, JS::MutableHandleValue _retval) override { return _to GetActiveCrashGuards(cx, _retval); } \
  NS_IMETHOD ControlGPUProcessForXPCShell(bool aEnable, bool *_retval) override { return _to ControlGPUProcessForXPCShell(aEnable, _retval); } 

/* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
#define NS_FORWARD_SAFE_NSIGFXINFO(_to) \
  NS_IMETHOD GetD2DEnabled(bool *aD2DEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetD2DEnabled(aD2DEnabled); } \
  NS_IMETHOD GetDWriteEnabled(bool *aDWriteEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDWriteEnabled(aDWriteEnabled); } \
  NS_IMETHOD GetUsingGPUProcess(bool *aUsingGPUProcess) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUsingGPUProcess(aUsingGPUProcess); } \
  NS_IMETHOD GetDWriteVersion(nsAString& aDWriteVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetDWriteVersion(aDWriteVersion); } \
  NS_IMETHOD GetCleartypeParameters(nsAString& aCleartypeParameters) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetCleartypeParameters(aCleartypeParameters); } \
  NS_IMETHOD GetContentBackend(nsAString& aContentBackend) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentBackend(aContentBackend); } \
  NS_IMETHOD GetWebRenderEnabled(bool *aWebRenderEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetWebRenderEnabled(aWebRenderEnabled); } \
  NS_IMETHOD GetIsHeadless(bool *aIsHeadless) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsHeadless(aIsHeadless); } \
  NS_IMETHOD GetUsesTiling(bool *aUsesTiling) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetUsesTiling(aUsesTiling); } \
  NS_IMETHOD GetContentUsesTiling(bool *aContentUsesTiling) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContentUsesTiling(aContentUsesTiling); } \
  NS_IMETHOD GetOffMainThreadPaintEnabled(bool *aOffMainThreadPaintEnabled) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffMainThreadPaintEnabled(aOffMainThreadPaintEnabled); } \
  NS_IMETHOD GetOffMainThreadPaintWorkerCount(int32_t *aOffMainThreadPaintWorkerCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetOffMainThreadPaintWorkerCount(aOffMainThreadPaintWorkerCount); } \
  NS_IMETHOD GetAdapterDescription(nsAString& aAdapterDescription) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDescription(aAdapterDescription); } \
  NS_IMETHOD GetAdapterDescription2(nsAString& aAdapterDescription2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDescription2(aAdapterDescription2); } \
  NS_IMETHOD GetAdapterDriver(nsAString& aAdapterDriver) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDriver(aAdapterDriver); } \
  NS_IMETHOD GetAdapterDriver2(nsAString& aAdapterDriver2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDriver2(aAdapterDriver2); } \
  NS_IMETHOD GetAdapterVendorID(nsAString& aAdapterVendorID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterVendorID(aAdapterVendorID); } \
  NS_IMETHOD GetAdapterVendorID2(nsAString& aAdapterVendorID2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterVendorID2(aAdapterVendorID2); } \
  NS_IMETHOD GetAdapterDeviceID(nsAString& aAdapterDeviceID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDeviceID(aAdapterDeviceID); } \
  NS_IMETHOD GetAdapterDeviceID2(nsAString& aAdapterDeviceID2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDeviceID2(aAdapterDeviceID2); } \
  NS_IMETHOD GetAdapterSubsysID(nsAString& aAdapterSubsysID) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterSubsysID(aAdapterSubsysID); } \
  NS_IMETHOD GetAdapterSubsysID2(nsAString& aAdapterSubsysID2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterSubsysID2(aAdapterSubsysID2); } \
  NS_IMETHOD GetAdapterRAM(nsAString& aAdapterRAM) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterRAM(aAdapterRAM); } \
  NS_IMETHOD GetAdapterRAM2(nsAString& aAdapterRAM2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterRAM2(aAdapterRAM2); } \
  NS_IMETHOD GetAdapterDriverVersion(nsAString& aAdapterDriverVersion) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDriverVersion(aAdapterDriverVersion); } \
  NS_IMETHOD GetAdapterDriverVersion2(nsAString& aAdapterDriverVersion2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDriverVersion2(aAdapterDriverVersion2); } \
  NS_IMETHOD GetAdapterDriverDate(nsAString& aAdapterDriverDate) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDriverDate(aAdapterDriverDate); } \
  NS_IMETHOD GetAdapterDriverDate2(nsAString& aAdapterDriverDate2) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetAdapterDriverDate2(aAdapterDriverDate2); } \
  NS_IMETHOD GetIsGPU2Active(bool *aIsGPU2Active) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetIsGPU2Active(aIsGPU2Active); } \
  NS_IMETHOD GetMonitors(JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetMonitors(cx, _retval); } \
  NS_IMETHOD GetFailures(uint32_t *failureCount, int32_t **indices, char * **failures) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFailures(failureCount, indices, failures); } \
  NS_IMETHOD_(void) LogFailure(const nsACString& failure) override; \
  NS_IMETHOD GetFeatureStatus(int32_t aFeature, nsACString& aFailureId, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeatureStatus(aFeature, aFailureId, _retval); } \
  NS_IMETHOD GetFeatureSuggestedDriverVersion(int32_t aFeature, nsAString& _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeatureSuggestedDriverVersion(aFeature, _retval); } \
  NS_IMETHOD_(void) GetData(void) override; \
  NS_IMETHOD GetInfo(JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetInfo(cx, _retval); } \
  NS_IMETHOD GetFeatureLog(JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeatureLog(cx, _retval); } \
  NS_IMETHOD GetFeatures(JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetFeatures(cx, _retval); } \
  NS_IMETHOD GetActiveCrashGuards(JSContext* cx, JS::MutableHandleValue _retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetActiveCrashGuards(cx, _retval); } \
  NS_IMETHOD ControlGPUProcessForXPCShell(bool aEnable, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ControlGPUProcessForXPCShell(aEnable, _retval); } 


#endif /* __gen_nsIGfxInfo_h__ */