Home
last modified time | relevance | path

Searched refs:root_layer (Results 1 – 25 of 236) sorted by relevance

12345678910

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/accelerated_widget_mac/
H A Dca_layer_tree_unittest_mac.mm102 CALayer* root_layer = [superlayer_ sublayers][0];
103 EXPECT_EQ(1u, [[root_layer sublayers] count]);
133 CALayer* root_layer = nil;
148 root_layer = [superlayer_ sublayers][0];
149 EXPECT_EQ(1u, [[root_layer sublayers] count]);
437 root_layer = [superlayer_ sublayers][0];
606 EXPECT_EQ(3u, [[root_layer sublayers] count]);
685 EXPECT_EQ(3u, [[root_layer sublayers] count]);
855 CALayer* root_layer = nil;
867 root_layer = [superlayer_ sublayers][0];
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/accelerated_widget_mac/
H A Dca_layer_tree_unittest_mac.mm104 CALayer* root_layer = [superlayer_ sublayers][0];
105 EXPECT_EQ(1u, [[root_layer sublayers] count]);
135 CALayer* root_layer = nil;
150 root_layer = [superlayer_ sublayers][0];
151 EXPECT_EQ(1u, [[root_layer sublayers] count]);
439 root_layer = [superlayer_ sublayers][0];
610 EXPECT_EQ(3u, [[root_layer sublayers] count]);
689 EXPECT_EQ(3u, [[root_layer sublayers] count]);
878 CALayer* root_layer = nil;
890 root_layer = [superlayer_ sublayers][0];
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/layers/
H A Dlayer_list_iterator.cc11 LayerListIterator::LayerListIterator(Layer* root_layer) in LayerListIterator() argument
12 : current_layer_(root_layer) { in LayerListIterator()
13 DCHECK(!root_layer || !root_layer->parent()); in LayerListIterator()
51 LayerListReverseIterator::LayerListReverseIterator(Layer* root_layer) in LayerListReverseIterator() argument
52 : LayerListIterator(root_layer) { in LayerListReverseIterator()
H A Dsolid_color_layer_impl_unittest.cc30 root_layer()->SetBounds(layer_size); in TEST_F()
36 CopyProperties(root_layer(), layer); in TEST_F()
50 root_layer()->SetBounds(layer_size); in TEST_F()
56 CopyProperties(root_layer(), layer); in TEST_F()
81 CopyProperties(root_layer(), layer); in TEST_F()
107 CopyProperties(root_layer(), layer); in TEST_F()
136 CopyProperties(root_layer(), layer); in TEST_F()
154 CopyProperties(root_layer(), layer); in TEST_F()
248 CopyProperties(root_layer(), solid_color_layer_impl); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/layers/
H A Dlayer_list_iterator.cc11 LayerListIterator::LayerListIterator(Layer* root_layer) in LayerListIterator() argument
12 : current_layer_(root_layer) { in LayerListIterator()
13 DCHECK(!root_layer || !root_layer->parent()); in LayerListIterator()
51 LayerListReverseIterator::LayerListReverseIterator(Layer* root_layer) in LayerListReverseIterator() argument
52 : LayerListIterator(root_layer) { in LayerListReverseIterator()
H A Dsolid_color_layer_impl_unittest.cc30 root_layer()->SetBounds(layer_size); in TEST_F()
36 CopyProperties(root_layer(), layer); in TEST_F()
50 root_layer()->SetBounds(layer_size); in TEST_F()
56 CopyProperties(root_layer(), layer); in TEST_F()
81 CopyProperties(root_layer(), layer); in TEST_F()
107 CopyProperties(root_layer(), layer); in TEST_F()
136 CopyProperties(root_layer(), layer); in TEST_F()
154 CopyProperties(root_layer(), layer); in TEST_F()
247 CopyProperties(root_layer(), solid_color_layer_impl); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/compositor/
H A Dlayer_owner_unittest.cc106 EXPECT_EQ(owner.layer(), compositor()->root_layer()); in TEST_F()
145 std::unique_ptr<Layer> root_layer(new Layer); in TEST_F() local
146 compositor()->SetRootLayer(root_layer.get()); in TEST_F()
150 root_layer->Add(layer); in TEST_F()
178 std::unique_ptr<Layer> root_layer(new Layer); in TEST_F() local
179 compositor()->SetRootLayer(root_layer.get()); in TEST_F()
184 root_layer->Add(layer); in TEST_F()
200 std::unique_ptr<Layer> root_layer(new Layer); in TEST_F() local
201 compositor()->SetRootLayer(root_layer.get()); in TEST_F()
205 root_layer->Add(layer); in TEST_F()
H A Dcompositor_unittest.cc100 auto root_layer = std::make_unique<Layer>(ui::LAYER_SOLID_COLOR); in TEST_F() local
103 root_layer->SetBounds(gfx::Rect(10, 10)); in TEST_F()
104 compositor()->SetRootLayer(root_layer.get()); in TEST_F()
175 std::unique_ptr<Layer> root_layer(new Layer(ui::LAYER_SOLID_COLOR)); in TEST_F() local
178 root_layer->SetBounds(gfx::Rect(10, 10)); in TEST_F()
179 compositor()->SetRootLayer(root_layer.get()); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/compositor/
H A Dlayer_owner_unittest.cc106 EXPECT_EQ(owner.layer(), compositor()->root_layer()); in TEST_F()
145 std::unique_ptr<Layer> root_layer(new Layer); in TEST_F() local
146 compositor()->SetRootLayer(root_layer.get()); in TEST_F()
150 root_layer->Add(layer); in TEST_F()
178 std::unique_ptr<Layer> root_layer(new Layer); in TEST_F() local
179 compositor()->SetRootLayer(root_layer.get()); in TEST_F()
184 root_layer->Add(layer); in TEST_F()
200 std::unique_ptr<Layer> root_layer(new Layer); in TEST_F() local
201 compositor()->SetRootLayer(root_layer.get()); in TEST_F()
205 root_layer->Add(layer); in TEST_F()
H A Danimation_throughput_reporter_unittest.cc63 Layer* root_layer() { return &root_; } in root_layer() function in ui::AnimationThroughputReporterTest
81 root_layer()->Add(&layer); in TEST_F()
120 root_layer()->Add(&layer); in TEST_F()
130 root_layer()->Add(&layer); in TEST_F()
152 root_layer()->Add(layer.get()); in TEST_F()
181 root_layer()->Add(layer.get()); in TEST_F()
211 root_layer()->Add(layer.get()); in TEST_F()
227 root_layer()->Remove(layer.get()); in TEST_F()
228 root_layer()->Add(layer.get()); in TEST_F()
278 root_layer()->Add(layer.get()); in TEST_F()
H A Dcompositor_unittest.cc102 auto root_layer = std::make_unique<Layer>(ui::LAYER_SOLID_COLOR); in TEST_F() local
105 root_layer->SetBounds(gfx::Rect(10, 10)); in TEST_F()
106 compositor()->SetRootLayer(root_layer.get()); in TEST_F()
235 auto root_layer = std::make_unique<Layer>(ui::LAYER_SOLID_COLOR); in TEST_F() local
238 root_layer->SetBounds(gfx::Rect(10, 10)); in TEST_F()
239 compositor()->SetRootLayer(root_layer.get()); in TEST_F()
294 std::unique_ptr<Layer> root_layer(new Layer(ui::LAYER_SOLID_COLOR)); in TEST_F() local
297 root_layer->SetBounds(gfx::Rect(10, 10)); in TEST_F()
298 compositor()->SetRootLayer(root_layer.get()); in TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/cc/trees/
H A Dlayer_tree_host_unittest_damage.cc59 GetRenderSurface(impl->active_tree()->root_layer()); in PrepareToDrawOnThread()
121 GetRenderSurface(impl->active_tree()->root_layer()); in PrepareToDrawOnThread()
332 scoped_refptr<Layer> root_layer = Layer::Create(); in SetupTree() local
333 root_layer->SetBounds(gfx::Size(400, 400)); in SetupTree()
334 root_layer->SetMasksToBounds(true); in SetupTree()
335 layer_tree_host()->SetRootLayer(root_layer); in SetupTree()
340 content_layer_->SetScrollable(root_layer->bounds()); in SetupTree()
344 root_layer->AddChild(content_layer_); in SetupTree()
350 root_layer->AddChild(scrollbar_layer); in SetupTree()
359 client_.set_bounds(root_layer->bounds()); in SetupTree()
[all …]
H A Dtree_synchronizer_unittest.cc95 void ExpectTreesAreIdentical(Layer* root_layer, in ExpectTreesAreIdentical() argument
98 auto layer_iter = root_layer->layer_tree_host()->begin(); in ExpectTreesAreIdentical()
100 for (; layer_iter != root_layer->layer_tree_host()->end(); in ExpectTreesAreIdentical()
168 EXPECT_TRUE(!host_->pending_tree()->root_layer()); in TEST_F()
184 LayerImpl* root = host_->pending_tree()->root_layer(); in TEST_F()
189 host_->pending_tree()->root_layer(), in TEST_F()
210 LayerImpl* root = host_->pending_tree()->root_layer(); in TEST_F()
282 layer_impl_tree_root = host_->pending_tree()->root_layer(); in TEST_F()
329 layer_impl_tree_root = host_->active_tree()->root_layer(); in TEST_F()
446 layer_impl_tree_root = host_->active_tree()->root_layer(); in TEST_F()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/trees/
H A Dlayer_tree_host_unittest_damage.cc59 GetRenderSurface(impl->active_tree()->root_layer()); in PrepareToDrawOnThread()
121 GetRenderSurface(impl->active_tree()->root_layer()); in PrepareToDrawOnThread()
332 scoped_refptr<Layer> root_layer = Layer::Create(); in SetupTree() local
333 root_layer->SetBounds(gfx::Size(400, 400)); in SetupTree()
334 root_layer->SetMasksToBounds(true); in SetupTree()
335 layer_tree_host()->SetRootLayer(root_layer); in SetupTree()
340 content_layer_->SetScrollable(root_layer->bounds()); in SetupTree()
344 root_layer->AddChild(content_layer_); in SetupTree()
350 root_layer->AddChild(scrollbar_layer); in SetupTree()
359 client_.set_bounds(root_layer->bounds()); in SetupTree()
[all …]
H A Dtree_synchronizer_unittest.cc96 void ExpectTreesAreIdentical(Layer* root_layer, in ExpectTreesAreIdentical() argument
99 auto layer_iter = root_layer->layer_tree_host()->begin(); in ExpectTreesAreIdentical()
101 for (; layer_iter != root_layer->layer_tree_host()->end(); in ExpectTreesAreIdentical()
171 EXPECT_TRUE(!host_->pending_tree()->root_layer()); in TEST_F()
187 LayerImpl* root = host_->pending_tree()->root_layer(); in TEST_F()
192 host_->pending_tree()->root_layer(), in TEST_F()
213 LayerImpl* root = host_->pending_tree()->root_layer(); in TEST_F()
285 layer_impl_tree_root = host_->pending_tree()->root_layer(); in TEST_F()
332 layer_impl_tree_root = host_->active_tree()->root_layer(); in TEST_F()
449 layer_impl_tree_root = host_->active_tree()->root_layer(); in TEST_F()
[all …]
H A Dlayer_tree_host_unittest_animation.cc341 layer_tree_host()->root_layer()->AddChild(picture_); in SetupTree()
355 if (!host_impl->active_tree()->root_layer()) in AnimateLayers()
413 layer_tree_host()->root_layer()->AddChild(picture_); in SetupTree()
563 layer_tree_host()->root_layer()->AddChild(layer); in DidCommit()
1156 if (!host_impl->active_tree()->root_layer()) in ShouldBlockActivation()
1303 layer_tree_host()->root_layer()->AddChild(layer_); in SetupTree()
1414 layer_tree_host()->root_layer()->AddChild(layer_); in SetupTree()
1484 layer_tree_host()->root_layer()->AddChild(layer_); in SetupTree()
2336 ->root_layer() in CommitCompleteOnThread()
2340 ->root_layer() in CommitCompleteOnThread()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/blink/renderer/core/paint/
H A Dpaint_layer_clipper.cc139 if (context.root_layer != entry.root) in ClipRectsIfCached()
154 entry.root = context.root_layer; in StoreClipRectsInCache()
179 if (context.root_layer != &layer_ && layer_.Parent()) { in GetClipRects()
282 if (&layer_ == context.root_layer) { in CalculateRectsWithGeometryMapper()
340 bool is_clipping_root = &layer_ == context.root_layer; in CalculateRects()
356 layer_.ConvertToLayerCoords(context.root_layer, offset); in CalculateRects()
389 bool is_clipping_root = &layer_ == context.root_layer; in CalculateClipRects()
423 context.root_layer->GetScrollableArea() && in CalculateClipRects()
424 layer_.IsAffectedByScrollOf(context.root_layer)) { in CalculateClipRects()
452 bool is_clipping_root = &layer_ == context.root_layer; in CalculateBackgroundClipRectWithGeometryMapper()
[all …]
H A Dpaint_layer_painting_info.h89 PaintLayerPaintingInfo(PaintLayer* root_layer, in PaintLayerPaintingInfo()
93 : root_layer(root_layer), in PaintLayerPaintingInfo()
101 const PaintLayer* root_layer; member
H A Dframe_painter.cc82 PaintLayer* root_layer = layout_view->Layer(); in PaintContents() local
87 root_layer->GetLayoutObject()); in PaintContents()
90 PaintLayerPainter layer_painter(*root_layer); in PaintContents()
93 root_layer->GetLayoutObject().GetFrame()); in PaintContents()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/core/paint/
H A Dpaint_layer_clipper.cc141 if (context.root_layer != entry.root) in ClipRectsIfCached()
156 entry.root = context.root_layer; in StoreClipRectsInCache()
181 if (context.root_layer != &layer_ && layer_.Parent()) { in GetClipRects()
268 if (&layer_ == context.root_layer) { in CalculateRectsWithGeometryMapper()
326 bool is_clipping_root = &layer_ == context.root_layer; in CalculateRects()
342 layer_.ConvertToLayerCoords(context.root_layer, offset); in CalculateRects()
375 bool is_clipping_root = &layer_ == context.root_layer; in CalculateClipRects()
409 context.root_layer->GetScrollableArea() && in CalculateClipRects()
410 layer_.IsAffectedByScrollOf(context.root_layer)) { in CalculateClipRects()
438 bool is_clipping_root = &layer_ == context.root_layer; in CalculateBackgroundClipRectWithGeometryMapper()
[all …]
H A Dpaint_layer_painting_info.h89 PaintLayerPaintingInfo(PaintLayer* root_layer, in PaintLayerPaintingInfo()
93 : root_layer(root_layer), in PaintLayerPaintingInfo()
101 const PaintLayer* root_layer; member
H A Dframe_painter.cc82 PaintLayer* root_layer = layout_view->Layer(); in PaintContents() local
87 root_layer->GetLayoutObject()); in PaintContents()
90 PaintLayerPainter layer_painter(*root_layer); in PaintContents()
93 root_layer->GetLayoutObject().GetFrame()); in PaintContents()
/dports/www/chromium-legacy/chromium-88.0.4324.182/cc/test/
H A Dfake_layer_tree_host.cc91 TreeSynchronizer::SynchronizeTrees(root_layer(), active_tree()); in CommitAndCreateLayerImplTree()
93 TreeSynchronizer::PushLayerProperties(root_layer()->layer_tree_host(), in CommitAndCreateLayerImplTree()
100 return active_tree()->root_layer(); in CommitAndCreateLayerImplTree()
104 TreeSynchronizer::SynchronizeTrees(root_layer(), pending_tree()); in CommitAndCreatePendingTree()
106 TreeSynchronizer::PushLayerProperties(root_layer()->layer_tree_host(), in CommitAndCreatePendingTree()
112 return pending_tree()->root_layer(); in CommitAndCreatePendingTree()
/dports/www/chromium-legacy/chromium-88.0.4324.182/ash/wm/
H A Dsystem_wallpaper_controller.cc19 ui::Layer* root_layer = root_window_->layer(); in SystemWallpaperController() local
20 layer_->SetBounds(gfx::Rect(root_layer->bounds().size())); in SystemWallpaperController()
21 root_layer->Add(layer_.get()); in SystemWallpaperController()
22 root_layer->StackAtBottom(layer_.get()); in SystemWallpaperController()
H A Dscreen_dimmer_unittest.cc62 ui::Layer* root_layer = Shell::GetPrimaryRootWindow()->layer(); in TEST_F() local
63 ASSERT_TRUE(!root_layer->children().empty()); in TEST_F()
64 EXPECT_EQ(GetDimWindowLayer(), root_layer->children().back()); in TEST_F()
78 ui::Layer* root_layer = Shell::GetPrimaryRootWindow()->layer(); in TEST_F() local
79 EXPECT_EQ(gfx::Rect(root_layer->bounds().size()).ToString(), in TEST_F()

12345678910