summaryrefslogtreecommitdiffstats
path: root/cc/layers/ui_resource_layer_unittest.cc
diff options
context:
space:
mode:
authorjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-22 23:05:57 +0000
committerjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-10-22 23:05:57 +0000
commita7f3568e1e8421fd6a489a87894e779eeec03dfa (patch)
tree4d1f5d044121edb0d264db1c29dee4a6fc840eba /cc/layers/ui_resource_layer_unittest.cc
parente936b9ef160643c4272f44562ef743cfe01c1854 (diff)
downloadchromium_src-a7f3568e1e8421fd6a489a87894e779eeec03dfa.zip
chromium_src-a7f3568e1e8421fd6a489a87894e779eeec03dfa.tar.gz
chromium_src-a7f3568e1e8421fd6a489a87894e779eeec03dfa.tar.bz2
Add delegated rendering support for software renderer.
This patch adds support to cc/ for delegated rendering with a software compositor. A new SharedBitmapManager is added, which will create SharedBitmaps with unique IDs in shared memory. These can be filled in the child, and their IDs can be sent to the browser so it can map them and draw from them. No implementations of the SharedBitmapManager are added in this patch, so delegated rendering support won't work in practice yet, and it will fall back to not allocating anything in shared memory. BUG= Review URL: https://codereview.chromium.org/24632004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@230245 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/layers/ui_resource_layer_unittest.cc')
-rw-r--r--cc/layers/ui_resource_layer_unittest.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/cc/layers/ui_resource_layer_unittest.cc b/cc/layers/ui_resource_layer_unittest.cc
index 1720b81..a2c75c1 100644
--- a/cc/layers/ui_resource_layer_unittest.cc
+++ b/cc/layers/ui_resource_layer_unittest.cc
@@ -32,7 +32,7 @@ namespace {
class MockLayerTreeHost : public LayerTreeHost {
public:
explicit MockLayerTreeHost(LayerTreeHostClient* client)
- : LayerTreeHost(client, LayerTreeSettings()) {
+ : LayerTreeHost(client, NULL, LayerTreeSettings()) {
Initialize(NULL);
}
};