Lines Matching defs:layer_tree_host_impl
5 #include "cc/trees/layer_tree_host_impl.h"
4421 scoped_ptr<LayerTreeHostImpl> layer_tree_host_impl =
4428 layer_tree_host_impl->InitializeRenderer(output_surface.Pass());
4429 layer_tree_host_impl->SetViewportSize(gfx::Size(500, 500));
4432 FakeDrawableLayerImpl::Create(layer_tree_host_impl->active_tree(), 1);
4434 FakeDrawableLayerImpl::Create(layer_tree_host_impl->active_tree(), 2);
4443 layer_tree_host_impl->active_tree()->SetRootLayer(root.Pass());
4448 EXPECT_EQ(DRAW_SUCCESS, layer_tree_host_impl->PrepareToDraw(&frame));
4449 layer_tree_host_impl->DrawLayers(&frame, gfx::FrameTime::Now());
4450 layer_tree_host_impl->DidDrawAllLayers(frame);
4451 layer_tree_host_impl->SwapBuffers(frame);
4459 layer_tree_host_impl->active_tree()->root_layer()->children()[0]->SetPosition(
4461 EXPECT_EQ(DRAW_SUCCESS, layer_tree_host_impl->PrepareToDraw(&frame));
4462 layer_tree_host_impl->DrawLayers(&frame, gfx::FrameTime::Now());
4464 layer_tree_host_impl->SwapBuffers(frame);
4476 layer_tree_host_impl->SetViewportSize(gfx::Size(10, 10));
4478 layer_tree_host_impl->active_tree()->root_layer()->SetBackgroundColor(
4480 EXPECT_EQ(DRAW_SUCCESS, layer_tree_host_impl->PrepareToDraw(&frame));
4481 layer_tree_host_impl->DrawLayers(&frame, gfx::FrameTime::Now());
4483 layer_tree_host_impl->SwapBuffers(frame);
6650 LayerTreeHostImpl* layer_tree_host_impl,
6654 : SwapPromiseMonitor(layer_tree_host, layer_tree_host_impl),