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

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

Issue 2220093002: GpuInfo mojom struct and struct traits and unit test (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixed a typo 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.mojom ('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 db7babde5b2e53e103fc7e341465374f9edd8ad5..111dae865cd9df5581b726234c07f6fe50b14a78 100644
--- a/gpu/ipc/common/gpu_info.mojom
+++ b/gpu/ipc/common/gpu_info.mojom
@@ -5,6 +5,8 @@
// gpu/config/gpu_info.h
module gpu.mojom;
+import "gpu/ipc/common/dx_diag_node.mojom";
+import "mojo/common/common_custom_types.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
// gpu::GPUInfo::GPUDevice
@@ -68,3 +70,45 @@ struct VideoEncodeAcceleratorSupportedProfile {
uint32 max_framerate_numerator;
uint32 max_framerate_denominator;
};
+
+// Corresponds to |gpu::GPUInfo| in gpu/config/gpu_info.h
+struct GpuInfo {
+ mojo.common.mojom.TimeDelta initialization_time;
+ bool optimus;
+ bool amd_switchable;
+ bool lenovo_dcute;
+ mojo.common.mojom.Version display_link_version;
+ GpuDevice gpu;
+ array<GpuDevice> secondary_gpus;
+ uint64 adapter_luid;
+ string driver_vendor;
+ string driver_version;
+ string driver_date;
+ string pixel_shader_version;
+ string vertex_shader_version;
+ string max_msaa_samples;
+ string machine_model_name;
+ string machine_model_version;
+ string gl_version;
+ string gl_vendor;
+ string gl_renderer;
+ string gl_extensions;
+ string gl_ws_vendor;
+ string gl_ws_version;
+ string gl_ws_extensions;
+ uint32 gl_reset_notification_strategy;
+ bool can_lose_context;
+ bool software_rendering;
+ bool direct_rendering;
+ bool sandboxed;
+ int32 process_crash_count;
+ bool in_process_gpu;
+ CollectInfoResult basic_info_state;
+ CollectInfoResult context_info_state;
+ CollectInfoResult dx_diagnostics_info_state;
+ DxDiagNode? dx_diagnostics;
+ VideoDecodeAcceleratorCapabilities video_decode_accelerator_capabilities;
+ array<VideoEncodeAcceleratorSupportedProfile>
+ video_encode_accelerator_supported_profiles;
+ bool jpeg_decode_accelerator_supported;
+};
« no previous file with comments | « gpu/ipc/common/dx_diag_node.mojom ('k') | gpu/ipc/common/gpu_info.typemap » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698