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

Side by Side Diff: content/common/gpu/gpu_messages.h

Issue 10389051: Change GPUInfo to handle multiple GPUs. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 7 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/common/gpu/gpu_info_unittest.cc ('k') | content/gpu/gpu_info_collector_linux.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 // Multiply-included message file, hence no include guard here, but see below 5 // Multiply-included message file, hence no include guard here, but see below
6 // for a much smaller-than-usual include guard section. 6 // for a much smaller-than-usual include guard section.
7 7
8 #include <string> 8 #include <string>
9 #include <vector> 9 #include <vector>
10 10
(...skipping 82 matching lines...) Expand 10 before | Expand all | Expand 10 after
93 IPC_STRUCT_TRAITS_MEMBER(values) 93 IPC_STRUCT_TRAITS_MEMBER(values)
94 IPC_STRUCT_TRAITS_MEMBER(children) 94 IPC_STRUCT_TRAITS_MEMBER(children)
95 IPC_STRUCT_TRAITS_END() 95 IPC_STRUCT_TRAITS_END()
96 96
97 IPC_STRUCT_TRAITS_BEGIN(content::GpuPerformanceStats) 97 IPC_STRUCT_TRAITS_BEGIN(content::GpuPerformanceStats)
98 IPC_STRUCT_TRAITS_MEMBER(graphics) 98 IPC_STRUCT_TRAITS_MEMBER(graphics)
99 IPC_STRUCT_TRAITS_MEMBER(gaming) 99 IPC_STRUCT_TRAITS_MEMBER(gaming)
100 IPC_STRUCT_TRAITS_MEMBER(overall) 100 IPC_STRUCT_TRAITS_MEMBER(overall)
101 IPC_STRUCT_TRAITS_END() 101 IPC_STRUCT_TRAITS_END()
102 102
103 IPC_STRUCT_TRAITS_BEGIN(content::GPUInfo::GPUDevice)
104 IPC_STRUCT_TRAITS_MEMBER(vendor_id)
105 IPC_STRUCT_TRAITS_MEMBER(device_id)
106 IPC_STRUCT_TRAITS_MEMBER(vendor_string)
107 IPC_STRUCT_TRAITS_MEMBER(device_string)
108 IPC_STRUCT_TRAITS_END()
109
103 IPC_STRUCT_TRAITS_BEGIN(content::GPUInfo) 110 IPC_STRUCT_TRAITS_BEGIN(content::GPUInfo)
104 IPC_STRUCT_TRAITS_MEMBER(finalized) 111 IPC_STRUCT_TRAITS_MEMBER(finalized)
105 IPC_STRUCT_TRAITS_MEMBER(initialization_time) 112 IPC_STRUCT_TRAITS_MEMBER(initialization_time)
106 IPC_STRUCT_TRAITS_MEMBER(optimus) 113 IPC_STRUCT_TRAITS_MEMBER(optimus)
107 IPC_STRUCT_TRAITS_MEMBER(vendor_id) 114 IPC_STRUCT_TRAITS_MEMBER(gpu)
108 IPC_STRUCT_TRAITS_MEMBER(device_id) 115 IPC_STRUCT_TRAITS_MEMBER(secondary_gpus)
109 IPC_STRUCT_TRAITS_MEMBER(driver_vendor) 116 IPC_STRUCT_TRAITS_MEMBER(driver_vendor)
110 IPC_STRUCT_TRAITS_MEMBER(driver_version) 117 IPC_STRUCT_TRAITS_MEMBER(driver_version)
111 IPC_STRUCT_TRAITS_MEMBER(driver_date) 118 IPC_STRUCT_TRAITS_MEMBER(driver_date)
112 IPC_STRUCT_TRAITS_MEMBER(pixel_shader_version) 119 IPC_STRUCT_TRAITS_MEMBER(pixel_shader_version)
113 IPC_STRUCT_TRAITS_MEMBER(vertex_shader_version) 120 IPC_STRUCT_TRAITS_MEMBER(vertex_shader_version)
114 IPC_STRUCT_TRAITS_MEMBER(gl_version) 121 IPC_STRUCT_TRAITS_MEMBER(gl_version)
115 IPC_STRUCT_TRAITS_MEMBER(gl_version_string) 122 IPC_STRUCT_TRAITS_MEMBER(gl_version_string)
116 IPC_STRUCT_TRAITS_MEMBER(gl_vendor) 123 IPC_STRUCT_TRAITS_MEMBER(gl_vendor)
117 IPC_STRUCT_TRAITS_MEMBER(gl_renderer) 124 IPC_STRUCT_TRAITS_MEMBER(gl_renderer)
118 IPC_STRUCT_TRAITS_MEMBER(gl_extensions) 125 IPC_STRUCT_TRAITS_MEMBER(gl_extensions)
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
508 515
509 // Confirm decoder has been flushed. 516 // Confirm decoder has been flushed.
510 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 517 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
511 518
512 // Confirm decoder has been reset. 519 // Confirm decoder has been reset.
513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 520 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
514 521
515 // Video decoder has encountered an error. 522 // Video decoder has encountered an error.
516 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 523 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
517 uint32) /* Error ID */ 524 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/common/gpu/gpu_info_unittest.cc ('k') | content/gpu/gpu_info_collector_linux.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698