| OLD | NEW |
| (Empty) | |
| 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 |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "content/gpu/gpu_info_collector.h" |
| 6 |
| 7 #include "base/logging.h" |
| 8 |
| 9 namespace gpu_info_collector { |
| 10 |
| 11 bool CollectGraphicsInfo(content::GPUInfo* gpu_info) { |
| 12 // can_lose_context must be false to enable accelerated Canvas2D |
| 13 gpu_info->can_lose_context = false; |
| 14 gpu_info->finalized = true; |
| 15 return CollectGraphicsInfoGL(gpu_info); |
| 16 } |
| 17 |
| 18 bool CollectPreliminaryGraphicsInfo(content::GPUInfo* gpu_info) { |
| 19 return true; |
| 20 } |
| 21 |
| 22 bool CollectVideoCardInfo(content::GPUInfo* gpu_info) { |
| 23 return true; |
| 24 } |
| 25 |
| 26 bool CollectDriverInfoGL(content::GPUInfo* gpu_info) { |
| 27 return true; |
| 28 } |
| 29 |
| 30 } // namespace gpu_info_collector |
| OLD | NEW |