OLD | NEW |
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 | 5 |
6 /** | 6 /** |
7 * @fileoverview This view displays information on the current GPU | 7 * @fileoverview This view displays information on the current GPU |
8 * hardware. Its primary usefulness is to allow users to copy-paste | 8 * hardware. Its primary usefulness is to allow users to copy-paste |
9 * their data in an easy to read format for bug reports. | 9 * their data in an easy to read format for bug reports. |
10 */ | 10 */ |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 'webgl': 'WebGL', | 81 'webgl': 'WebGL', |
82 'multisampling': 'WebGL multisampling', | 82 'multisampling': 'WebGL multisampling', |
83 'flash_3d': 'Flash 3D', | 83 'flash_3d': 'Flash 3D', |
84 'flash_stage3d': 'Flash Stage3D', | 84 'flash_stage3d': 'Flash Stage3D', |
85 'texture_sharing': 'Texture Sharing', | 85 'texture_sharing': 'Texture Sharing', |
86 'video_decode': 'Video Decode', | 86 'video_decode': 'Video Decode', |
87 'video': 'Video', | 87 'video': 'Video', |
88 // GPU Switching | 88 // GPU Switching |
89 'gpu_switching': 'GPU Switching', | 89 'gpu_switching': 'GPU Switching', |
90 'panel_fitting': 'Panel Fitting', | 90 'panel_fitting': 'Panel Fitting', |
| 91 'force_compositing_mode': 'Force Compositing Mode', |
91 }; | 92 }; |
92 var statusLabelMap = { | 93 var statusLabelMap = { |
93 'disabled_software': 'Software only. Hardware acceleration disabled.', | 94 'disabled_software': 'Software only. Hardware acceleration disabled.', |
94 'disabled_software_animated': 'Software animated.', | 95 'disabled_software_animated': 'Software animated.', |
95 'disabled_off': 'Unavailable. Hardware acceleration disabled.', | 96 'disabled_off': 'Unavailable. Hardware acceleration disabled.', |
96 'software': 'Software rendered. Hardware acceleration not enabled.', | 97 'software': 'Software rendered. Hardware acceleration not enabled.', |
97 'unavailable_off': 'Unavailable. Hardware acceleration unavailable', | 98 'unavailable_off': 'Unavailable. Hardware acceleration unavailable', |
98 'unavailable_software': | 99 'unavailable_software': |
99 'Software only, hardware acceleration unavailable', | 100 'Software only, hardware acceleration unavailable', |
100 'enabled_readback': 'Hardware accelerated, but at reduced performance', | 101 'enabled_readback': 'Hardware accelerated, but at reduced performance', |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 | 298 |
298 peg.innerHTML = ''; | 299 peg.innerHTML = ''; |
299 peg.appendChild(template); | 300 peg.appendChild(template); |
300 } | 301 } |
301 }; | 302 }; |
302 | 303 |
303 return { | 304 return { |
304 InfoView: InfoView | 305 InfoView: InfoView |
305 }; | 306 }; |
306 }); | 307 }); |
OLD | NEW |