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 description: 'Command Line Args', | 75 description: 'Command Line Args', |
76 value: commandLineString | 76 value: commandLineString |
77 }]); | 77 }]); |
78 } else { | 78 } else { |
79 this.setText_('client-info', '... loading...'); | 79 this.setText_('client-info', '... loading...'); |
80 } | 80 } |
81 | 81 |
82 // Feature map | 82 // Feature map |
83 var featureLabelMap = { | 83 var featureLabelMap = { |
84 '2d_canvas': 'Canvas', | 84 '2d_canvas': 'Canvas', |
85 '3d_css': '3D CSS', | |
86 'css_animation': 'CSS Animation', | |
87 'gpu_compositing': 'Compositing', | 85 'gpu_compositing': 'Compositing', |
88 'webgl': 'WebGL', | 86 'webgl': 'WebGL', |
89 'multisampling': 'WebGL multisampling', | 87 'multisampling': 'WebGL multisampling', |
90 'flash_3d': 'Flash 3D', | 88 'flash_3d': 'Flash 3D', |
91 'flash_stage3d': 'Flash Stage3D', | 89 'flash_stage3d': 'Flash Stage3D', |
92 'flash_stage3d_baseline': 'Flash Stage3D Baseline profile', | 90 'flash_stage3d_baseline': 'Flash Stage3D Baseline profile', |
93 'texture_sharing': 'Texture Sharing', | 91 'texture_sharing': 'Texture Sharing', |
94 'video_decode': 'Video Decode', | 92 'video_decode': 'Video Decode', |
95 'video_encode': 'Video Encode', | 93 'video_encode': 'Video Encode', |
96 'video': 'Video', | 94 'video': 'Video', |
(...skipping 253 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 | 348 |
351 peg.innerHTML = ''; | 349 peg.innerHTML = ''; |
352 peg.appendChild(template); | 350 peg.appendChild(template); |
353 } | 351 } |
354 }; | 352 }; |
355 | 353 |
356 return { | 354 return { |
357 InfoView: InfoView | 355 InfoView: InfoView |
358 }; | 356 }; |
359 }); | 357 }); |
OLD | NEW |