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

Side by Side Diff: cc/layer_tree_host_unittest.cc

Issue 11794019: Avoid exposing gl bindings through cc public API headers (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 7 years, 11 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 | Annotate | Revision Log
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/layer_updater.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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 "cc/layer_tree_host.h" 5 #include "cc/layer_tree_host.h"
6 6
7 #include "base/synchronization/lock.h" 7 #include "base/synchronization/lock.h"
8 #include "cc/content_layer.h" 8 #include "cc/content_layer.h"
9 #include "cc/content_layer_client.h" 9 #include "cc/content_layer_client.h"
10 #include "cc/layer_impl.h" 10 #include "cc/layer_impl.h"
11 #include "cc/layer_tree_host_impl.h" 11 #include "cc/layer_tree_host_impl.h"
12 #include "cc/layer_tree_impl.h" 12 #include "cc/layer_tree_impl.h"
13 #include "cc/output_surface.h" 13 #include "cc/output_surface.h"
14 #include "cc/prioritized_resource.h"
14 #include "cc/single_thread_proxy.h" 15 #include "cc/single_thread_proxy.h"
15 #include "cc/test/fake_content_layer.h" 16 #include "cc/test/fake_content_layer.h"
16 #include "cc/test/fake_content_layer_client.h" 17 #include "cc/test/fake_content_layer_client.h"
17 #include "cc/test/fake_layer_tree_host_client.h" 18 #include "cc/test/fake_layer_tree_host_client.h"
18 #include "cc/test/fake_output_surface.h" 19 #include "cc/test/fake_output_surface.h"
19 #include "cc/test/fake_proxy.h" 20 #include "cc/test/fake_proxy.h"
20 #include "cc/test/fake_scrollbar_layer.h" 21 #include "cc/test/fake_scrollbar_layer.h"
21 #include "cc/test/geometry_test_utils.h" 22 #include "cc/test/geometry_test_utils.h"
22 #include "cc/test/layer_tree_test_common.h" 23 #include "cc/test/layer_tree_test_common.h"
23 #include "cc/resource_update_queue.h" 24 #include "cc/resource_update_queue.h"
(...skipping 1989 matching lines...) Expand 10 before | Expand all | Expand 10 after
2013 LayerTreeSettings settings; 2014 LayerTreeSettings settings;
2014 settings.maxPartialTextureUpdates = 4; 2015 settings.maxPartialTextureUpdates = 4;
2015 2016
2016 scoped_ptr<LayerTreeHost> host = LayerTreeHost::create(&client, settings, sc oped_ptr<Thread>()); 2017 scoped_ptr<LayerTreeHost> host = LayerTreeHost::create(&client, settings, sc oped_ptr<Thread>());
2017 EXPECT_TRUE(host->initializeRendererIfNeeded()); 2018 EXPECT_TRUE(host->initializeRendererIfNeeded());
2018 EXPECT_EQ(0u, host->settings().maxPartialTextureUpdates); 2019 EXPECT_EQ(0u, host->settings().maxPartialTextureUpdates);
2019 } 2020 }
2020 2021
2021 } // namespace 2022 } // namespace
2022 } // namespace cc 2023 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layer_tree_host.cc ('k') | cc/layer_updater.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698