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

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: Rebase 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 383 matching lines...) Expand 10 before | Expand all | Expand 10 after
394 // testing changes locally. The argument is a list of name and value pairs, 394 // testing changes locally. The argument is a list of name and value pairs,
395 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in 395 // separated by slashes. See FieldTrialList::CreateTrialsFromString() in
396 // field_trial.h for details. 396 // field_trial.h for details.
397 const char kForceFieldTrials[] = "force-fieldtrials"; 397 const char kForceFieldTrials[] = "force-fieldtrials";
398 398
399 // Force renderer accessibility to be on instead of enabling it on demand when 399 // Force renderer accessibility to be on instead of enabling it on demand when
400 // a screen reader is detected. The disable-renderer-accessibility switch 400 // a screen reader is detected. The disable-renderer-accessibility switch
401 // overrides this if present. 401 // overrides this if present.
402 const char kForceRendererAccessibility[] = "force-renderer-accessibility"; 402 const char kForceRendererAccessibility[] = "force-renderer-accessibility";
403 403
404 // Force the compositor to use its software implementation instead of GL.
405 const char kEnableSoftwareCompositingGLAdapter[] =
406 "enable-software-compositing-gl-adapter";
407
404 // Passes gpu device_id from browser process to GPU process. 408 // Passes gpu device_id from browser process to GPU process.
405 const char kGpuDeviceID[] = "gpu-device-id"; 409 const char kGpuDeviceID[] = "gpu-device-id";
406 410
407 // Passes gpu driver_vendor from browser process to GPU process. 411 // Passes gpu driver_vendor from browser process to GPU process.
408 const char kGpuDriverVendor[] = "gpu-driver-vendor"; 412 const char kGpuDriverVendor[] = "gpu-driver-vendor";
409 413
410 // Passes gpu driver_version from browser process to GPU process. 414 // Passes gpu driver_version from browser process to GPU process.
411 const char kGpuDriverVersion[] = "gpu-driver-version"; 415 const char kGpuDriverVersion[] = "gpu-driver-version";
412 416
413 // Extra command line options for launching the GPU process (normally used 417 // Extra command line options for launching the GPU process (normally used
(...skipping 292 matching lines...) Expand 10 before | Expand all | Expand 10 after
706 // Sets the width and height above which a composited layer will get tiled. 710 // Sets the width and height above which a composited layer will get tiled.
707 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 711 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
708 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 712 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
709 713
710 const char kEnableFixedPositionCreatesStackingContext[] 714 const char kEnableFixedPositionCreatesStackingContext[]
711 = "enable-fixed-position-creates-stacking-context"; 715 = "enable-fixed-position-creates-stacking-context";
712 const char kDisableFixedPositionCreatesStackingContext[] 716 const char kDisableFixedPositionCreatesStackingContext[]
713 = "disable-fixed-position-creates-stacking-context"; 717 = "disable-fixed-position-creates-stacking-context";
714 718
715 } // namespace switches 719 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/gpu/compositor_output_surface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698