summaryrefslogtreecommitdiffstats
path: root/content/browser/resources/gpu/info_view.js
diff options
context:
space:
mode:
authordanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-18 02:22:17 +0000
committerdanakj@chromium.org <danakj@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2014-04-18 02:22:17 +0000
commitf8458ea5bd7ce9a8532041c46d3f5d9569b8df74 (patch)
treed726da03694a94c788f6a4d2640111af8637e530 /content/browser/resources/gpu/info_view.js
parentae87159c78e907cf80badf0f3a6ab9b83ca5f7c1 (diff)
downloadchromium_src-f8458ea5bd7ce9a8532041c46d3f5d9569b8df74.zip
chromium_src-f8458ea5bd7ce9a8532041c46d3f5d9569b8df74.tar.gz
chromium_src-f8458ea5bd7ce9a8532041c46d3f5d9569b8df74.tar.bz2
Remove FCM from about:gpu and improve the Compositing field output.
The compositing field should show if hardware or software compositing is being used, and if the thread is being used in either case. ForceCompositingMode doesn't exist anymore (it's always on) so just remove it from the page. R=piman@chromium.org, zmo@chromium.org BUG=363772 Review URL: https://codereview.chromium.org/238043006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@264709 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/resources/gpu/info_view.js')
-rw-r--r--content/browser/resources/gpu/info_view.js17
1 files changed, 8 insertions, 9 deletions
diff --git a/content/browser/resources/gpu/info_view.js b/content/browser/resources/gpu/info_view.js
index 53b5b4e..74b13ab 100644
--- a/content/browser/resources/gpu/info_view.js
+++ b/content/browser/resources/gpu/info_view.js
@@ -84,7 +84,7 @@ cr.define('gpu', function() {
'2d_canvas': 'Canvas',
'3d_css': '3D CSS',
'css_animation': 'CSS Animation',
- 'compositing': 'Compositing',
+ 'gpu_compositing': 'Compositing',
'webgl': 'WebGL',
'multisampling': 'WebGL multisampling',
'flash_3d': 'Flash 3D',
@@ -97,22 +97,22 @@ cr.define('gpu', function() {
// GPU Switching
'gpu_switching': 'GPU Switching',
'panel_fitting': 'Panel Fitting',
- 'force_compositing_mode': 'Force Compositing Mode',
'rasterization': 'Rasterization',
};
var statusLabelMap = {
'disabled_software': 'Software only. Hardware acceleration disabled.',
'disabled_software_animated': 'Software animated.',
+ 'disabled_software_multithreaded': 'Software only, multi-threaded',
'disabled_off': 'Unavailable. Hardware acceleration disabled.',
'software': 'Software rendered. Hardware acceleration not enabled.',
'unavailable_off': 'Unavailable. Hardware acceleration unavailable',
'unavailable_software':
'Software only, hardware acceleration unavailable',
+ 'unavailable_software_threaded':
+ 'Software only and threaded. Hardware acceleration unavailable.',
'enabled_readback': 'Hardware accelerated, but at reduced performance',
- 'enabled_force': 'Hardware accelerated on all pages',
- 'enabled_threaded': 'Hardware accelerated on demand and threaded',
- 'enabled_force_threaded':
- 'Hardware accelerated on all pages and threaded',
+ 'enabled_force': 'Hardware accelerated',
+ 'enabled_threaded': 'Hardware accelerated and threaded.',
'enabled': 'Hardware accelerated',
'accelerated': 'Accelerated',
'accelerated_threaded': 'Accelerated and threaded',
@@ -120,20 +120,20 @@ cr.define('gpu', function() {
'gpu_switching_automatic': 'Automatic switching',
'gpu_switching_force_discrete': 'Always on discrete GPU',
'gpu_switching_force_integrated': 'Always on integrated GPU',
- 'disabled_software_multithreaded': 'Software only, multi-threaded',
};
var statusClassMap = {
'disabled_software': 'feature-yellow',
'disabled_software_animated': 'feature-yellow',
+ 'disabled_software_multithreaded': 'feature-yellow',
'disabled_off': 'feature-red',
'software': 'feature-yellow',
'unavailable_off': 'feature-red',
'unavailable_software': 'feature-yellow',
+ 'unavailable_software_threaded': 'feature-yellow',
'enabled_force': 'feature-green',
'enabled_readback': 'feature-yellow',
'enabled_threaded': 'feature-green',
- 'enabled_force_threaded': 'feature-green',
'enabled': 'feature-green',
'accelerated': 'feature-green',
'accelerated_threaded': 'feature-green',
@@ -141,7 +141,6 @@ cr.define('gpu', function() {
'gpu_switching_automatic': 'feature-green',
'gpu_switching_force_discrete': 'feature-red',
'gpu_switching_force_integrated': 'feature-red',
- 'disabled_software_multithreaded': 'feature-yellow',
};
// GPU info, basic