HomeSort by relevance Sort by last modified time
    Searched defs:root_layer (Results 1 - 25 of 29) sorted by null

1 2

  /external/chromium_org/ash/wm/
system_background_controller.cc 21 ui::Layer* root_layer = root_window_->layer(); local
22 layer_->SetBounds(gfx::Rect(root_layer->bounds().size()));
23 root_layer->Add(layer_.get());
24 root_layer->StackAtBottom(layer_.get());
boot_splash_screen_chromeos.cc 66 ui::Layer* root_layer = host->window()->layer(); local
68 root_layer->Add(layer_.get());
69 root_layer->StackAtTop(layer_.get());
screen_dimmer.cc 44 ui::Layer* root_layer = root_window_->layer(); local
45 dimming_layer_->SetBounds(root_layer->bounds());
46 root_layer->Add(dimming_layer_.get());
47 root_layer->StackAtTop(dimming_layer_.get());
screen_dimmer_unittest.cc 48 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/trees/
layer_tree_host_unittest_video.cc 50 LayerImpl* root_layer = host_impl->active_tree()->root_layer(); variable
51 RenderSurfaceImpl* root_surface = root_layer->render_surface();
75 host_impl->active_tree()->root_layer()->children()[0]);
layer_tree_host_common.h 35 CalcDrawPropsInputs(LayerType* root_layer,
47 : root_layer(root_layer),
61 LayerType* root_layer; member in struct:cc::LayerTreeHostCommon::CalcDrawPropsInputs
79 LayerType* root_layer,
84 LayerType* root_layer,
109 LayerType* root_layer,
115 static LayerType* FindLayerInSubtree(LayerType* root_layer, int layer_id);
163 LayerType* LayerTreeHostCommon::FindLayerInSubtree(LayerType* root_layer,
165 if (!root_layer)
    [all...]
layer_tree_host_unittest_damage.cc 58 impl->active_tree()->root_layer()->render_surface();
120 impl->active_tree()->root_layer()->render_surface();
268 host_impl->active_tree()->root_layer()->render_surface();
359 scoped_refptr<Layer> root_layer = Layer::Create(); variable
360 root_layer->SetBounds(gfx::Size(400, 400));
361 root_layer->SetMasksToBounds(true);
362 layer_tree_host()->SetRootLayer(root_layer); variable
373 root_layer->AddChild(scroll_clip_layer);
381 root_layer->AddChild(scrollbar_layer);
409 host_impl->active_tree()->root_layer()->render_surface()
    [all...]
occlusion_tracker_perftest.cc 44 scoped_ptr<LayerImpl> root_layer = LayerImpl::Create(active_tree(), 1); local
45 active_tree()->SetRootLayer(root_layer.Pass());
89 active_tree()->root_layer()->AddChild(opaque_layer.PassAs<LayerImpl>());
130 EXPECT_EQ(active_tree()->root_layer(), next.current_layer);
159 active_tree()->root_layer()->AddChild(opaque_layer.PassAs<LayerImpl>());
201 EXPECT_EQ(active_tree()->root_layer(), next.current_layer);
layer_tree_impl_unittest.cc 34 LayerImpl* root_layer() { return host_impl_->active_tree()->root_layer(); } function in class:cc::__anon7458::LayerTreeImplTest
69 ASSERT_EQ(1u, root_layer()->render_surface()->layer_list().size());
135 ASSERT_EQ(2u, root_layer()->render_surface()->layer_list().size());
192 ASSERT_EQ(1u, root_layer()->render_surface()->layer_list().size());
193 ASSERT_FALSE(root_layer()->screen_space_transform().IsInvertible());
259 ASSERT_EQ(1u, root_layer()->render_surface()->layer_list().size());
315 ASSERT_EQ(1u, root_layer()->render_surface()->layer_list().size());
384 ASSERT_EQ(1u, root_layer()->render_surface()->layer_list().size());
466 host_impl().active_tree()->root_layer()->children()[0]
    [all...]
layer_tree_host_unittest_scroll.cc 37 Layer* root_layer = layer_tree_host()->root_layer(); variable
39 root_layer->AddChild(scroll_layer);
41 scroll_layer->SetBounds(gfx::Size(root_layer->bounds().width() + 100,
42 root_layer->bounds().height() + 100));
45 scroll_layer->SetScrollClipLayerId(root_layer->id());
47 layer_tree_host()->RegisterViewportLayers(root_layer, scroll_layer, NULL);
52 Layer* root = layer_tree_host()->root_layer();
66 LayerImpl* root = impl->active_tree()->root_layer();
113 Layer* root_layer = layer_tree_host()->root_layer() variable
210 Layer* root_layer = layer_tree_host()->root_layer(); variable
385 Layer* root_layer = layer_tree_host()->root_layer(); variable
455 scoped_refptr<Layer> root_layer = Layer::Create(); variable
499 layer_tree_host()->SetRootLayer(root_layer); variable
754 Layer* root_layer = layer_tree_host()->root_layer(); variable
883 Layer* root_layer = layer_tree_host()->root_layer(); variable
1136 scoped_refptr<Layer> root_layer = Layer::Create(); variable
1144 layer_tree_host()->SetRootLayer(root_layer); variable
    [all...]
layer_tree_host.h 170 void SetRootLayer(scoped_refptr<Layer> root_layer);
171 Layer* root_layer() { return root_layer_.get(); } function in class:cc::LayerTreeHost
172 const Layer* root_layer() const { return root_layer_.get(); } function in class:cc::LayerTreeHost
332 bool UpdateLayers(Layer* root_layer, ResourceUpdateQueue* queue);
layer_tree_impl.h 121 LayerImpl* root_layer() const { return root_layer_.get(); } function in class:cc::LayerTreeImpl
  /external/chromium_org/cc/layers/
render_surface_unittest.cc 87 scoped_ptr<LayerImpl> root_layer = local
97 root_layer->AddChild(owning_layer.Pass());
153 scoped_ptr<LayerImpl> root_layer = local
163 root_layer->AddChild(owning_layer.Pass());
layer_iterator_unittest.cc 103 scoped_refptr<TestLayer> root_layer = TestLayer::Create(); local
109 root_layer->AddChild(first);
110 root_layer->AddChild(second);
111 root_layer->AddChild(third);
112 root_layer->AddChild(fourth);
116 host->SetRootLayer(root_layer);
120 root_layer.get(), root_layer->bounds(), &render_surface_layer_list);
124 EXPECT_COUNT(root_layer, 5, -1, 4);
132 scoped_refptr<TestLayer> root_layer = TestLayer::Create() local
173 scoped_refptr<TestLayer> root_layer = TestLayer::Create(); local
    [all...]
delegated_renderer_layer_impl_unittest.cc 61 scoped_ptr<LayerImpl> root_layer = SolidColorLayerImpl::Create( local
71 root_layer->SetBounds(gfx::Size(100, 100));
116 root_layer_ = root_layer.get();
124 root_layer->AddChild(layer_after.Pass());
128 root_layer->AddChild(layer_before.Pass());
129 host_impl_->active_tree()->SetRootLayer(root_layer.Pass());
319 host_impl_->active_tree()->root_layer());
339 host_impl_->active_tree()->root_layer());
505 scoped_ptr<LayerImpl> root_layer = LayerImpl::Create( local
511 root_layer->SetBounds(gfx::Size(100, 100))
941 scoped_ptr<LayerImpl> root_layer = local
1333 scoped_ptr<LayerImpl> root_layer = LayerImpl::Create( local
    [all...]
layer_unittest.cc 1239 scoped_refptr<Layer> root_layer = Layer::Create(); local
    [all...]
scrollbar_layer_unittest.cc 203 scoped_refptr<Layer> root_layer = Layer::Create(); local
206 FakePaintedScrollbarLayer::Create(false, true, root_layer->id());
208 root_layer->SetScrollClipLayerId(root_clip_layer->id());
211 root_layer->SetBounds(gfx::Size(100, 50));
215 root_clip_layer->AddChild(root_layer);
216 root_layer->AddChild(content_layer);
217 root_layer->AddChild(scrollbar_layer);
219 root_layer->SetScrollOffset(gfx::Vector2d(0, 0));
221 scrollbar_layer->SetScrollLayer(root_layer->id());
248 scoped_refptr<Layer> root_layer = Layer::Create() local
    [all...]
tiled_layer_unittest.cc 187 occlusion_->SetRenderTarget(layer_tree_host_->root_layer());
190 layer_tree_host_->root_layer(),
271 layer_tree_host_->root_layer()->AddChild(layer);
302 layer_tree_host_->root_layer()->AddChild(layer);
323 layer_tree_host_->root_layer()->AddChild(layer);
362 layer_tree_host_->root_layer()->AddChild(layer);
401 layer_tree_host_->root_layer()->AddChild(layer);
440 layer_tree_host_->root_layer()->AddChild(layer);
524 layer_tree_host_->root_layer()->AddChild(layer1);
525 layer_tree_host_->root_layer()->AddChild(layer2)
1015 scoped_refptr<FakeTiledLayer> root_layer = make_scoped_refptr( local
    [all...]
  /external/chromium_org/cc/test/
layer_test_common.h 121 LayerImpl* root_layer() const { return root_layer_impl_.get(); } function in class:cc::LayerTestCommon::LayerImplTest
layer_tree_test.cc 536 if (!layer_tree_host_->root_layer()) {
537 scoped_refptr<Layer> root_layer = Layer::Create(); local
538 root_layer->SetBounds(gfx::Size(1, 1));
539 root_layer->SetIsDrawable(true);
540 layer_tree_host_->SetRootLayer(root_layer);
543 gfx::Size root_bounds = layer_tree_host_->root_layer()->bounds();
708 if (layer_tree_host_ && layer_tree_host_->root_layer())
709 layer_tree_host_->root_layer()->SetLayerTreeHost(NULL);
  /external/chromium_org/chrome/browser/chromeos/ui/
focus_ring_layer.cc 46 ui::Layer* root_layer = root_window->layer(); local
51 root_layer->Add(layer_.get());
  /external/chromium_org/mojo/examples/compositor_app/
compositor_host.cc 43 scoped_refptr<cc::Layer> root_layer = cc::SolidColorLayer::Create(); local
44 root_layer->SetBounds(gfx::Size(500, 500));
45 root_layer->SetBackgroundColor(SK_ColorBLUE);
46 root_layer->SetIsDrawable(true);
47 tree_->SetRootLayer(root_layer);
56 root_layer->AddChild(child_layer_);
  /external/chromium_org/ui/compositor/
compositor.h 149 const Layer* root_layer() const { return root_layer_; } function in class:ui::Compositor
150 Layer* root_layer() { return root_layer_; } function in class:ui::Compositor
151 void SetRootLayer(Layer* root_layer);
186 // the |root_layer|.
layer.cc 145 DCHECK(!compositor || compositor->root_layer() == this);
436 const Layer* root_layer = GetRoot(source); local
437 CHECK_EQ(root_layer, GetRoot(target));
439 if (source != root_layer)
440 source->ConvertPointForAncestor(root_layer, point);
441 if (target != root_layer)
442 target->ConvertPointFromAncestor(root_layer, point);
  /external/chromium_org/content/renderer/gpu/
gpu_benchmarking_extension.cc 410 const cc::Layer* root_layer = context.compositor()->GetRootLayer(); local
411 if (!root_layer)
427 serializer.Serialize(root_layer);
    [all...]

Completed in 667 milliseconds

1 2