Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(49)

Side by Side Diff: chrome/browser/resources/gpu_internals/info_view.js

Issue 7523019: Include accelerated_compositing disable flag in about:gpu status (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Tweak messages care of kbr ideas Created 9 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | content/browser/gpu/gpu_blacklist.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 value: clientInfo.blacklist_version 55 value: clientInfo.blacklist_version
56 }]); 56 }]);
57 } else { 57 } else {
58 this.setText_('client-info', '... loading...'); 58 this.setText_('client-info', '... loading...');
59 } 59 }
60 60
61 // Feature map 61 // Feature map
62 var featureLabelMap = { 62 var featureLabelMap = {
63 '2d_canvas': 'Canvas', 63 '2d_canvas': 'Canvas',
64 '3d_css': '3D CSS', 64 '3d_css': '3D CSS',
65 'compositing': 'Compositing', 65 'compositing': 'HTML Rendering',
66 'webgl': 'WebGL', 66 'webgl': 'WebGL',
67 'multisampling': 'WebGL multisampling' 67 'multisampling': 'WebGL multisampling'
68 }; 68 };
69 var statusLabelMap = { 69 var statusLabelMap = {
70 'disabled_software': 'Software only. Hardware acceleration disabled.', 70 'disabled_software': 'Software only. Hardware acceleration disabled.',
71 'disabled_off': 'Unavailable. Hardware acceleration disabled.', 71 'disabled_off': 'Unavailable. Hardware acceleration disabled.',
72 'software': 'Software rendered. Hardware acceleration not enabled.', 72 'software': 'Software rendered. Hardware acceleration not enabled.',
73 'unavailable_off': 'Unavailable. Hardware acceleration unavailable', 73 'unavailable_off': 'Unavailable. Hardware acceleration unavailable',
74 'unavailable_software': 74 'unavailable_software':
75 'Software only, hardware acceleration unavailable', 75 'Software only, hardware acceleration unavailable',
76 'enabled_readback': 'Hardware accelerated, but at reduced performance',
76 'enabled': 'Hardware accelerated' 77 'enabled': 'Hardware accelerated'
77 }; 78 };
78 var statusClassMap = { 79 var statusClassMap = {
79 'disabled_software': 'feature-yellow', 80 'disabled_software': 'feature-yellow',
80 'disabled_off': 'feature-red', 81 'disabled_off': 'feature-red',
81 'software': 'feature-yellow', 82 'software': 'feature-yellow',
82 'unavailable_off': 'feature-red', 83 'unavailable_off': 'feature-red',
83 'unavailable_software': 'feature-yellow', 84 'unavailable_software': 'feature-yellow',
84 'enabled': 'feature-green' 85 'enabled': 'feature-green'
85 }; 86 };
(...skipping 152 matching lines...) Expand 10 before | Expand all | Expand 10 after
238 239
239 peg.innerHTML = ''; 240 peg.innerHTML = '';
240 peg.appendChild(template); 241 peg.appendChild(template);
241 } 242 }
242 }; 243 };
243 244
244 return { 245 return {
245 InfoView: InfoView 246 InfoView: InfoView
246 }; 247 };
247 }); 248 });
OLDNEW
« no previous file with comments | « no previous file | content/browser/gpu/gpu_blacklist.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698