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

Side by Side Diff: chrome/gpu/gpu_info_collector_mac.mm

Issue 4860001: Collect DirectX diagnostic information asynchronously.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 10 years, 1 month 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 | « chrome/gpu/gpu_info_collector_linux.cc ('k') | chrome/gpu/gpu_info_collector_win.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) 2006-2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2010 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 #include "chrome/gpu/gpu_info_collector.h" 5 #include "chrome/gpu/gpu_info_collector.h"
6 #include "base/logging.h" 6 #include "base/logging.h"
7 #include "base/scoped_ptr.h" 7 #include "base/scoped_ptr.h"
8 #include "base/string_piece.h" 8 #include "base/string_piece.h"
9 #include "base/sys_string_conversions.h" 9 #include "base/sys_string_conversions.h"
10 #include "app/gfx/gl/gl_bindings.h" 10 #include "app/gfx/gl/gl_bindings.h"
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 // OpenGL doesn't have separate versions for pixel and vertex shader 156 // OpenGL doesn't have separate versions for pixel and vertex shader
157 // languages, so we just pass the shader_version for both. 157 // languages, so we just pass the shader_version for both.
158 gpu_info->SetGraphicsInfo(vendor_id, 158 gpu_info->SetGraphicsInfo(vendor_id,
159 device_id, 159 device_id,
160 driver_version, 160 driver_version,
161 shader_version, 161 shader_version,
162 shader_version, 162 shader_version,
163 gl_version, 163 gl_version,
164 false); 164 false);
165 165
166 gpu_info->SetProgress(GPUInfo::kComplete);
167
166 return true; 168 return true;
167 } 169 }
168 170
169 } // namespace gpu_info_collector 171 } // namespace gpu_info_collector
OLDNEW
« no previous file with comments | « chrome/gpu/gpu_info_collector_linux.cc ('k') | chrome/gpu/gpu_info_collector_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698