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

Side by Side Diff: chrome/gpu/gpu_info_collector_linux.cc

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/common/gpu_messages_unittest.cc ('k') | chrome/gpu/gpu_info_collector_mac.mm » ('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 6
7 namespace gpu_info_collector { 7 namespace gpu_info_collector {
8 8
9 bool CollectGraphicsInfo(GPUInfo* gpu_info) { 9 bool CollectGraphicsInfo(GPUInfo* gpu_info) {
10 // TODO(rlp): complete this function 10 // TODO(rlp): complete this function
11 // TODO(apatrick): this illustrates how can_lose_context will be implemented 11 // TODO(apatrick): this illustrates how can_lose_context will be implemented
12 // on this platform in the future. 12 // on this platform in the future.
13 // bool can_lose_context = 13 // bool can_lose_context =
14 // gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2; 14 // gfx::GetGLImplementation() == gfx::kGLImplementationEGLGLES2;
15
16 gpu_info->SetProgress(GPUInfo::kComplete);
17
15 return true; 18 return true;
16 } 19 }
17 20
18 } // namespace gpu_info_collector 21 } // namespace gpu_info_collector
OLDNEW
« no previous file with comments | « chrome/common/gpu_messages_unittest.cc ('k') | chrome/gpu/gpu_info_collector_mac.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698