| 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 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 84 '2d_canvas': 'Canvas', | 84 '2d_canvas': 'Canvas', |
| 85 'gpu_compositing': 'Compositing', | 85 'gpu_compositing': 'Compositing', |
| 86 'webgl': 'WebGL', | 86 'webgl': 'WebGL', |
| 87 'multisampling': 'WebGL multisampling', | 87 'multisampling': 'WebGL multisampling', |
| 88 'flash_3d': 'Flash 3D', | 88 'flash_3d': 'Flash 3D', |
| 89 'flash_stage3d': 'Flash Stage3D', | 89 'flash_stage3d': 'Flash Stage3D', |
| 90 'flash_stage3d_baseline': 'Flash Stage3D Baseline profile', | 90 'flash_stage3d_baseline': 'Flash Stage3D Baseline profile', |
| 91 'texture_sharing': 'Texture Sharing', | 91 'texture_sharing': 'Texture Sharing', |
| 92 'video_decode': 'Video Decode', | 92 'video_decode': 'Video Decode', |
| 93 'video_encode': 'Video Encode', | 93 'video_encode': 'Video Encode', |
| 94 'video': 'Video', | |
| 95 // GPU Switching | 94 // GPU Switching |
| 96 'gpu_switching': 'GPU Switching', | 95 'gpu_switching': 'GPU Switching', |
| 97 'panel_fitting': 'Panel Fitting', | 96 'panel_fitting': 'Panel Fitting', |
| 98 'rasterization': 'Rasterization', | 97 'rasterization': 'Rasterization', |
| 99 }; | 98 }; |
| 100 var statusLabelMap = { | 99 var statusLabelMap = { |
| 101 'disabled_software': 'Software only. Hardware acceleration disabled.', | 100 'disabled_software': 'Software only. Hardware acceleration disabled.', |
| 102 'disabled_software_animated': 'Software animated.', | 101 'disabled_software_animated': 'Software animated.', |
| 103 'disabled_software_multithreaded': 'Software only, multi-threaded', | 102 'disabled_software_multithreaded': 'Software only, multi-threaded', |
| 104 'disabled_off': 'Unavailable. Hardware acceleration disabled.', | 103 'disabled_off': 'Unavailable. Hardware acceleration disabled.', |
| (...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 348 | 347 |
| 349 peg.innerHTML = ''; | 348 peg.innerHTML = ''; |
| 350 peg.appendChild(template); | 349 peg.appendChild(template); |
| 351 } | 350 } |
| 352 }; | 351 }; |
| 353 | 352 |
| 354 return { | 353 return { |
| 355 InfoView: InfoView | 354 InfoView: InfoView |
| 356 }; | 355 }; |
| 357 }); | 356 }); |
| OLD | NEW |