| 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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 80 'compositing': 'Compositing', | 80 'compositing': 'Compositing', |
| 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 }; | 91 }; |
| 91 var statusLabelMap = { | 92 var statusLabelMap = { |
| 92 'disabled_software': 'Software only. Hardware acceleration disabled.', | 93 'disabled_software': 'Software only. Hardware acceleration disabled.', |
| 93 'disabled_software_animated': 'Software animated.', | 94 'disabled_software_animated': 'Software animated.', |
| 94 'disabled_off': 'Unavailable. Hardware acceleration disabled.', | 95 'disabled_off': 'Unavailable. Hardware acceleration disabled.', |
| 95 'software': 'Software rendered. Hardware acceleration not enabled.', | 96 'software': 'Software rendered. Hardware acceleration not enabled.', |
| 96 'unavailable_off': 'Unavailable. Hardware acceleration unavailable', | 97 'unavailable_off': 'Unavailable. Hardware acceleration unavailable', |
| 97 'unavailable_software': | 98 'unavailable_software': |
| 98 'Software only, hardware acceleration unavailable', | 99 'Software only, hardware acceleration unavailable', |
| 99 'enabled_readback': 'Hardware accelerated, but at reduced performance', | 100 'enabled_readback': 'Hardware accelerated, but at reduced performance', |
| (...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 296 | 297 |
| 297 peg.innerHTML = ''; | 298 peg.innerHTML = ''; |
| 298 peg.appendChild(template); | 299 peg.appendChild(template); |
| 299 } | 300 } |
| 300 }; | 301 }; |
| 301 | 302 |
| 302 return { | 303 return { |
| 303 InfoView: InfoView | 304 InfoView: InfoView |
| 304 }; | 305 }; |
| 305 }); | 306 }); |
| OLD | NEW |