| OLD | NEW |
| 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 |
| OLD | NEW |