Home
last modified time | relevance | path

Searched refs:active_tree (Results 1 – 25 of 48) sorted by relevance

12

/external/chromium_org/cc/trees/
Dtree_synchronizer_unittest.cc198 host_->active_tree()); in TEST_F()
215 host_->active_tree()); in TEST_F()
219 host_->active_tree()); in TEST_F()
237 host_->active_tree()); in TEST_F()
240 host_->active_tree()); in TEST_F()
258 host_->active_tree()); in TEST_F()
261 host_->active_tree()); in TEST_F()
285 host_->active_tree()); in TEST_F()
288 host_->active_tree()); in TEST_F()
302 host_->active_tree()); in TEST_F()
[all …]
Dlayer_tree_host_impl_unittest.cc170 host_impl_->active_tree()->SetRootLayer(root.Pass()); in SetupRootLayerImpl()
244 host_impl_->active_tree(), content_size); in SetupScrollAndContentsLayers()
245 host_impl_->active_tree()->DidBecomeActive(); in SetupScrollAndContentsLayers()
251 LayerImpl::Create(host_impl_->active_tree(), id); in CreateScrollableLayer()
288 host_impl_->active_tree()->SetRootLayer(scoped_ptr<LayerImpl>()); in CheckNotifyCalledIfCanDrawChanged()
334 host_impl_->active_tree()->ResetContentsTexturesPurged(); in CheckNotifyCalledIfCanDrawChanged()
386 ASSERT_FALSE(host_impl_->active_tree()->root_layer()); in TEST_F()
395 LayerImpl::Create(host_impl_->active_tree(), 1); in TEST_F()
396 root->AddChild(LayerImpl::Create(host_impl_->active_tree(), 2)); in TEST_F()
397 root->AddChild(LayerImpl::Create(host_impl_->active_tree(), 3)); in TEST_F()
[all …]
Dlayer_tree_host_unittest_scroll.cc54 LayerImpl* root = impl->active_tree()->root_layer(); in DrawLayersOnThread()
61 switch (impl->active_tree()->source_frame_number()) { in DrawLayersOnThread()
123 LayerImpl* root = impl->active_tree()->root_layer(); in DrawLayersOnThread()
124 if (impl->active_tree()->source_frame_number() == 0 && in DrawLayersOnThread()
133 } else if (impl->active_tree()->source_frame_number() == 0 && in DrawLayersOnThread()
142 } else if (impl->active_tree()->source_frame_number() == 1) { in DrawLayersOnThread()
254 impl->active_tree()->root_layer()->children()[0]; in DrawLayersOnThread()
256 if (impl->active_tree()->source_frame_number() == 0 && in DrawLayersOnThread()
264 EXPECT_EQ(1.f, impl->active_tree()->page_scale_delta()); in DrawLayersOnThread()
265 EXPECT_EQ(1.f, impl->active_tree()->total_page_scale_factor()); in DrawLayersOnThread()
[all …]
Dlayer_tree_host_common_perftest.cc122 LayerTreeImpl* active_tree = host_impl->active_tree(); in DrawLayersOnThread() local
129 active_tree->root_layer(), in DrawLayersOnThread()
130 active_tree->DrawViewportSize(), in DrawLayersOnThread()
132 active_tree->device_scale_factor(), in DrawLayersOnThread()
133 active_tree->total_page_scale_factor(), in DrawLayersOnThread()
134 active_tree->RootContainerLayer(), in DrawLayersOnThread()
Dlayer_tree_host_unittest_damage.cc57 impl->active_tree()->root_layer()->render_surface(); in PrepareToDrawOnThread()
118 impl->active_tree()->root_layer()->render_surface(); in PrepareToDrawOnThread()
175 int source_frame = host_impl->active_tree()->source_frame_number(); in PrepareToDrawOnThread()
264 int source_frame = host_impl->active_tree()->source_frame_number(); in PrepareToDrawOnThread()
273 host_impl->active_tree()->root_layer()->render_surface(); in PrepareToDrawOnThread()
335 host_impl->active_tree()->root_layer()->render_surface(); in PrepareToDrawOnThread()
340 int source_frame = host_impl->active_tree()->source_frame_number(); in PrepareToDrawOnThread()
469 host_impl->active_tree()->root_layer()->render_surface(); in PrepareToDrawOnThread()
498 LayerImpl* root = host_impl->active_tree()->root_layer(); in SwapBuffersOnThread()
540 host_impl->active_tree()->root_layer()->render_surface(); in PrepareToDrawOnThread()
[all …]
Dlayer_tree_host_unittest_animation.cc141 host_impl->active_tree()->root_layer()->layer_animation_controller(); in UpdateAnimationState()
358 if (host_impl->active_tree()->source_frame_number() < 3) in CommitCompleteOnThread()
387 int frame_number = host_impl->active_tree()->source_frame_number(); in DidActivateTreeOnThread()
391 EXPECT_TRUE(host_impl->active_tree()->root_layer()) in DidActivateTreeOnThread()
396 EXPECT_FALSE(host_impl->active_tree()->root_layer()) in DidActivateTreeOnThread()
401 if (host_impl->active_tree()->source_frame_number() < 3) { in DidActivateTreeOnThread()
417 EXPECT_TRUE(host_impl->active_tree()->root_layer()); in WillAnimateLayers()
423 bool has_active_tree = host_impl->active_tree()->root_layer(); in InitiateNextCommit()
459 host_impl->active_tree()->root_layer()->children()[0]-> in AnimateLayers()
531 impl_host->active_tree()->root_layer()->children()[0]-> in UpdateAnimationState()
[all …]
Dlayer_sorter_unittest.cc215 scoped_ptr<LayerImpl> layer1 = LayerImpl::Create(host_impl.active_tree(), 1); in TEST()
216 scoped_ptr<LayerImpl> layer2 = LayerImpl::Create(host_impl.active_tree(), 2); in TEST()
217 scoped_ptr<LayerImpl> layer3 = LayerImpl::Create(host_impl.active_tree(), 3); in TEST()
218 scoped_ptr<LayerImpl> layer4 = LayerImpl::Create(host_impl.active_tree(), 4); in TEST()
219 scoped_ptr<LayerImpl> layer5 = LayerImpl::Create(host_impl.active_tree(), 5); in TEST()
280 scoped_ptr<LayerImpl> layer1 = LayerImpl::Create(host_impl.active_tree(), 1); in TEST()
281 scoped_ptr<LayerImpl> layer2 = LayerImpl::Create(host_impl.active_tree(), 2); in TEST()
Ddamage_tracker_unittest.cc78 LayerImpl::Create(host_impl_.active_tree(), 1); in CreateTestTreeWithOneSurface()
80 LayerImpl::Create(host_impl_.active_tree(), 2); in CreateTestTreeWithOneSurface()
106 LayerImpl::Create(host_impl_.active_tree(), 1); in CreateTestTreeWithTwoSurfaces()
108 LayerImpl::Create(host_impl_.active_tree(), 2); in CreateTestTreeWithTwoSurfaces()
110 LayerImpl::Create(host_impl_.active_tree(), 3); in CreateTestTreeWithTwoSurfaces()
112 LayerImpl::Create(host_impl_.active_tree(), 4); in CreateTestTreeWithTwoSurfaces()
114 LayerImpl::Create(host_impl_.active_tree(), 5); in CreateTestTreeWithTwoSurfaces()
617 LayerImpl::Create(host_impl_.active_tree(), 3); in TEST_F()
666 LayerImpl::Create(host_impl_.active_tree(), 3); in TEST_F()
700 LayerImpl::Create(host_impl_.active_tree(), 3); in TEST_F()
[all …]
Dlayer_tree_host_unittest_context.cc389 host_impl->active_tree()->root_layer()->children()[0]); in DrawLayersOnThread()
787 host_impl->active_tree()->root_layer()); in DidActivateTreeOnThread()
1013 if (host_impl->active_tree()->source_frame_number() == 3) { in CommitCompleteOnThread()
1025 if (host_impl->active_tree()->source_frame_number() == 2) { in PrepareToDrawOnThread()
1120 EXPECT_GE(host_impl->active_tree()->source_frame_number(), 0); in PrepareToDrawOnThread()
1121 EXPECT_LE(host_impl->active_tree()->source_frame_number(), 1); in PrepareToDrawOnThread()
1129 EXPECT_GE(host_impl->active_tree()->source_frame_number(), 0); in DrawLayersOnThread()
1130 EXPECT_LE(host_impl->active_tree()->source_frame_number(), 1); in DrawLayersOnThread()
1136 EXPECT_EQ(host_impl->active_tree()->source_frame_number(), 1); in SwapBuffersOnThread()
1171 int sfn = host_impl->active_tree()->source_frame_number(); in PrepareToDrawOnThread()
[all …]
Dlayer_tree_host_unittest.cc84 if (!impl->active_tree()->source_frame_number()) in DrawLayersOnThread()
166 VerifyAfterValues(impl->active_tree()->root_layer()); in DrawLayersOnThread()
244 EXPECT_EQ(0, impl->active_tree()->source_frame_number()); in DrawLayersOnThread()
356 if (host_impl->active_tree()->source_frame_number() == 1) in DrawLayersOnThread()
416 if (host_impl->active_tree()->source_frame_number() == 1) in DrawLayersOnThread()
530 int sfn = host_impl->active_tree()->source_frame_number(); in PrepareToDrawOnThread()
549 int sfn = host_impl->active_tree()->source_frame_number(); in DrawLayersOnThread()
558 int sfn = host_impl->active_tree()->source_frame_number(); in SwapBuffersOnThread()
590 int sfn = host_impl->active_tree()->source_frame_number(); in PrepareToDrawOnThread()
618 int sfn = host_impl->active_tree()->source_frame_number(); in DrawLayersOnThread()
[all …]
Dlayer_tree_host_unittest_delegated.cc329 if (host_impl->active_tree()->source_frame_number() < 1) in DidActivateTreeOnThread()
332 LayerImpl* root_impl = host_impl->active_tree()->root_layer(); in DidActivateTreeOnThread()
364 LayerImpl* root_impl = host_impl->active_tree()->root_layer(); in InitializedRendererOnThread()
639 switch (host_impl->active_tree()->source_frame_number()) { in PrepareToDrawOnThread()
772 LayerImpl* root_impl = host_impl->active_tree()->root_layer(); in DidActivateTreeOnThread()
812 LayerImpl* root_impl = host_impl->active_tree()->root_layer(); in DidActivateTreeOnThread()
1062 if (host_impl->active_tree()->source_frame_number() != 3) in DidActivateTreeOnThread()
1065 LayerImpl* root_impl = host_impl->active_tree()->root_layer(); in DidActivateTreeOnThread()
1174 if (host_impl->active_tree()->source_frame_number() != 3) in DidActivateTreeOnThread()
1177 LayerImpl* root_impl = host_impl->active_tree()->root_layer(); in DidActivateTreeOnThread()
[all …]
Dlayer_tree_host_unittest_video.cc52 LayerImpl* root_layer = host_impl->active_tree()->root_layer(); in PrepareToDrawOnThread()
77 host_impl->active_tree()->root_layer()->children()[0]); in DrawLayersOnThread()
Dlayer_tree_host_unittest_picture.cc57 LayerImpl* active_root_impl = impl->active_tree()->root_layer(); in WillActivateTreeOnThread()
92 LayerImpl* active_root_impl = impl->active_tree()->root_layer(); in DidActivateTreeOnThread()
Dlayer_tree_host_common_unittest.cc413 LayerImpl::Create(host_impl.active_tree(), 1)); in TEST_F()
426 LayerImpl::Create(host_impl.active_tree(), 2)); in TEST_F()
442 scoped_ptr<LayerImpl> root(LayerImpl::Create(host_impl.active_tree(), 3)); in TEST_F()
4187 LayerImpl::Create(host_impl.active_tree(), 12345); in TEST_F()
4241 LayerImpl::Create(host_impl.active_tree(), 12345); in TEST_F()
4243 HeadsUpDisplayLayerImpl::Create(host_impl.active_tree(), 11111); in TEST_F()
4269 host_impl.active_tree()->set_hud_layer(hud.get()); in TEST_F()
4312 LayerImpl::Create(host_impl.active_tree(), 12345); in TEST_F()
4388 LayerImpl::Create(host_impl.active_tree(), 12345); in TEST_F()
4446 LayerImpl::Create(host_impl.active_tree(), 12345); in TEST_F()
[all …]
Dlayer_tree_host_unittest_copyrequest.cc387 LayerImpl* root = host_impl->active_tree()->root_layer(); in DrawLayersOnThread()
501 if (impl->active_tree()->source_frame_number() == 0) { in DidActivateTreeOnThread()
502 LayerImpl* root = impl->active_tree()->root_layer(); in DidActivateTreeOnThread()
616 switch (impl->active_tree()->source_frame_number()) { in SwapBuffersOnThread()
713 switch (impl->active_tree()->source_frame_number()) { in SwapBuffersOnThread()
/external/chromium_org/cc/test/
Dfake_layer_tree_host.cc24 scoped_ptr<LayerImpl> old_root_layer_impl = active_tree()->DetachLayerTree(); in CommitAndCreateLayerImplTree()
27 root_layer(), old_root_layer_impl.Pass(), active_tree()); in CommitAndCreateLayerImplTree()
30 active_tree()->SetRootLayer(layer_impl.Pass()); in CommitAndCreateLayerImplTree()
31 return active_tree()->root_layer(); in CommitAndCreateLayerImplTree()
Dfake_layer_tree_host.h36 LayerTreeImpl* active_tree() { return host_impl_.active_tree(); } in active_tree() function
Dlayer_tree_json_parser_unittest.cc67 LayerTreeImpl* tree = host_impl.active_tree(); in TEST_F()
94 LayerTreeImpl* tree = host_impl.active_tree(); in TEST_F()
/external/chromium_org/cc/layers/
Drender_surface_unittest.cc41 LayerImpl::Create(host_impl.active_tree(), 1); in TEST()
65 LayerImpl::Create(host_impl.active_tree(), 2); in TEST()
85 LayerImpl::Create(host_impl.active_tree(), 1); in TEST()
88 LayerImpl::Create(host_impl.active_tree(), 2); in TEST()
148 LayerImpl::Create(host_impl.active_tree(), 1); in TEST()
151 LayerImpl::Create(host_impl.active_tree(), 2); in TEST()
Dlayer_impl_unittest.cc53 EXPECT_FALSE(host_impl.active_tree()->needs_update_draw_properties()); \
55 EXPECT_TRUE(host_impl.active_tree()->needs_update_draw_properties());
60 EXPECT_FALSE(host_impl.active_tree()->needs_update_draw_properties()); \
62 EXPECT_FALSE(host_impl.active_tree()->needs_update_draw_properties());
74 scoped_ptr<LayerImpl> root = LayerImpl::Create(host_impl.active_tree(), 1); in TEST()
75 root->AddChild(LayerImpl::Create(host_impl.active_tree(), 2)); in TEST()
77 child->AddChild(LayerImpl::Create(host_impl.active_tree(), 3)); in TEST()
116 root->SetMaskLayer(LayerImpl::Create(host_impl.active_tree(), 4))); in TEST()
120 root->SetReplicaLayer(LayerImpl::Create(host_impl.active_tree(), 5))); in TEST()
198 scoped_ptr<LayerImpl> root = LayerImpl::Create(host_impl.active_tree(), 1); in TEST()
[all …]
Dsolid_color_layer_impl_unittest.cc31 SolidColorLayerImpl::Create(host_impl.active_tree(), 1); in TEST()
55 SolidColorLayerImpl::Create(host_impl.active_tree(), 1); in TEST()
81 SolidColorLayerImpl::Create(host_impl.active_tree(), 1); in TEST()
122 SolidColorLayerImpl::Create(host->host_impl()->active_tree(), in TEST()
147 SolidColorLayerImpl::Create(host->host_impl()->active_tree(), in TEST()
Dtiled_layer_unittest.cc212 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
241 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
293 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
332 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
372 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
451 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
455 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 2)); in TEST_F()
512 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
538 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
564 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
[all …]
Dtexture_layer_unittest.cc117 impl_layer = TextureLayerImpl::Create(host_impl_.active_tree(), 1, false); in TEST_F()
1143 mode, host_impl_.active_tree()->resource_provider()); in WillDraw()
1145 layer->DidDraw(host_impl_.active_tree()->resource_provider()); in WillDraw()
1167 TextureLayerImpl::Create(host_impl_.active_tree(), 1, true); in TEST_F()
1177 TextureLayerImpl::Create(host_impl_.active_tree(), 1, true); in TEST_F()
1187 TextureLayerImpl::Create(host_impl_.active_tree(), 1, true); in TEST_F()
1197 TextureLayerImpl::Create(host_impl_.active_tree(), 1, false); in TEST_F()
1209 TextureLayerImpl::Create(host_impl_.active_tree(), 1, false); in TEST_F()
1218 TextureLayerImpl::Create(host_impl_.active_tree(), 1, true); in TEST_F()
1228 TextureLayerImpl::Create(host_impl_.active_tree(), 1, true); in TEST_F()
[all …]
Ddelegated_renderer_layer_impl_unittest.cc60 host_impl_->active_tree(), 1).PassAs<LayerImpl>(); in DelegatedRendererLayerImplTestSimple()
62 host_impl_->active_tree(), 2).PassAs<LayerImpl>(); in DelegatedRendererLayerImplTestSimple()
64 host_impl_->active_tree(), 3).PassAs<LayerImpl>(); in DelegatedRendererLayerImplTestSimple()
66 FakeDelegatedRendererLayerImpl::Create(host_impl_->active_tree(), 4); in DelegatedRendererLayerImplTestSimple()
127 host_impl_->active_tree()->SetRootLayer(root_layer.Pass()); in DelegatedRendererLayerImplTestSimple()
496 host_impl_->active_tree(), 1); in SetUpTest()
498 FakeDelegatedRendererLayerImpl::Create(host_impl_->active_tree(), 2); in SetUpTest()
616 host_impl_->active_tree()->SetRootLayer(root_layer.Pass()); in SetUpTest()
902 LayerImpl::Create(host_impl_->active_tree(), 1); in SetUpTest()
904 FakeDelegatedRendererLayerImpl::Create(host_impl_->active_tree(), 2); in SetUpTest()
[all …]
/external/chromium_org/cc/base/
Dlatency_info_swap_promise_monitor.cc39 layer_tree_host_impl_->active_tree()->QueueSwapPromise(swap_promise.Pass()); in OnSetNeedsRedrawOnImpl()

12