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

Side by Side Diff: content/public/common/content_switches.cc

Issue 10873099: Flag and adapter class for software compositing. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Apply comments and rename everything to "Software" Created 8 years, 3 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
OLDNEW
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 #include "content/public/common/content_switches.h" 5 #include "content/public/common/content_switches.h"
6 6
7 namespace switches { 7 namespace switches {
8 8
9 // By default, file:// URIs cannot read other file:// URIs. This is an 9 // By default, file:// URIs cannot read other file:// URIs. This is an
10 // override for developers who need the old behavior for testing. 10 // override for developers who need the old behavior for testing.
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after
413 // testing changes locally. The argument is a list of name and value pairs, 413 // testing changes locally. The argument is a list of name and value pairs,
414 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in 414 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in
415 // field_trial.h for details. 415 // field_trial.h for details.
416 const char kForceFieldTrials[] = "force-fieldtrials"; 416 const char kForceFieldTrials[] = "force-fieldtrials";
417 417
418 // Force renderer accessibility to be on instead of enabling it on demand when 418 // Force renderer accessibility to be on instead of enabling it on demand when
419 // a screen reader is detected. The disable-renderer-accessibility switch 419 // a screen reader is detected. The disable-renderer-accessibility switch
420 // overrides this if present. 420 // overrides this if present.
421 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; 421 const char kForceRendererAccessibility[] = "force-renderer-accessibility";
422 422
423 // Force the compositor to use its software implementation instead of GL.
424 const char kEnableSoftwareCompositingGLAdapter[] =
425 "enable-software-compositing-gl-adapter";
426
423 // Passes gpu device_id from browser process to GPU process. 427 // Passes gpu device_id from browser process to GPU process.
424 const char kGpuDeviceID[] = "gpu-device-id"; 428 const char kGpuDeviceID[] = "gpu-device-id";
425 429
426 // Passes gpu driver_vendor from browser process to GPU process. 430 // Passes gpu driver_vendor from browser process to GPU process.
427 const char kGpuDriverVendor[] = "gpu-driver-vendor"; 431 const char kGpuDriverVendor[] = "gpu-driver-vendor";
428 432
429 // Passes gpu driver_version from browser process to GPU process. 433 // Passes gpu driver_version from browser process to GPU process.
430 const char kGpuDriverVersion[] = "gpu-driver-version"; 434 const char kGpuDriverVersion[] = "gpu-driver-version";
431 435
432 // Extra command line options for launching the GPU process (normally used 436 // Extra command line options for launching the GPU process (normally used
(...skipping 281 matching lines...) Expand 10 before | Expand all | Expand 10 after
714 // Sets the width and height above which a composited layer will get tiled. 718 // Sets the width and height above which a composited layer will get tiled.
715 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 719 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
716 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 720 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
717 721
718 const char kEnableFixedPositionCreatesStackingContext[] 722 const char kEnableFixedPositionCreatesStackingContext[]
719 = "enable-fixed-position-creates-stacking-context"; 723 = "enable-fixed-position-creates-stacking-context";
720 const char kDisableFixedPositionCreatesStackingContext[] 724 const char kDisableFixedPositionCreatesStackingContext[]
721 = "disable-fixed-position-creates-stacking-context"; 725 = "disable-fixed-position-creates-stacking-context";
722 726
723 } // namespace switches 727 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698