From 4c0e3d72a5ccdc72aace7e29f3d7458eaf5b7224 Mon Sep 17 00:00:00 2001 From: "danakj@chromium.org" Date: Wed, 9 Jan 2013 03:23:05 +0000 Subject: cc: Implement DelegatingRender::drawFrame() method. The method sends the render passes it is given to the parent compositor via the output surface. It should include a valid frame metadata with it. Tests: DelegatingRendererTestDraw.runSingleThread DelegatingRendererTestDraw.runMultiThread DelegatingRendererTestResources.runSingleThread DelegatingRendererTestResources.runMultiThread R=piman BUG=123444 Review URL: https://chromiumcodereview.appspot.com/11777025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@175690 0039d316-1c4b-4281-b951-d872f2087c98 --- cc/layer_tree_host_unittest_animation.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cc/layer_tree_host_unittest_animation.cc') diff --git a/cc/layer_tree_host_unittest_animation.cc b/cc/layer_tree_host_unittest_animation.cc index 173d73e..7639e02 100644 --- a/cc/layer_tree_host_unittest_animation.cc +++ b/cc/layer_tree_host_unittest_animation.cc @@ -180,7 +180,10 @@ class LayerTreeHostAnimationTestCheckerboardDoesNotStarveDraws : endTest(); } - virtual bool prepareToDrawOnThread(LayerTreeHostImpl*) OVERRIDE { + virtual bool prepareToDrawOnThread( + LayerTreeHostImpl* host_impl, + LayerTreeHostImpl::FrameData& frame, + bool result) OVERRIDE { return false; } -- cgit v1.1