From ebc0e1dfdf04993d73087a92d3584b82936e15d2 Mon Sep 17 00:00:00 2001 From: "jbauman@chromium.org" Date: Thu, 1 Aug 2013 02:46:22 +0000 Subject: Add a flag to allow renderer to use software compositor when GL compositor doesn't work. The --enable-software-compositing flag will allow the renderer to use the software compositor if it can't create a GL context. This is currently accomplished by having the compositor request a "fallback" output surface if the normal output surface can't be initialized (on the impl thread). BUG=229712,230120 Review URL: https://chromiumcodereview.appspot.com/19267016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@214930 0039d316-1c4b-4281-b951-d872f2087c98 --- content/shell/common/shell_switches.cc | 3 --- content/shell/common/shell_switches.h | 1 - 2 files changed, 4 deletions(-) (limited to 'content/shell/common') diff --git a/content/shell/common/shell_switches.cc b/content/shell/common/shell_switches.cc index d4f25c3..81a4a68 100644 --- a/content/shell/common/shell_switches.cc +++ b/content/shell/common/shell_switches.cc @@ -24,9 +24,6 @@ const char kDumpRenderTree[] = "dump-render-tree"; // Enable accelerated 2D canvas. const char kEnableAccelerated2DCanvas[] = "enable-accelerated-2d-canvas"; -// Alias for kEnableSoftwareCompositingGLAdapter. -const char kEnableSoftwareCompositing[] = "enable-software-compositing"; - // Encode binary layout test results (images, audio) using base64. const char kEncodeBinary[] = "encode-binary"; diff --git a/content/shell/common/shell_switches.h b/content/shell/common/shell_switches.h index 8d45e05..36474a7 100644 --- a/content/shell/common/shell_switches.h +++ b/content/shell/common/shell_switches.h @@ -15,7 +15,6 @@ extern const char kContentBrowserTest[]; extern const char kContentShellDataPath[]; extern const char kDumpRenderTree[]; extern const char kEnableAccelerated2DCanvas[]; -extern const char kEnableSoftwareCompositing[]; extern const char kEncodeBinary[]; extern const char kExposeInternalsForTesting[]; extern const char kOutputLayoutTestDifferences[]; -- cgit v1.1