Lines Matching defs:pending_tree
117 tile->SetPriority(PENDING_TREE, pending_priority);
134 tile->SetPriority(PENDING_TREE, TilePriority());
540 CHECK(!host_impl_.pending_tree());
562 LayerTreeImpl* pending_tree = host_impl_.pending_tree();
564 pending_tree->DetachLayerTree();
567 FakePictureLayerImpl::CreateWithPile(pending_tree, id_, pile);
569 pending_tree->SetRootLayer(pending_layer.PassAs<LayerImpl>());
572 host_impl_.pending_tree()->LayerById(id_));
630 EXPECT_EQ(TilePriority::NOW, tile->priority(PENDING_TREE).priority_bin);
651 PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
653 PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
726 // Here we expect to get increasing PENDING_TREE priority_bin.
736 EXPECT_LE(last_tile->priority(PENDING_TREE).priority_bin,
737 tile->priority(PENDING_TREE).priority_bin);
738 if (last_tile->priority(PENDING_TREE).priority_bin ==
739 tile->priority(PENDING_TREE).priority_bin) {
741 last_tile->priority(PENDING_TREE).distance_to_visible <=
742 tile->priority(PENDING_TREE).distance_to_visible;
745 if (tile->priority(PENDING_TREE).priority_bin == TilePriority::NOW &&
746 last_tile->priority(PENDING_TREE).resolution !=
747 tile->priority(PENDING_TREE).resolution) {
749 EXPECT_EQ(HIGH_RESOLUTION, last_tile->priority(PENDING_TREE).resolution);
801 EXPECT_EQ(TilePriority::NOW, tile->priority(PENDING_TREE).priority_bin);
826 PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
828 PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
899 // Here we expect to get increasing PENDING_TREE priority_bin.
909 EXPECT_GE(last_tile->priority(PENDING_TREE).priority_bin,
910 tile->priority(PENDING_TREE).priority_bin);
911 if (last_tile->priority(PENDING_TREE).priority_bin ==
912 tile->priority(PENDING_TREE).priority_bin) {
917 EXPECT_GE(last_tile->priority(PENDING_TREE).distance_to_visible,
918 tile->priority(PENDING_TREE).distance_to_visible);
943 host_impl_.pending_tree(), 2, pending_pile);
970 PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
972 PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
974 PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
976 PENDING_TREE, viewport, 1.0f, 1.0, Occlusion());
994 pending_child_high_res_tiles[i]->set_is_occluded(PENDING_TREE, true);
1001 pending_child_low_res_tiles[i]->set_is_occluded(PENDING_TREE, true);
1073 FakePictureLayerImpl::Create(host_impl_.pending_tree(), id_ + i);
1122 FakePictureLayerImpl::Create(host_impl_.pending_tree(), id_ + i);