summaryrefslogtreecommitdiffstats
path: root/content/browser/gpu/gpu_internals_ui.cc
diff options
context:
space:
mode:
authorjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 03:45:54 +0000
committerjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-02-12 03:45:54 +0000
commit4abba3b4ecc67886716c98600e567725931276b4 (patch)
tree7aaba976d7b8fcf5ae0232dea5cd230350aac2aa /content/browser/gpu/gpu_internals_ui.cc
parentc910a241e1e5e4248d40f5cfbafcf695e62b883e (diff)
downloadchromium_src-4abba3b4ecc67886716c98600e567725931276b4.zip
chromium_src-4abba3b4ecc67886716c98600e567725931276b4.tar.gz
chromium_src-4abba3b4ecc67886716c98600e567725931276b4.tar.bz2
Allow separately blacklisting Stage3D baseline mode.
Some older drivers should support Stage3D constrained mode, not baseline mode, so add blacklist entries for that. BUG=172771 Review URL: https://chromiumcodereview.appspot.com/12079111 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@181836 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/browser/gpu/gpu_internals_ui.cc')
-rw-r--r--content/browser/gpu/gpu_internals_ui.cc9
1 files changed, 9 insertions, 0 deletions
diff --git a/content/browser/gpu/gpu_internals_ui.cc b/content/browser/gpu/gpu_internals_ui.cc
index 46000b7..d6541b5 100644
--- a/content/browser/gpu/gpu_internals_ui.cc
+++ b/content/browser/gpu/gpu_internals_ui.cc
@@ -269,6 +269,15 @@ Value* GetFeatureStatus() {
false
},
{
+ "flash_stage3d_baseline",
+ flags & (content::GPU_FEATURE_TYPE_FLASH_STAGE3D_BASELINE |
+ content::GPU_FEATURE_TYPE_FLASH_STAGE3D),
+ command_line.HasSwitch(switches::kDisableFlashStage3d),
+ "Using Stage3d Baseline profile in Flash has been disabled, either"
+ " via about:flags or command line.",
+ false
+ },
+ {
"texture_sharing",
flags & GPU_FEATURE_TYPE_TEXTURE_SHARING,
command_line.HasSwitch(switches::kDisableImageTransportSurface),