Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(556)

Unified Diff: gpu/ipc/common/gpu_info.mojom

Issue 2147693002: Struct traits used by GpuInfo (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: The right public_deps Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « gpu/ipc/common/dx_diag_node_struct_traits.cc ('k') | gpu/ipc/common/gpu_info.typemap » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gpu/ipc/common/gpu_info.mojom
diff --git a/gpu/ipc/common/gpu_info.mojom b/gpu/ipc/common/gpu_info.mojom
index 26b83872e7671082c154774fad6cea1185265ec6..db7babde5b2e53e103fc7e341465374f9edd8ad5 100644
--- a/gpu/ipc/common/gpu_info.mojom
+++ b/gpu/ipc/common/gpu_info.mojom
@@ -1,9 +1,12 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
+// Copyright 2016 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+// gpu/config/gpu_info.h
module gpu.mojom;
+import "ui/gfx/geometry/mojo/geometry.mojom";
+
// gpu::GPUInfo::GPUDevice
struct GpuDevice {
uint32 vendor_id;
@@ -13,9 +16,55 @@ struct GpuDevice {
string device_string;
};
+// gpu::CollectInfoResult
enum CollectInfoResult {
kCollectInfoNone = 0,
kCollectInfoSuccess = 1,
kCollectInfoNonFatalFailure = 2,
kCollectInfoFatalFailure = 3
};
+
+// gpu::VideoCodecProfile
+enum VideoCodecProfile {
+ VIDEO_CODEC_PROFILE_UNKNOWN = -1,
+ H264PROFILE_BASELINE = 0,
+ H264PROFILE_MAIN,
+ H264PROFILE_EXTENDED,
+ H264PROFILE_HIGH,
+ H264PROFILE_HIGH10PROFILE,
+ H264PROFILE_HIGH422PROFILE,
+ H264PROFILE_HIGH444PREDICTIVEPROFILE,
+ H264PROFILE_SCALABLEBASELINE,
+ H264PROFILE_SCALABLEHIGH,
+ H264PROFILE_STEREOHIGH,
+ H264PROFILE_MULTIVIEWHIGH,
+ VP8PROFILE_ANY,
+ VP9PROFILE_PROFILE0,
+ VP9PROFILE_PROFILE1,
+ VP9PROFILE_PROFILE2,
+ VP9PROFILE_PROFILE3,
+ HEVCPROFILE_MAIN,
+ HEVCPROFILE_MAIN10,
+ HEVCPROFILE_MAIN_STILL_PICTURE,
+};
+
+// gpu::VideoDecodeAcceleratorSupportedProfile
+struct VideoDecodeAcceleratorSupportedProfile {
+ VideoCodecProfile profile;
+ gfx.mojom.Size max_resolution;
+ gfx.mojom.Size min_resolution;
+ bool encrypted_only;
+};
+
+// gpu::VideoDecodeAcceleratorCapabilities
+struct VideoDecodeAcceleratorCapabilities {
+ uint32 flags;
+};
+
+// gpu::VideoEncodeAcceleratorSupportedProfile
+struct VideoEncodeAcceleratorSupportedProfile {
+ VideoCodecProfile profile;
+ gfx.mojom.Size max_resolution;
+ uint32 max_framerate_numerator;
+ uint32 max_framerate_denominator;
+};
« no previous file with comments | « gpu/ipc/common/dx_diag_node_struct_traits.cc ('k') | gpu/ipc/common/gpu_info.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698