| 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 76 var featureLabelMap = { | 76 var featureLabelMap = { |
| 77 '2d_canvas': 'Canvas', | 77 '2d_canvas': 'Canvas', |
| 78 '3d_css': '3D CSS', | 78 '3d_css': '3D CSS', |
| 79 'css_animation': 'CSS Animation', | 79 'css_animation': 'CSS Animation', |
| 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 'panel_fitting': 'Panel Fitting' |
| 87 }; | 88 }; |
| 88 var statusLabelMap = { | 89 var statusLabelMap = { |
| 89 'disabled_software': 'Software only. Hardware acceleration disabled.', | 90 'disabled_software': 'Software only. Hardware acceleration disabled.', |
| 90 'disabled_software_animated': 'Software animated.', | 91 'disabled_software_animated': 'Software animated.', |
| 91 'disabled_off': 'Unavailable. Hardware acceleration disabled.', | 92 'disabled_off': 'Unavailable. Hardware acceleration disabled.', |
| 92 'software': 'Software rendered. Hardware acceleration not enabled.', | 93 'software': 'Software rendered. Hardware acceleration not enabled.', |
| 93 'unavailable_off': 'Unavailable. Hardware acceleration unavailable', | 94 'unavailable_off': 'Unavailable. Hardware acceleration unavailable', |
| 94 'unavailable_software': | 95 'unavailable_software': |
| 95 'Software only, hardware acceleration unavailable', | 96 'Software only, hardware acceleration unavailable', |
| 96 'enabled_readback': 'Hardware accelerated, but at reduced performance', | 97 'enabled_readback': 'Hardware accelerated, but at reduced performance', |
| (...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 285 | 286 |
| 286 peg.innerHTML = ''; | 287 peg.innerHTML = ''; |
| 287 peg.appendChild(template); | 288 peg.appendChild(template); |
| 288 } | 289 } |
| 289 }; | 290 }; |
| 290 | 291 |
| 291 return { | 292 return { |
| 292 InfoView: InfoView | 293 InfoView: InfoView |
| 293 }; | 294 }; |
| 294 }); | 295 }); |
| OLD | NEW |