Searched refs:root_layer (Results 1 - 25 of 48) sorted by relevance

12

/external/chromium_org/cc/trees/
H A Dlayer_tree_host_common.h34 CalcDrawPropsInputs(LayerType* root_layer, argument
46 : root_layer(root_layer),
59 LayerType* root_layer; member in struct:cc::LayerTreeHostCommon::CalcDrawPropsInputs
77 LayerType* root_layer,
82 LayerType* root_layer,
119 LayerType* root_layer,
125 static LayerType* FindLayerInSubtree(LayerType* root_layer, int layer_id);
169 LayerType* LayerTreeHostCommon::FindLayerInSubtree(LayerType* root_layer, argument
171 if (!root_layer)
193 CallFunctionForSubtree( LayerType* root_layer, const base::Callback<void(LayerType* layer)>& function) argument
215 CalcDrawPropsInputsForTesting( LayerType* root_layer, gfx::Size device_viewport_size, const gfx::Transform& device_transform, RenderSurfaceLayerListType* render_surface_layer_list) argument
239 CalcDrawPropsInputsForTesting( LayerType* root_layer, gfx::Size device_viewport_size, RenderSurfaceLayerListType* render_surface_layer_list) argument
[all...]
H A Dlayer_tree_host_unittest_picture.cc32 layer_tree_host()->root_layer()->AddChild(picture);
44 layer_tree_host()->root_layer()->children()[0]->RemoveFromParent();
50 layer_tree_host()->root_layer()->AddChild(picture);
56 LayerImpl* pending_root_impl = impl->pending_tree()->root_layer();
57 LayerImpl* active_root_impl = impl->active_tree()->root_layer();
92 LayerImpl* active_root_impl = impl->active_tree()->root_layer();
H A Dquad_culler_unittest.cc145 scoped_ptr<TiledLayerImpl> root_layer = local
153 scoped_ptr<TiledLayerImpl> child_layer = MakeLayer(root_layer.get(),
170 root_layer.get(),
186 scoped_ptr<TiledLayerImpl> root_layer = local
194 scoped_ptr<TiledLayerImpl> child_layer = MakeLayer(root_layer.get(),
211 root_layer.get(),
227 scoped_ptr<TiledLayerImpl> root_layer = local
235 scoped_ptr<TiledLayerImpl> child_layer = MakeLayer(root_layer.get(),
252 root_layer.get(),
268 scoped_ptr<TiledLayerImpl> root_layer local
310 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local
376 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local
427 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local
468 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local
509 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local
555 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local
601 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local
649 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local
698 scoped_ptr<TiledLayerImpl> root_layer = MakeLayer(NULL, local
737 scoped_ptr<TiledLayerImpl> root_layer = local
777 scoped_ptr<TiledLayerImpl> root_layer = local
817 scoped_ptr<TiledLayerImpl> root_layer = local
857 scoped_ptr<TiledLayerImpl> root_layer = local
897 scoped_ptr<TiledLayerImpl> root_layer = local
[all...]
H A Dlayer_tree_host_unittest_video.cc52 LayerImpl* root_layer = host_impl->active_tree()->root_layer(); variable
53 RenderSurfaceImpl* root_surface = root_layer->render_surface();
77 host_impl->active_tree()->root_layer()->children()[0]);
H A Dlayer_tree_host_unittest_animation.cc25 layer_tree_host()->root_layer()->set_layer_animation_delegate(this);
123 PostAddInstantAnimationToMainThread(layer_tree_host()->root_layer());
141 host_impl->active_tree()->root_layer()->layer_animation_controller();
158 layer_tree_host()->root_layer()->layer_animation_controller();
187 PostAddAnimationToMainThread(layer_tree_host()->root_layer());
225 PostAddAnimationToMainThread(layer_tree_host()->root_layer());
264 PostAddAnimationToMainThread(layer_tree_host()->root_layer());
306 layer_tree_host()->root_layer()->AddChild(content_);
317 host_impl->active_tree()->root_layer()->children()[0]->
362 layer_tree_host()->root_layer()
[all...]
H A Dlayer_tree_host_unittest_scroll.cc34 layer_tree_host()->root_layer()->SetScrollable(true);
35 layer_tree_host()->root_layer()
37 layer_tree_host()->root_layer()->SetScrollOffset(initial_scroll_);
42 Layer* root = layer_tree_host()->root_layer();
54 LayerImpl* root = impl->active_tree()->root_layer();
98 layer_tree_host()->root_layer()->SetScrollable(true);
99 layer_tree_host()->root_layer()->SetScrollOffset(initial_scroll_);
100 layer_tree_host()->root_layer()->SetBounds(gfx::Size(200, 200));
101 layer_tree_host()->root_layer()
107 Layer* root = layer_tree_host()->root_layer();
404 scoped_refptr<Layer> root_layer = Layer::Create(); variable
450 layer_tree_host()->SetRootLayer(root_layer); variable
940 scoped_refptr<Layer> root_layer = Layer::Create(); variable
948 layer_tree_host()->SetRootLayer(root_layer); variable
[all...]
H A Dlayer_tree_host_unittest_damage.cc144 host_impl->active_tree()->root_layer()->render_surface();
206 host_impl->active_tree()->root_layer()->render_surface();
297 scoped_refptr<Layer> root_layer = Layer::Create(); variable
298 root_layer->SetBounds(gfx::Size(400,400));
299 layer_tree_host()->SetRootLayer(root_layer); variable
306 root_layer->AddChild(content_layer);
312 root_layer->AddChild(scrollbar_layer);
328 host_impl->active_tree()->root_layer()->render_surface();
357 LayerImpl* root = host_impl->active_tree()->root_layer();
H A Dlayer_tree_host.cc307 root_layer(), sync_tree->DetachLayerTree(), sync_tree));
310 TreeSynchronizer::PushProperties(root_layer(), sync_tree->root_layer());
318 sync_tree->root_layer(), hud_layer_->id());
465 layer_stack.push(root_layer());
556 void LayerTreeHost::SetRootLayer(scoped_refptr<Layer> root_layer) { argument
557 if (root_layer_.get() == root_layer.get())
562 root_layer_ = root_layer;
680 if (!root_layer())
683 DCHECK(!root_layer()
725 UpdateLayers(Layer* root_layer, ResourceUpdateQueue* queue) argument
[all...]
H A Dlayer_tree_host_impl.cc280 // TODO(boliu): Make draws without root_layer work and move this below
282 if (!active_tree_->root_layer()) {
526 LayerImpl* root_layer,
529 if (!root_layer || !SkColorGetA(screen_background_color))
539 root_layer,
541 root_layer->ShowDebugBorders(),
549 gfx::Rect root_target_rect = root_layer->render_surface()->content_rect();
553 shared_quad_state->SetAll(root_layer->draw_transform(),
563 bool did_invert = root_layer->screen_space_transform().GetInverse(
584 if (!CanDraw() || !active_tree_->root_layer())
524 AppendQuadsToFillScreen( RenderPass* target_render_pass, LayerImpl* root_layer, SkColor screen_background_color, const OcclusionTrackerImpl& occlusion_tracker) argument
[all...]
H A Dlayer_tree_host_unittest.cc162 VerifyAfterValues(impl->active_tree()->root_layer());
166 SetBeforeValues(layer_tree_host()->root_layer());
167 VerifyBeforeValues(layer_tree_host()->root_layer());
175 SetAfterValues(layer_tree_host()->root_layer());
819 layer_tree_host()->root_layer()->AddChild(scroll_layer_);
959 layer_tree_host()->root_layer()->AddChild(update_check_layer_);
1044 ASSERT_EQ(1u, impl->active_tree()->root_layer()->children().size());
1049 LayerImpl* root = impl->active_tree()->root_layer();
1050 LayerImpl* child = impl->active_tree()->root_layer()->children()[0];
1433 Layer* root_layer variable
2118 scoped_refptr<ContentLayer> root_layer = ContentLayer::Create(&client_); variable
2122 layer_tree_host()->SetRootLayer(root_layer); variable
2333 scoped_refptr<ContentLayer> root_layer = ContentLayer::Create(&client_); variable
2337 layer_tree_host()->SetRootLayer(root_layer); variable
2349 LayerImpl* root_layer = host_impl->active_tree()->root_layer(); variable
2352 LayerImpl* root_layer = host_impl->active_tree()->root_layer(); variable
4289 scoped_refptr<SolidColorLayer> root_layer = SolidColorLayer::Create(); variable
4293 layer_tree_host()->SetRootLayer(root_layer); variable
[all...]
H A Dlayer_tree_impl.cc137 target_tree->root_layer(), hud_layer()->id())));
250 if (!root_layer())
254 root_layer(), base::Bind(&ApplySentScrollDeltasOn));
301 if (!root_layer())
314 root_layer(),
362 LayerTreeHostCommon::FindLayerInSubtree(pending_tree->root_layer(),
375 if (!root_layer())
378 DidBecomeActiveRecursive(root_layer());
533 state->Set("root_layer", root_layer_->AsValue().release());
/external/chromium_org/cc/layers/
H A Dlayer_iterator_unittest.cc129 scoped_refptr<TestLayer> root_layer = TestLayer::Create(); local
135 root_layer->AddChild(first);
136 root_layer->AddChild(second);
137 root_layer->AddChild(third);
138 root_layer->AddChild(fourth);
141 host->SetRootLayer(root_layer);
145 root_layer.get(), root_layer->bounds(), &render_surface_layer_list);
149 EXPECT_COUNT(root_layer, 0, -1, 1);
156 EXPECT_COUNT(root_layer,
164 scoped_refptr<TestLayer> root_layer = TestLayer::Create(); local
215 scoped_refptr<TestLayer> root_layer = TestLayer::Create(); local
[all...]
H A Drender_surface_unittest.cc84 scoped_ptr<LayerImpl> root_layer = local
94 root_layer->AddChild(owning_layer.Pass());
147 scoped_ptr<LayerImpl> root_layer = local
157 root_layer->AddChild(owning_layer.Pass());
H A Dtiled_layer_unittest.cc123 occlusion_->SetRenderTarget(layer_tree_host_->root_layer());
126 layer_tree_host_->root_layer(),
204 layer_tree_host_->root_layer()->AddChild(layer);
235 layer_tree_host_->root_layer()->AddChild(layer);
285 layer_tree_host_->root_layer()->AddChild(layer);
324 layer_tree_host_->root_layer()->AddChild(layer);
363 layer_tree_host_->root_layer()->AddChild(layer);
447 layer_tree_host_->root_layer()->AddChild(layer1);
448 layer_tree_host_->root_layer()->AddChild(layer2);
506 layer_tree_host_->root_layer()
937 scoped_refptr<FakeTiledLayer> root_layer = make_scoped_refptr( local
[all...]
H A Ddelegated_renderer_layer_impl_unittest.cc63 scoped_ptr<LayerImpl> root_layer = SolidColorLayerImpl::Create( local
73 root_layer->SetBounds(gfx::Size(100, 100));
121 root_layer_ = root_layer.get();
129 root_layer->AddChild(layer_after.Pass());
133 root_layer->AddChild(layer_before.Pass());
134 host_impl_->active_tree()->SetRootLayer(root_layer.Pass());
466 scoped_ptr<LayerImpl> root_layer = LayerImpl::Create( local
472 root_layer->SetBounds(gfx::Size(100, 100));
584 root_layer_ = root_layer.get();
587 root_layer
873 scoped_ptr<LayerImpl> root_layer = local
[all...]
/external/chromium_org/ash/wm/
H A Dboot_splash_screen.cc58 ui::Layer* root_layer = root_window->layer(); local
59 layer_->SetBounds(gfx::Rect(root_layer->bounds().size()));
60 root_layer->Add(layer_.get());
61 root_layer->StackAtTop(layer_.get());
H A Dscreen_dimmer.cc46 ui::Layer* root_layer = root_window_->layer(); local
47 dimming_layer_->SetBounds(root_layer->bounds());
48 root_layer->Add(dimming_layer_.get());
49 root_layer->StackAtTop(dimming_layer_.get());
H A Dsystem_background_controller.cc31 ui::Layer* root_layer = root_window_->layer(); local
32 layer_->SetBounds(gfx::Rect(root_layer->bounds().size()));
33 root_layer->Add(layer_.get());
34 root_layer->StackAtBottom(layer_.get());
H A Dscreen_dimmer_unittest.cc48 ui::Layer* root_layer = Shell::GetPrimaryRootWindow()->layer(); local
49 ASSERT_TRUE(!root_layer->children().empty());
50 EXPECT_EQ(test_api_->layer(), root_layer->children().back());
67 ui::Layer* root_layer = Shell::GetPrimaryRootWindow()->layer(); local
68 EXPECT_EQ(gfx::Rect(root_layer->bounds().size()).ToString(),
/external/chromium_org/cc/test/
H A Dfake_layer_tree_host.h37 using LayerTreeHost::root_layer;
45 root_layer(),
48 TreeSynchronizer::PushProperties(root_layer(), layer_impl.get());
51 return active_tree()->root_layer();
H A Dlayer_tree_test.cc429 if (!layer_tree_host_->root_layer()) {
430 scoped_refptr<Layer> root_layer = Layer::Create(); local
431 root_layer->SetAnchorPoint(gfx::PointF());
432 root_layer->SetBounds(gfx::Size(1, 1));
433 root_layer->SetIsDrawable(true);
434 layer_tree_host_->SetRootLayer(root_layer);
437 gfx::Size root_bounds = layer_tree_host_->root_layer()->bounds();
589 if (layer_tree_host_ && layer_tree_host_->root_layer())
590 layer_tree_host_->root_layer()->SetLayerTreeHost(NULL);
/external/chromium_org/webkit/renderer/compositor_bindings/
H A Dweb_layer_impl_fixed_bounds_unittest.cc101 scoped_ptr<WebLayerImplFixedBounds> root_layer(new WebLayerImplFixedBounds());
115 root_layer->addChild(fixed_bounds_layer);
128 root_layer->addChild(normal_layer);
131 host->SetRootLayer(root_layer->layer());
136 root_layer->layer(), kDeviceViewportSize, &render_surface_layer_list);
139 inputs.page_scale_application_layer = root_layer->layer(),
155 root_layer->layer(), kDeviceViewportSize, &render_surface_layer_list);
158 inputs.page_scale_application_layer = root_layer->layer(),
/external/chromium_org/cc/debug/
H A Ddebug_rect_history.cc26 LayerImpl* root_layer,
36 SaveTouchEventHandlerRects(root_layer);
39 SaveWheelEventHandlerRects(root_layer);
42 SaveNonFastScrollableRects(root_layer);
45 SavePaintRects(root_layer);
25 SaveDebugRectsForCurrentFrame( LayerImpl* root_layer, const LayerImplList& render_surface_layer_list, const std::vector<gfx::Rect>& occluding_screen_space_rects, const std::vector<gfx::Rect>& non_occluding_screen_space_rects, const LayerTreeDebugState& debug_state) argument
H A Ddebug_rect_history.h78 LayerImpl* root_layer,
/external/chromium_org/content/browser/android/
H A Doverscroll_glow.h32 // The caller should attach |root_layer| to the desired layer tree.
62 scoped_refptr<cc::Layer> root_layer() const { function in class:content::OverscrollGlow

Completed in 349 milliseconds

12