| 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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 86 'flash_stage3d_baseline': 'Flash Stage3D Baseline profile', | 86 'flash_stage3d_baseline': 'Flash Stage3D Baseline profile', |
| 87 'texture_sharing': 'Texture Sharing', | 87 'texture_sharing': 'Texture Sharing', |
| 88 'video_decode': 'Video Decode', | 88 'video_decode': 'Video Decode', |
| 89 'video_encode': 'Video Encode', | 89 'video_encode': 'Video Encode', |
| 90 'panel_fitting': 'Panel Fitting', | 90 'panel_fitting': 'Panel Fitting', |
| 91 'rasterization': 'Rasterization', | 91 'rasterization': 'Rasterization', |
| 92 'multiple_raster_threads': 'Multiple Raster Threads', | 92 'multiple_raster_threads': 'Multiple Raster Threads', |
| 93 'native_gpu_memory_buffers': 'Native GpuMemoryBuffers', | 93 'native_gpu_memory_buffers': 'Native GpuMemoryBuffers', |
| 94 'vpx_decode': 'VPx Video Decode', | 94 'vpx_decode': 'VPx Video Decode', |
| 95 'webgl2': 'WebGL2', | 95 'webgl2': 'WebGL2', |
| 96 'checker_imaging': 'CheckerImaging', |
| 96 }; | 97 }; |
| 97 | 98 |
| 98 var statusMap = { | 99 var statusMap = { |
| 99 'disabled_software': { | 100 'disabled_software': { |
| 100 'label': 'Software only. Hardware acceleration disabled', | 101 'label': 'Software only. Hardware acceleration disabled', |
| 101 'class': 'feature-yellow' | 102 'class': 'feature-yellow' |
| 102 }, | 103 }, |
| 103 'disabled_off': { | 104 'disabled_off': { |
| 104 'label': 'Disabled', | 105 'label': 'Disabled', |
| 105 'class': 'feature-red' | 106 'class': 'feature-red' |
| (...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 339 | 340 |
| 340 peg.innerHTML = ''; | 341 peg.innerHTML = ''; |
| 341 peg.appendChild(template); | 342 peg.appendChild(template); |
| 342 } | 343 } |
| 343 }; | 344 }; |
| 344 | 345 |
| 345 return { | 346 return { |
| 346 InfoView: InfoView | 347 InfoView: InfoView |
| 347 }; | 348 }; |
| 348 }); | 349 }); |
| OLD | NEW |