| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 description: 'Operating system', | 54 description: 'Operating system', |
| 55 value: clientInfo.operating_system | 55 value: clientInfo.operating_system |
| 56 }, | 56 }, |
| 57 { | 57 { |
| 58 description: 'Software rendering list version', | 58 description: 'Software rendering list version', |
| 59 value: clientInfo.blacklist_version | 59 value: clientInfo.blacklist_version |
| 60 }, | 60 }, |
| 61 { | 61 { |
| 62 description: 'ANGLE revision', | 62 description: 'ANGLE revision', |
| 63 value: clientInfo.angle_revision | 63 value: clientInfo.angle_revision |
| 64 }, |
| 65 { |
| 66 description: '2D graphics backend', |
| 67 value: clientInfo.graphics_backend |
| 64 }]); | 68 }]); |
| 65 } else { | 69 } else { |
| 66 this.setText_('client-info', '... loading...'); | 70 this.setText_('client-info', '... loading...'); |
| 67 } | 71 } |
| 68 | 72 |
| 69 // Feature map | 73 // Feature map |
| 70 var featureLabelMap = { | 74 var featureLabelMap = { |
| 71 '2d_canvas': 'Canvas', | 75 '2d_canvas': 'Canvas', |
| 72 '3d_css': '3D CSS', | 76 '3d_css': '3D CSS', |
| 73 'compositing': 'HTML Rendering', | 77 'compositing': 'HTML Rendering', |
| (...skipping 173 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 | 251 |
| 248 peg.innerHTML = ''; | 252 peg.innerHTML = ''; |
| 249 peg.appendChild(template); | 253 peg.appendChild(template); |
| 250 } | 254 } |
| 251 }; | 255 }; |
| 252 | 256 |
| 253 return { | 257 return { |
| 254 InfoView: InfoView | 258 InfoView: InfoView |
| 255 }; | 259 }; |
| 256 }); | 260 }); |
| OLD | NEW |