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

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

Issue 9844005: Disable GPU features if /dev/nvidiactl is inaccessible (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 8 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/browser/gpu/gpu_data_manager_impl.cc ('k') | content/gpu/gpu_main.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 <vector> 8 #include <vector>
9 #include <string> 9 #include <string>
10 10
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 IPC_STRUCT_TRAITS_MEMBER(driver_version) 110 IPC_STRUCT_TRAITS_MEMBER(driver_version)
111 IPC_STRUCT_TRAITS_MEMBER(driver_date) 111 IPC_STRUCT_TRAITS_MEMBER(driver_date)
112 IPC_STRUCT_TRAITS_MEMBER(pixel_shader_version) 112 IPC_STRUCT_TRAITS_MEMBER(pixel_shader_version)
113 IPC_STRUCT_TRAITS_MEMBER(vertex_shader_version) 113 IPC_STRUCT_TRAITS_MEMBER(vertex_shader_version)
114 IPC_STRUCT_TRAITS_MEMBER(gl_version) 114 IPC_STRUCT_TRAITS_MEMBER(gl_version)
115 IPC_STRUCT_TRAITS_MEMBER(gl_version_string) 115 IPC_STRUCT_TRAITS_MEMBER(gl_version_string)
116 IPC_STRUCT_TRAITS_MEMBER(gl_vendor) 116 IPC_STRUCT_TRAITS_MEMBER(gl_vendor)
117 IPC_STRUCT_TRAITS_MEMBER(gl_renderer) 117 IPC_STRUCT_TRAITS_MEMBER(gl_renderer)
118 IPC_STRUCT_TRAITS_MEMBER(gl_extensions) 118 IPC_STRUCT_TRAITS_MEMBER(gl_extensions)
119 IPC_STRUCT_TRAITS_MEMBER(can_lose_context) 119 IPC_STRUCT_TRAITS_MEMBER(can_lose_context)
120 IPC_STRUCT_TRAITS_MEMBER(gpu_accessible)
120 IPC_STRUCT_TRAITS_MEMBER(performance_stats) 121 IPC_STRUCT_TRAITS_MEMBER(performance_stats)
121 IPC_STRUCT_TRAITS_MEMBER(software_rendering) 122 IPC_STRUCT_TRAITS_MEMBER(software_rendering)
122 #if defined(OS_WIN) 123 #if defined(OS_WIN)
123 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics) 124 IPC_STRUCT_TRAITS_MEMBER(dx_diagnostics)
124 #endif 125 #endif
125 IPC_STRUCT_TRAITS_END() 126 IPC_STRUCT_TRAITS_END()
126 127
127 IPC_STRUCT_TRAITS_BEGIN(GpuMemoryAllocationForRenderer) 128 IPC_STRUCT_TRAITS_BEGIN(GpuMemoryAllocationForRenderer)
128 IPC_STRUCT_TRAITS_MEMBER(gpu_resource_size_in_bytes) 129 IPC_STRUCT_TRAITS_MEMBER(gpu_resource_size_in_bytes)
129 IPC_STRUCT_TRAITS_MEMBER(suggest_have_backbuffer) 130 IPC_STRUCT_TRAITS_MEMBER(suggest_have_backbuffer)
(...skipping 380 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 511
511 // Confirm decoder has been flushed. 512 // Confirm decoder has been flushed.
512 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone) 513 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_FlushDone)
513 514
514 // Confirm decoder has been reset. 515 // Confirm decoder has been reset.
515 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone) 516 IPC_MESSAGE_ROUTED0(AcceleratedVideoDecoderHostMsg_ResetDone)
516 517
517 // Video decoder has encountered an error. 518 // Video decoder has encountered an error.
518 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification, 519 IPC_MESSAGE_ROUTED1(AcceleratedVideoDecoderHostMsg_ErrorNotification,
519 uint32) /* Error ID */ 520 uint32) /* Error ID */
OLDNEW
« no previous file with comments | « content/browser/gpu/gpu_data_manager_impl.cc ('k') | content/gpu/gpu_main.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698