Searched refs:root_layer_ (Results 1 - 19 of 19) sorted by relevance

/external/chromium_org/cc/layers/
H A Ddelegated_renderer_layer_unittest.cc47 root_layer_ = SolidColorLayer::Create();
54 scoped_refptr<Layer> root_layer_; member in class:cc::__anon2679::DelegatedRendererLayerTestSimple
62 EXPECT_EQ(0, root_layer_->NumDescendantsThatDrawContent());
63 root_layer_->AddChild(layer_before_);
64 EXPECT_EQ(0, root_layer_->NumDescendantsThatDrawContent());
66 EXPECT_EQ(1, root_layer_->NumDescendantsThatDrawContent());
71 EXPECT_EQ(1, root_layer_->NumDescendantsThatDrawContent());
75 EXPECT_EQ(1002, root_layer_->NumDescendantsThatDrawContent());
H A Ddelegated_renderer_layer_impl_unittest.cc116 root_layer_ = root_layer.get();
133 LayerImpl* root_layer_; member in class:cc::__anon2678::DelegatedRendererLayerImplTestSimple
633 root_layer_ = root_layer.get();
683 LayerImpl* root_layer_; member in class:cc::__anon2678::DelegatedRendererLayerImplTestTransform
1065 root_layer_ = root_layer.get();
1090 LayerImpl* root_layer_; member in class:cc::__anon2678::DelegatedRendererLayerImplTestClip
/external/chromium_org/ui/compositor/
H A Dcompositor.cc75 root_layer_(NULL),
169 if (root_layer_)
170 root_layer_->SetCompositor(NULL);
191 if (root_layer_ == root_layer)
193 if (root_layer_)
194 root_layer_->SetCompositor(NULL);
195 root_layer_ = root_layer;
196 if (root_layer_ && !root_layer_->GetCompositor())
197 root_layer_
[all...]
H A Dcompositor.h149 const Layer* root_layer() const { return root_layer_; }
150 Layer* root_layer() { return root_layer_; }
282 Layer* root_layer_; member in class:ui::Compositor
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_unittest_no_message_loop.cc102 layer_tree_host_->SetRootLayer(root_layer_);
117 root_layer_ = NULL;
122 scoped_refptr<Layer> root_layer_; member in class:cc::__anon2827::LayerTreeHostNoMessageLoopTest
146 root_layer_ = solid_color_layer;
168 root_layer_ = Layer::Create();
173 root_layer_->AddChild(delegated_layer_);
H A Dlayer_tree_host.cc171 if (root_layer_.get())
172 root_layer_->SetLayerTreeHost(NULL);
182 if (root_layer_.get()) {
186 root_layer_ = NULL;
403 if (root_layer_.get() && !hud_layer_->parent())
404 root_layer_->AddChild(hud_layer_);
570 if (root_layer_.get() == root_layer.get())
573 if (root_layer_.get())
574 root_layer_->SetLayerTreeHost(NULL);
575 root_layer_
[all...]
H A Dlayer_tree_host_unittest.cc280 root_layer_(ContentLayer::Create(&client_)) {}
283 root_layer_->SetIsDrawable(true);
284 root_layer_->SetBounds(bounds_);
285 layer_tree_host()->SetRootLayer(root_layer_); variable
327 scoped_refptr<ContentLayer> root_layer_; member in class:cc::__anon2820::LayerTreeHostTestSetNeedsRedrawRect
339 root_layer_ = Layer::Create();
340 root_layer_->SetBounds(gfx::Size(10, 20));
344 root_layer_->AddChild(scaled_layer_);
346 layer_tree_host()->SetRootLayer(root_layer_); variable
378 scoped_refptr<Layer> root_layer_; member in class:cc::__anon2820::LayerTreeHostTestNoExtraCommitFromInvalidate
404 layer_tree_host()->SetRootLayer(root_layer_); variable
436 scoped_refptr<Layer> root_layer_; member in class:cc::__anon2820::LayerTreeHostTestNoExtraCommitFromScrollbarInvalidate
454 layer_tree_host()->SetRootLayer(root_layer_); variable
529 scoped_refptr<ContentLayer> root_layer_; member in class:cc::__anon2820::LayerTreeHostTestSetNextCommitForcesRedraw
544 layer_tree_host()->SetRootLayer(root_layer_); variable
619 scoped_refptr<ContentLayer> root_layer_; member in class:cc::__anon2820::LayerTreeHostTestUndrawnLayersDamageLater
638 layer_tree_host()->SetRootLayer(root_layer_); variable
689 scoped_refptr<Layer> root_layer_; member in class:cc::__anon2820::LayerTreeHostTestUndrawnLayersPushContentBoundsLater
1065 layer_tree_host()->SetRootLayer(root_layer_); variable
1140 scoped_refptr<NoScaleContentLayer> root_layer_; member in class:cc::__anon2820::LayerTreeHostTestDeviceScaleFactorScalesViewportAndLayers
1519 layer_tree_host()->SetRootLayer(root_layer_); variable
1574 scoped_refptr<FakeContentLayer> root_layer_; member in class:cc::__anon2820::LayerTreeHostTestSurfaceNotAllocatedForLayersOutsideMemoryLimit
2066 layer_tree_host()->SetRootLayer(root_layer_); variable
2125 scoped_refptr<FakeContentLayer> root_layer_; member in class:cc::__anon2820::LayerTreeHostTestShutdownWithOnlySomeResourcesEvicted
4045 layer_tree_host()->SetRootLayer(root_layer_); variable
4085 scoped_refptr<Layer> root_layer_; member in class:cc::__anon2820::LayerTreeHostTestPushHiddenLayer
4102 layer_tree_host()->SetRootLayer(root_layer_); variable
4123 scoped_refptr<FakePictureLayer> root_layer_; member in class:cc::__anon2820::LayerTreeHostTestUpdateLayerInEmptyViewport
[all...]
H A Dlayer_tree_host.h171 Layer* root_layer() { return root_layer_.get(); }
172 const Layer* root_layer() const { return root_layer_.get(); }
379 scoped_refptr<Layer> root_layer_; member in class:cc::LayerTreeHost
H A Dlayer_tree_impl.h121 LayerImpl* root_layer() const { return root_layer_.get(); }
337 scoped_ptr<LayerImpl> root_layer_; member in class:cc::LayerTreeImpl
H A Dlayer_tree_impl.cc108 DCHECK(!root_layer_);
112 void LayerTreeImpl::Shutdown() { root_layer_.reset(); }
115 if (root_layer_)
116 ReleaseResourcesRecursive(root_layer_.get());
127 root_layer_ = layer.Pass();
194 return root_layer_.Pass();
863 root_layer_->AsValueInto(state);
/external/chromium_org/content/browser/android/
H A Doverscroll_glow.cc189 if (!root_layer_)
197 if (root_layer_->parent() != parent)
198 parent->AddChild(root_layer_);
201 edge_effects_[i]->SetParent(root_layer_);
205 if (root_layer_)
206 root_layer_->RemoveFromParent();
214 DCHECK(!root_layer_);
215 root_layer_ = cc::Layer::Create();
H A Doverscroll_glow.h99 scoped_refptr<cc::Layer> root_layer_; member in class:content::OverscrollGlow
H A Dcontent_view_core_impl.cc217 root_layer_(cc::SolidColorLayer::Create()),
228 root_layer_->SetBackgroundColor(GetBackgroundColor(env, obj));
232 root_layer_->SetBounds(physical_size);
233 root_layer_->SetIsDrawable(true);
407 root_layer_->SetBackgroundColor(color);
762 root_layer_->InsertChild(layer, 0);
763 root_layer_->SetIsDrawable(false);
769 if (!root_layer_->children().size())
770 root_layer_->SetIsDrawable(true);
795 return root_layer_
[all...]
H A Dcontent_view_core_impl.h327 scoped_refptr<cc::Layer> root_layer_; member in class:content::ContentViewCoreImpl
/external/chromium_org/android_webview/browser/
H A Dhardware_renderer.cc84 root_layer_(cc::Layer::Create()),
105 layer_tree_host_->SetRootLayer(root_layer_);
116 root_layer_ = NULL;
191 root_layer_->AddChild(delegated_layer_);
H A Dhardware_renderer.h90 scoped_refptr<cc::Layer> root_layer_; member in class:android_webview::HardwareRenderer
/external/chromium_org/content/browser/renderer_host/
H A Dcompositor_impl_android.cc210 : root_layer_(cc::Layer::Create()),
368 root_layer_->AddChild(root_layer);
425 for (size_t i = 0; i < root_layer_->children().size(); ++i) {
426 if (root_layer_->children()[i]->HasCopyRequest()) {
466 host_->SetRootLayer(root_layer_);
490 root_layer_->SetBounds(size);
653 root_layer_->AddChild(layer);
658 root_layer_->RequestCopyOfOutput(request.Pass());
H A Dcompositor_impl_android.h139 // root_layer_ is the persistent internal root layer, while subroot_layer_
141 scoped_refptr<cc::Layer> root_layer_; member in class:content::CompositorImpl
H A Drender_widget_host_view_mac.h392 scoped_ptr<ui::Layer> root_layer_; member in class:content::RenderWidgetHostViewMac

Completed in 4295 milliseconds