HomeSort by relevance Sort by last modified time
    Searched defs:root_layer (Results 1 - 25 of 28) 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 63 ui::Layer* root_layer = host->window()->layer(); local
65 root_layer->Add(layer_.get());
66 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 34 CalcDrawPropsInputs(LayerType* root_layer,
46 : root_layer(root_layer),
60 LayerType* root_layer; member in struct:cc::LayerTreeHostCommon::CalcDrawPropsInputs
78 LayerType* root_layer,
83 LayerType* root_layer,
108 LayerType* root_layer,
114 static LayerType* FindLayerInSubtree(LayerType* root_layer, int layer_id);
160 LayerType* LayerTreeHostCommon::FindLayerInSubtree(LayerType* root_layer,
162 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...]
layer_tree_impl_unittest.cc 34 LayerImpl* root_layer() { return host_impl_->active_tree()->root_layer(); } function in class:cc::__anon7397::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...]
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>());
128 EXPECT_EQ(active_tree()->root_layer(), next.current_layer);
157 active_tree()->root_layer()->AddChild(opaque_layer.PassAs<LayerImpl>());
197 EXPECT_EQ(active_tree()->root_layer(), next.current_layer);
layer_tree_impl.h 113 LayerImpl* root_layer() const { return root_layer_.get(); } function in class:cc::LayerTreeImpl
layer_tree_host_unittest_scroll.cc 35 Layer* root_layer = layer_tree_host()->root_layer(); variable
37 root_layer->AddChild(scroll_layer);
39 scroll_layer->SetBounds(gfx::Size(root_layer->bounds().width() + 100,
40 root_layer->bounds().height() + 100));
43 scroll_layer->SetScrollClipLayerId(root_layer->id());
45 layer_tree_host()->RegisterViewportLayers(root_layer, scroll_layer, NULL);
50 Layer* root = layer_tree_host()->root_layer();
64 LayerImpl* root = impl->active_tree()->root_layer();
110 Layer* root_layer = layer_tree_host()->root_layer() variable
206 Layer* root_layer = layer_tree_host()->root_layer(); variable
379 Layer* root_layer = layer_tree_host()->root_layer(); variable
449 scoped_refptr<Layer> root_layer = Layer::Create(); variable
493 layer_tree_host()->SetRootLayer(root_layer); variable
774 Layer* root_layer = layer_tree_host()->root_layer(); variable
902 Layer* root_layer = layer_tree_host()->root_layer(); variable
1153 scoped_refptr<Layer> root_layer = Layer::Create(); variable
1161 layer_tree_host()->SetRootLayer(root_layer); variable
    [all...]
layer_tree_host.h 166 void SetRootLayer(scoped_refptr<Layer> root_layer);
167 Layer* root_layer() { return root_layer_.get(); } function in class:cc::LayerTreeHost
168 const Layer* root_layer() const { return root_layer_.get(); } function in class:cc::LayerTreeHost
323 bool UpdateLayers(Layer* root_layer, ResourceUpdateQueue* queue);
  /external/chromium_org/cc/layers/
render_surface_unittest.cc 87 scoped_ptr<LayerImpl> root_layer = local
97 root_layer->AddChild(owning_layer.Pass());
151 scoped_ptr<LayerImpl> root_layer = local
161 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);
115 host->SetRootLayer(root_layer);
119 root_layer.get(), root_layer->bounds(), &render_surface_layer_list);
123 EXPECT_COUNT(root_layer, 5, -1, 4);
131 scoped_refptr<TestLayer> root_layer = TestLayer::Create() local
171 scoped_refptr<TestLayer> root_layer = TestLayer::Create(); local
    [all...]
