1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*-
4 /* This Source Code Form is subject to the terms of the Mozilla Public
5 * License, v. 2.0. If a copy of the MPL was not distributed with this
6 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */
8 include "mozilla/GfxMessageUtils.h";
10 using struct DxgiAdapterDesc from "mozilla/D3DMessageUtils.h";
11 using struct mozilla::null_t from "mozilla/ipc/IPCCore.h";
12 using mozilla::gfx::FeatureStatus from "gfxTelemetry.h";
13 using mozilla::gfx::BackendType from "mozilla/gfx/Types.h";
14 using mozilla::gfx::IntSize from "mozilla/gfx/Point.h";
15 using gfxImageFormat from "mozilla/gfx/Types.h";
16 using mozilla::gfx::D3D11Checks::VideoFormatOption from "mozilla/gfx/D3D11Checks.h";
17 using mozilla::gfx::D3D11Checks::VideoFormatOptionSet from "mozilla/gfx/D3D11Checks.h";
22 struct D3D11DeviceStatus
25 bool textureSharingWorks;
26 uint32_t featureLevel;
27 DxgiAdapterDesc adapter;
28 int32_t sequenceNumber;
29 VideoFormatOptionSet formatOptions;
34 FeatureStatus hwCompositing;
35 FeatureStatus d3d11Compositing;
36 FeatureStatus oglCompositing;
37 FeatureStatus useD2D1;
38 FeatureStatus d3d11HwAngle;
41 struct ContentDeviceData
44 D3D11DeviceStatus d3d11;
45 uint8_t[] cmsOutputProfileData;
48 // Represents the state of a feature that has failed to initialize.
58 // If a feature state has changed from Enabled -> Failure, these will be non-
60 FeatureFailure? d3d11Compositing;
61 FeatureFailure? oglCompositing;
62 D3D11DeviceStatus? gpuDevice;
84 struct GfxInfoFeatureStatus
92 } // namespace mozilla