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

Unified Diff: chrome/browser/resources/gpu_internals/info_view.js

Issue 9959085: Make it possible to blacklist gpu's based on the Windows experience index. (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1025/src/
Patch Set: Created 8 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/gpu_internals/info_view.html ('k') | chrome/browser/ui/webui/gpu_internals_ui.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/gpu_internals/info_view.js
===================================================================
--- chrome/browser/resources/gpu_internals/info_view.js (revision 130192)
+++ chrome/browser/resources/gpu_internals/info_view.js (working copy)
@@ -66,8 +66,6 @@
description: '2D graphics backend',
value: clientInfo.graphics_backend
}]);
-
- this.setTable_('performance-info', clientInfo.performance);
} else {
this.setText_('client-info', '... loading...');
}
@@ -105,6 +103,7 @@
var featureStatusList = this.querySelector('.feature-status-list');
var problemsDiv = this.querySelector('.problems-div');
var problemsList = this.querySelector('.problems-list');
+ var performanceDiv = this.querySelector('.performance-div');
var gpuInfo = browserBridge.gpuInfo;
var i;
if (gpuInfo) {
@@ -158,6 +157,13 @@
else
this.setTable_('basic-info', []);
+ if (gpuInfo.performance_info) {
+ performanceDiv.hidden = false;
+ this.setTable_('performance-info', gpuInfo.performance_info);
+ } else {
+ performanceDiv.hidden = true;
+ }
+
if (gpuInfo.diagnostics) {
diagnosticsDiv.hidden = false;
diagnosticsLoadingDiv.hidden = true;
« no previous file with comments | « chrome/browser/resources/gpu_internals/info_view.html ('k') | chrome/browser/ui/webui/gpu_internals_ui.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698