delegated_renderer_layer_impl_unittest.cc 62 scoped_ptr<LayerImpl> root_layer = SolidColorLayerImpl::Create( local
72 root_layer->SetBounds(gfx::Size(100, 100));
117 root_layer_ = root_layer.get();
125 root_layer->AddChild(layer_after.Pass());
129 root_layer->AddChild(layer_before.Pass());
130 host_impl_->active_tree()->SetRootLayer(root_layer.Pass());
492 scoped_ptr<LayerImpl> root_layer = LayerImpl::Create( local
498 root_layer->SetBounds(gfx::Size(100, 100));
631 root_layer_ = root_layer.get();
634 root_layer->AddChild(delegated_renderer_layer.PassAs<LayerImpl>())
939 scoped_ptr<LayerImpl> root_layer = local
1342 scoped_ptr<LayerImpl> root_layer = LayerImpl::Create( local
    [all...]
scrollbar_layer_unittest.cc 198 scoped_refptr<Layer> root_layer = Layer::Create(); local
201 FakePaintedScrollbarLayer::Create(false, true, root_layer->id());
203 root_layer->SetScrollClipLayerId(root_clip_layer->id());
206 root_layer->SetBounds(gfx::Size(100, 50));
210 root_clip_layer->AddChild(root_layer);
211 root_layer->AddChild(content_layer);
212 root_layer->AddChild(scrollbar_layer);
214 root_layer->SetScrollOffset(gfx::Vector2d(0, 0));
216 scrollbar_layer->SetScrollLayer(root_layer->id());
235 root_layer->SetScrollOffset(gfx::Vector2d(-5, 0))
    [all...]
tiled_layer_unittest.cc 181 occlusion_->SetRenderTarget(layer_tree_host_->root_layer());
184 layer_tree_host_->root_layer(),
265 layer_tree_host_->root_layer()->AddChild(layer);
296 layer_tree_host_->root_layer()->AddChild(layer);
335 layer_tree_host_->root_layer()->AddChild(layer);
374 layer_tree_host_->root_layer()->AddChild(layer);
413 layer_tree_host_->root_layer()->AddChild(layer);
497 layer_tree_host_->root_layer()->AddChild(layer1);
498 layer_tree_host_->root_layer()->AddChild(layer2);
556 layer_tree_host_->root_layer()->AddChild(layer)
984 scoped_refptr<FakeTiledLayer> root_layer = make_scoped_refptr( local
    [all...]
  /external/chromium_org/cc/test/
layer_test_common.h 113 LayerImpl* root_layer() const { return root_layer_impl_.get(); } function in class:cc::LayerTestCommon::LayerImplTest
layer_tree_test.cc 544 if (!layer_tree_host_->root_layer()) {
545 scoped_refptr<Layer> root_layer = Layer::Create(); local
546 root_layer->SetBounds(gfx::Size(1, 1));
547 root_layer->SetIsDrawable(true);
548 layer_tree_host_->SetRootLayer(root_layer);
551 gfx::Size root_bounds = layer_tree_host_->root_layer()->bounds();
746 if (layer_tree_host_ && layer_tree_host_->root_layer())
747 layer_tree_host_->root_layer()->SetLayerTreeHost(NULL);
  /external/chromium_org/chrome/browser/chromeos/ui/
focus_ring_layer.cc 42 ui::Layer* root_layer = root_window->layer(); local
47 root_layer->Add(layer_.get());
  /external/chromium_org/mojo/examples/compositor_app/
compositor_host.cc 38 scoped_refptr<cc::Layer> root_layer = cc::SolidColorLayer::Create(); local
39 root_layer->SetBounds(gfx::Size(500, 500));
40 root_layer->SetBackgroundColor(SK_ColorBLUE);
41 root_layer->SetIsDrawable(true);
42 tree_->SetRootLayer(root_layer);
51 root_layer->AddChild(child_layer_);
  /external/chromium_org/ui/compositor/
compositor.h 147 const Layer* root_layer() const { return root_layer_; } function in class:ui::Compositor
148 Layer* root_layer() { return root_layer_; } function in class:ui::Compositor
149 void SetRootLayer(Layer* root_layer);
184 // the |root_layer|.
layer.cc 143 DCHECK(!compositor || compositor->root_layer() == this);
434 const Layer* root_layer = GetRoot(source); local
435 CHECK_EQ(root_layer, GetRoot(target));
437 if (source != root_layer)
438 source->ConvertPointForAncestor(root_layer, point);
439 if (target != root_layer)
440 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...]
  /external/chromium_org/ui/views/
view_unittest.cc 3094 ui::Layer* root_layer = widget()->GetLayer(); local
3575 ui::Layer* root_layer = GetRootLayer(); local
    [all...]

Completed in 298 milliseconds

1 2