summaryrefslogtreecommitdiffstats
path: root/cc/test/layer_tree_test.h
diff options
context:
space:
mode:
authorsievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 21:20:54 +0000
committersievers@chromium.org <sievers@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-03 21:20:54 +0000
commita668cd743ce83c2cf6226fe73e708427f19d7261 (patch)
tree12f68c2675a41b537fd2795deff16012f8fc507a /cc/test/layer_tree_test.h
parentc85e1a8a9bb5ae45fe48e03c500156426127bdda (diff)
downloadchromium_src-a668cd743ce83c2cf6226fe73e708427f19d7261.zip
chromium_src-a668cd743ce83c2cf6226fe73e708427f19d7261.tar.gz
chromium_src-a668cd743ce83c2cf6226fe73e708427f19d7261.tar.bz2
cc: Defer first OutputSurface creation until client is ready
Remove the |first_output_surface| which was not used before the client signals ready. This allows the client to wait before creating a graphics context until the gpu thread and client channel are set up. BUG=270179 R=danakj@chromium.org, jamesr@chromium.org, jochen@chromium.org Review URL: https://codereview.chromium.org/85693007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@238458 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cc/test/layer_tree_test.h')
-rw-r--r--cc/test/layer_tree_test.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/cc/test/layer_tree_test.h b/cc/test/layer_tree_test.h
index ac35a65..c32bcd9 100644
--- a/cc/test/layer_tree_test.h
+++ b/cc/test/layer_tree_test.h
@@ -103,10 +103,6 @@ class LayerTreeTest : public testing::Test, public TestHooks {
public:
virtual ~LayerTreeTest();
- virtual void AfterTest() = 0;
- virtual void BeginTest() = 0;
- virtual void SetupTree();
-
virtual void EndTest();
void EndTestAfterDelay(int delay_milliseconds);
@@ -147,6 +143,11 @@ class LayerTreeTest : public testing::Test, public TestHooks {
void DispatchComposite();
void DispatchDidAddAnimation();
+ virtual void AfterTest() = 0;
+ virtual void WillBeginTest();
+ virtual void BeginTest() = 0;
+ virtual void SetupTree();
+
virtual void RunTest(bool threaded,
bool delegating_renderer,
bool impl_side_painting);