diff options
author | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 02:46:22 +0000 |
---|---|---|
committer | jbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-08-01 02:46:22 +0000 |
commit | ebc0e1dfdf04993d73087a92d3584b82936e15d2 (patch) | |
tree | 6fe976dcaaef63c7bb285506206f41e88f405aad /cc/test/fake_layer_tree_host_client.h | |
parent | 9ee0d98ec72e8ac96dd2d86de5b1746baa18bb50 (diff) | |
download | chromium_src-ebc0e1dfdf04993d73087a92d3584b82936e15d2.zip chromium_src-ebc0e1dfdf04993d73087a92d3584b82936e15d2.tar.gz chromium_src-ebc0e1dfdf04993d73087a92d3584b82936e15d2.tar.bz2 |
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
Diffstat (limited to 'cc/test/fake_layer_tree_host_client.h')
-rw-r--r-- | cc/test/fake_layer_tree_host_client.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/test/fake_layer_tree_host_client.h b/cc/test/fake_layer_tree_host_client.h index 47c4e27..5c174eb 100644 --- a/cc/test/fake_layer_tree_host_client.h +++ b/cc/test/fake_layer_tree_host_client.h @@ -31,7 +31,7 @@ class FakeLayerTreeHostClient : public LayerTreeHostClient { virtual void ApplyScrollAndScale(gfx::Vector2d scroll_delta, float page_scale) OVERRIDE {} - virtual scoped_ptr<OutputSurface> CreateOutputSurface() OVERRIDE; + virtual scoped_ptr<OutputSurface> CreateOutputSurface(bool fallback) OVERRIDE; virtual void DidInitializeOutputSurface(bool success) OVERRIDE {} virtual void WillCommit() OVERRIDE {} virtual void DidCommit() OVERRIDE {} |