Searched refs:layer_impl (Results 1 - 25 of 38) sorted by relevance

12

/external/chromium_org/cc/trees/
H A Dtree_synchronizer.cc16 #include "cc/layers/layer_impl.h"
26 scoped_ptr<LayerImpl> layer_impl) {
27 if (!layer_impl)
30 layer_impl->ClearScrollbars();
32 layer_impl->ToScrollbarLayer()) {
37 OwnedLayerImplList& children = layer_impl->children();
43 CollectExistingLayerImplRecursive(old_layers, layer_impl->TakeMaskLayer());
44 CollectExistingLayerImplRecursive(old_layers, layer_impl->TakeReplicaLayer());
46 int id = layer_impl->id();
47 old_layers->set(id, layer_impl
25 CollectExistingLayerImplRecursive(ScopedPtrLayerImplMap* old_layers, scoped_ptr<LayerImpl> layer_impl) argument
92 scoped_ptr<LayerImpl> layer_impl = old_layers->take(layer->id()); local
187 PushPropertiesInternal( LayerType* layer, LayerImpl* layer_impl, size_t* num_dependents_need_push_properties_for_parent) argument
239 CheckScrollAndClipPointersRecursive(Layer* layer, LayerImpl* layer_impl) argument
295 PushProperties(Layer* layer, LayerImpl* layer_impl) argument
305 PushProperties(LayerImpl* layer, LayerImpl* layer_impl) argument
[all...]
H A Dlayer_tree_host_impl.cc35 #include "cc/layers/layer_impl.h"
443 LayerImpl* layer_impl = local
448 device_viewport_point, type, layer_impl, &scroll_on_main_thread, NULL);
458 LayerImpl* layer_impl = local
462 return layer_impl != NULL;
1288 LayerImpl* layer_impl = local
1290 if (layer_impl)
1291 layer_impl->NotifyTileStateChanged(tile);
1295 LayerImpl* layer_impl = local
1297 if (layer_impl)
1708 FindScrollLayerForContentLayer(LayerImpl* layer_impl) argument
2233 FindScrollLayerForDeviceViewportPoint( const gfx::PointF& device_viewport_point, InputHandler::ScrollInputType type, LayerImpl* layer_impl, bool* scroll_on_main_thread, bool* optional_has_ancestor_scroll_handler) const argument
2306 LayerImpl* layer_impl = local
2415 ScrollLayerWithViewportSpaceDelta( LayerImpl* layer_impl, float scale_from_viewport_to_screen_space, const gfx::PointF& viewport_point, const gfx::Vector2dF& viewport_delta) argument
2491 ScrollLayerWithLocalDelta(LayerImpl* layer_impl, const gfx::Vector2dF& local_delta) argument
2729 DeviceSpaceDistanceToLayer( const gfx::PointF& device_viewport_point, LayerImpl* layer_impl) argument
2749 LayerImpl* layer_impl = local
2798 HandleMouseOverScrollbar(LayerImpl* layer_impl, const gfx::PointF& device_viewport_point) argument
2904 CollectScrollDeltas(ScrollAndScaleSet* scroll_info, LayerImpl* layer_impl) argument
[all...]
H A Dtree_synchronizer.h44 LayerImpl* layer_impl,
H A Dtree_synchronizer_unittest.cc15 #include "cc/layers/layer_impl.h"
62 virtual void PushPropertiesTo(LayerImpl* layer_impl) OVERRIDE {
63 Layer::PushPropertiesTo(layer_impl);
65 MockLayerImpl* mock_layer_impl = static_cast<MockLayerImpl*>(layer_impl);
103 LayerImpl* layer_impl,
106 ASSERT_TRUE(layer_impl);
108 EXPECT_EQ(layer->id(), layer_impl->id());
109 EXPECT_EQ(layer_impl->layer_tree_impl(), tree_impl);
112 layer_impl->non_fast_scrollable_region());
114 ASSERT_EQ(!!layer->mask_layer(), !!layer_impl
102 ExpectTreesAreIdentical(Layer* layer, LayerImpl* layer_impl, LayerTreeImpl* tree_impl) argument
[all...]
H A Dlayer_sorter.h13 #include "cc/layers/layer_impl.h"
54 explicit GraphNode(LayerImpl* layer_impl);
H A Dlayer_tree_impl.cc853 LayerImpl* layer_impl = *it; local
854 layer_impl->GetAllTilesForTracing(tiles);
1333 LayerImpl* layer_impl) {
1334 if (layer_impl->touch_event_handler_region().IsEmpty())
1338 layer_impl->screen_space_transform(),
1339 layer_impl->touch_event_handler_region(),
1340 layer_impl->contents_scale_x(),
1341 layer_impl->contents_scale_y()))
1348 if (PointIsClippedBySurfaceOrClipRect(screen_space_point, layer_impl))
1332 LayerHasTouchEventHandlersAt(const gfx::PointF& screen_space_point, LayerImpl* layer_impl) argument
H A Dlayer_tree_impl.h17 #include "cc/layers/layer_impl.h"
133 void set_hud_layer(HeadsUpDisplayLayerImpl* layer_impl) { argument
134 hud_layer_ = layer_impl;
H A Dlayer_tree_host_impl.h527 LayerImpl* layer_impl,
545 bool HandleMouseOverScrollbar(LayerImpl* layer_impl,
558 LayerImpl* layer_impl);
H A Dlayer_sorter.cc63 GraphNode::GraphNode(LayerImpl* layer_impl) argument
64 : layer(layer_impl),
H A Dlayer_tree_host_unittest.cc17 #include "cc/layers/layer_impl.h"
1671 void EvictionTestLayer::PushPropertiesTo(LayerImpl* layer_impl) { argument
1672 Layer::PushPropertiesTo(layer_impl);
1675 static_cast<EvictionTestLayerImpl*>(layer_impl);
2684 FakePictureLayerImpl* layer_impl = variable
2698 EXPECT_LE(1u, layer_impl->append_quads_count());
2706 EXPECT_LE(2u, layer_impl->append_quads_count());
2713 EXPECT_LE(3u, layer_impl->append_quads_count());
/external/chromium_org/cc/test/
H A Dlayer_tree_json_parser_unittest.cc18 bool LayerTreesMatch(LayerImpl* const layer_impl, argument
28 RETURN_IF_EXPECTATION_FAILS(EXPECT_EQ(layer_impl->children().size(),
30 RETURN_IF_EXPECTATION_FAILS(EXPECT_SIZE_EQ(layer_impl->bounds(),
32 RETURN_IF_EXPECTATION_FAILS(EXPECT_POINT_EQ(layer_impl->position(),
35 EXPECT_TRANSFORMATION_MATRIX_EQ(layer_impl->draw_transform(),
37 RETURN_IF_EXPECTATION_FAILS(EXPECT_EQ(layer_impl->contents_opaque(),
39 RETURN_IF_EXPECTATION_FAILS(EXPECT_EQ(layer_impl->scrollable(),
41 RETURN_IF_EXPECTATION_FAILS(EXPECT_FLOAT_EQ(layer_impl->opacity(),
43 RETURN_IF_EXPECTATION_FAILS(EXPECT_EQ(layer_impl->have_wheel_event_handlers(),
46 EXPECT_EQ(layer_impl
[all...]
H A Dfake_layer_tree_host.cc38 scoped_ptr<LayerImpl> layer_impl = TreeSynchronizer::SynchronizeTrees( local
40 TreeSynchronizer::PushProperties(root_layer(), layer_impl.get());
42 active_tree()->SetRootLayer(layer_impl.Pass());
H A Dlayer_test_common.cc130 LayerImpl* layer_impl,
137 layer_impl->WillDraw(DRAW_MODE_HARDWARE, resource_provider());
138 layer_impl->AppendQuads(render_pass_.get(), occlusion_tracker_, &data);
139 layer_impl->DidDraw(resource_provider());
143 LayerImpl* layer_impl,
151 layer_impl->WillDraw(DRAW_MODE_HARDWARE, resource_provider());
152 layer_impl->AppendQuads(render_pass_.get(), occlusion_tracker_, &data);
153 layer_impl->DidDraw(resource_provider());
129 AppendQuadsWithOcclusion( LayerImpl* layer_impl, const gfx::Rect& occluded) argument
142 AppendQuadsForPassWithOcclusion( LayerImpl* layer_impl, const RenderPassId& id, const gfx::Rect& occluded) argument
H A Dlayer_test_common.h107 void AppendQuadsWithOcclusion(LayerImpl* layer_impl,
109 void AppendQuadsForPassWithOcclusion(LayerImpl* layer_impl,
/external/chromium_org/cc/layers/
H A Dnine_patch_layer.cc55 NinePatchLayerImpl* layer_impl = static_cast<NinePatchLayerImpl*>(layer); local
58 layer_impl->SetUIResourceId(0);
62 layer_impl->SetLayout(image_aperture_, border_, fill_center_);
H A Dsurface_layer.cc36 SurfaceLayerImpl* layer_impl = static_cast<SurfaceLayerImpl*>(layer); local
38 layer_impl->SetSurfaceId(surface_id_);
H A Dpicture_layer_unittest.cc61 scoped_ptr<FakePictureLayerImpl> layer_impl = local
64 layer->PushPropertiesTo(layer_impl.get());
65 EXPECT_FALSE(layer_impl->CanHaveTilings());
66 EXPECT_TRUE(layer_impl->bounds() == gfx::Size(0, 0));
67 EXPECT_EQ(gfx::Size(), layer_impl->pile()->tiling_size());
68 EXPECT_FALSE(layer_impl->pile()->HasRecordings());
H A Dsolid_color_layer_impl_unittest.cc132 scoped_ptr<SolidColorLayerImpl> layer_impl = local
135 layer->PushPropertiesTo(layer_impl.get());
138 EXPECT_TRUE(layer_impl->contents_opaque());
142 layer_impl->draw_properties().opacity = 1;
148 layer_impl->AppendQuads(render_pass.get(), occlusion_tracker, &data);
159 scoped_ptr<SolidColorLayerImpl> layer_impl = local
162 layer->PushPropertiesTo(layer_impl.get());
165 EXPECT_FALSE(layer_impl->contents_opaque());
169 layer_impl->draw_properties().opacity = 1;
175 layer_impl
[all...]
H A Dpicture_layer.cc37 PictureLayerImpl* layer_impl = static_cast<PictureLayerImpl*>(base_layer); local
39 if (layer_impl->bounds().IsEmpty()) {
41 // Using layer_impl because either bounds() or paint_properties().bounds
42 // may disagree and either one could have been pushed to layer_impl.
49 DCHECK_EQ(layer_impl->bounds().ToString(), pile_->tiling_size().ToString());
52 // Unlike other properties, invalidation must always be set on layer_impl.
54 layer_impl->invalidation_.Clear();
55 layer_impl->invalidation_.Swap(&pile_invalidation_);
56 layer_impl->UpdatePile(PicturePileImpl::CreateFromOther(pile_.get()));
H A Dtiled_layer_unittest.cc173 FakeTiledLayerImpl* layer_impl) {
176 layer->PushPropertiesTo(layer_impl);
267 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
276 UpdateAndPush(layer, layer_impl);
279 EXPECT_TRUE(layer_impl->HasResourceIdForTileAt(0, 0));
280 EXPECT_TRUE(layer_impl->HasResourceIdForTileAt(0, 1));
285 UpdateAndPush(layer, layer_impl);
289 EXPECT_TRUE(layer_impl->HasResourceIdForTileAt(0, 0));
290 EXPECT_FALSE(layer_impl->HasResourceIdForTileAt(0, 1));
298 scoped_ptr<FakeTiledLayerImpl> layer_impl local
172 LayerPushPropertiesTo(FakeTiledLayer* layer, FakeTiledLayerImpl* layer_impl) argument
317 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
358 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
397 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
437 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
577 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
600 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
704 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
751 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
780 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
813 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
851 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
943 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
1114 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
1130 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
1145 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
1161 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
1170 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
1186 scoped_ptr<FakeTiledLayerImpl> layer_impl = local
[all...]
H A Dui_resource_layer.cc151 UIResourceLayerImpl* layer_impl = static_cast<UIResourceLayerImpl*>(layer); local
154 layer_impl->SetUIResourceId(0);
160 layer_impl->SetUIResourceId(ui_resource_holder_->id());
161 layer_impl->SetImageBounds(image_size);
162 layer_impl->SetUV(uv_top_left_, uv_bottom_right_);
163 layer_impl->SetVertexOpacity(vertex_opacity_);
H A Dsurface_layer_impl.cc35 SurfaceLayerImpl* layer_impl = static_cast<SurfaceLayerImpl*>(layer); local
37 layer_impl->SetSurfaceId(surface_id_);
H A Dui_resource_layer_impl.cc37 UIResourceLayerImpl* layer_impl = static_cast<UIResourceLayerImpl*>(layer); local
39 layer_impl->SetUIResourceId(ui_resource_id_);
40 layer_impl->SetImageBounds(image_bounds_);
41 layer_impl->SetUV(uv_top_left_, uv_bottom_right_);
42 layer_impl->SetVertexOpacity(vertex_opacity_);
H A Dpicture_layer_impl.cc99 PictureLayerImpl* layer_impl = static_cast<PictureLayerImpl*>(base_layer); local
107 if (layer_impl->tilings_)
108 layer_impl->tilings_->DidBecomeRecycled();
114 layer_impl->twin_layer_ = NULL;
117 layer_impl->UpdatePile(pile_);
121 layer_impl->tilings_.swap(tilings_);
122 layer_impl->tilings_->SetClient(layer_impl);
134 layer_impl->raster_page_scale_ = raster_page_scale_;
135 layer_impl
[all...]
H A Dnine_patch_layer_impl.cc30 NinePatchLayerImpl* layer_impl = static_cast<NinePatchLayerImpl*>(layer); local
32 layer_impl->SetLayout(image_aperture_, border_, fill_center_);

Completed in 1682 milliseconds

12