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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
75 // Feature map | 75 // Feature map |
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 }; | 87 }; |
87 var statusLabelMap = { | 88 var statusLabelMap = { |
88 'disabled_software': 'Software only. Hardware acceleration disabled.', | 89 'disabled_software': 'Software only. Hardware acceleration disabled.', |
89 'disabled_software_animated': 'Software animated.', | 90 'disabled_software_animated': 'Software animated.', |
90 'disabled_off': 'Unavailable. Hardware acceleration disabled.', | 91 'disabled_off': 'Unavailable. Hardware acceleration disabled.', |
91 'software': 'Software rendered. Hardware acceleration not enabled.', | 92 'software': 'Software rendered. Hardware acceleration not enabled.', |
92 'unavailable_off': 'Unavailable. Hardware acceleration unavailable', | 93 'unavailable_off': 'Unavailable. Hardware acceleration unavailable', |
93 'unavailable_software': | 94 'unavailable_software': |
94 'Software only, hardware acceleration unavailable', | 95 'Software only, hardware acceleration unavailable', |
95 'enabled_readback': 'Hardware accelerated, but at reduced performance', | 96 'enabled_readback': 'Hardware accelerated, but at reduced performance', |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
284 | 285 |
285 peg.innerHTML = ''; | 286 peg.innerHTML = ''; |
286 peg.appendChild(template); | 287 peg.appendChild(template); |
287 } | 288 } |
288 }; | 289 }; |
289 | 290 |
290 return { | 291 return { |
291 InfoView: InfoView | 292 InfoView: InfoView |
292 }; | 293 }; |
293 }); | 294 }); |
OLD | NEW |