Home
last modified time | relevance | path

Searched refs:host_impl_ (Results 1 – 25 of 31) sorted by relevance

12

/external/chromium_org/cc/trees/
Dlayer_tree_host_impl_unittest.cc128 host_impl_->ActivateSyncTree(); in NotifyReadyToActivate()
174 host_impl_ = LayerTreeHostImpl::Create(settings, in CreateHostImpl()
180 bool init = host_impl_->InitializeRenderer(output_surface.Pass()); in CreateHostImpl()
181 host_impl_->SetViewportSize(gfx::Size(10, 10)); in CreateHostImpl()
191 host_impl_->active_tree()->SetRootLayer(root.Pass()); in SetupRootLayerImpl()
279 host_impl_->active_tree(), content_size); in SetupScrollAndContentsLayers()
280 host_impl_->active_tree()->DidBecomeActive(); in SetupScrollAndContentsLayers()
291 LayerImpl::Create(host_impl_->active_tree(), id); in CreateScrollableLayer()
302 EXPECT_EQ(DRAW_SUCCESS, host_impl_->PrepareToDraw(&frame)); in DrawFrame()
303 host_impl_->DrawLayers(&frame, gfx::FrameTime::Now()); in DrawFrame()
[all …]
Docclusion_tracker_perftest.cc39 host_impl_ = LayerTreeHostImpl::Create( in CreateHost()
41 host_impl_->InitializeRenderer( in CreateHost()
48 LayerTreeImpl* active_tree() { return host_impl_->active_tree(); } in active_tree()
70 scoped_ptr<LayerTreeHostImpl> host_impl_; member in cc::__anond41a54c30111::OcclusionTrackerPerfTest
80 host_impl_->SetViewportSize(viewport_rect.size()); in TEST_F()
146 host_impl_->SetViewportSize(viewport_rect.size()); in TEST_F()
Ddamage_tracker_unittest.cc77 DamageTrackerTest() : host_impl_(&proxy_, &shared_bitmap_manager_) {} in DamageTrackerTest()
81 LayerImpl::Create(host_impl_.active_tree(), 1); in CreateTestTreeWithOneSurface()
83 LayerImpl::Create(host_impl_.active_tree(), 2); in CreateTestTreeWithOneSurface()
107 LayerImpl::Create(host_impl_.active_tree(), 1); in CreateTestTreeWithTwoSurfaces()
109 LayerImpl::Create(host_impl_.active_tree(), 2); in CreateTestTreeWithTwoSurfaces()
111 LayerImpl::Create(host_impl_.active_tree(), 3); in CreateTestTreeWithTwoSurfaces()
113 LayerImpl::Create(host_impl_.active_tree(), 4); in CreateTestTreeWithTwoSurfaces()
115 LayerImpl::Create(host_impl_.active_tree(), 5); in CreateTestTreeWithTwoSurfaces()
181 FakeLayerTreeHostImpl host_impl_; member in cc::__anon4088cf860111::DamageTrackerTest
705 LayerImpl::Create(host_impl_.active_tree(), 3); in TEST_F()
[all …]
/external/chromium_org/cc/layers/
Ddelegated_renderer_layer_impl_unittest.cc41 host_impl_.reset( in DelegatedRendererLayerImplTest()
43 host_impl_->InitializeRenderer( in DelegatedRendererLayerImplTest()
45 host_impl_->SetViewportSize(gfx::Size(10, 10)); in DelegatedRendererLayerImplTest()
53 scoped_ptr<LayerTreeHostImpl> host_impl_; member in cc::__anone208da4b0111::DelegatedRendererLayerImplTest
62 host_impl_->active_tree(), 1).PassAs<LayerImpl>(); in DelegatedRendererLayerImplTestSimple()
64 host_impl_->active_tree(), 2).PassAs<LayerImpl>(); in DelegatedRendererLayerImplTestSimple()
66 host_impl_->active_tree(), 3).PassAs<LayerImpl>(); in DelegatedRendererLayerImplTestSimple()
68 FakeDelegatedRendererLayerImpl::Create(host_impl_->active_tree(), 4); in DelegatedRendererLayerImplTestSimple()
70 host_impl_->SetViewportSize(gfx::Size(100, 100)); in DelegatedRendererLayerImplTestSimple()
129 host_impl_->active_tree()->SetRootLayer(root_layer.Pass()); in DelegatedRendererLayerImplTestSimple()
[all …]
Dpicture_layer_impl_perftest.cc41 host_impl_(ImplSidePaintingSettings(), in PictureLayerImplPerfTest()
49 host_impl_.InitializeRenderer( in SetUp()
57 host_impl_.CreatePendingTree(); in SetupPendingTree()
58 LayerTreeImpl* pending_tree = host_impl_.pending_tree(); in SetupPendingTree()
67 host_impl_.pending_tree()->LayerById(7)); in SetupPendingTree()
75 host_impl_.SetViewportSize(viewport_size); in RunRasterIteratorConstructAndIterateTest()
76 host_impl_.pending_tree()->UpdateDrawProperties(); in RunRasterIteratorConstructAndIterateTest()
100 host_impl_.SetViewportSize(viewport.size()); in RunRasterIteratorConstructTest()
102 host_impl_.pending_tree()->UpdateDrawProperties(); in RunRasterIteratorConstructTest()
122 host_impl_.SetViewportSize(viewport_size); in RunEvictionIteratorConstructAndIterateTest()
[all …]
Dpicture_layer_impl_unittest.cc60 host_impl_(LowResTilingsSettings(), &proxy_, &shared_bitmap_manager_), in PictureLayerImplTest()
68 host_impl_(settings, &proxy_, &shared_bitmap_manager_), in PictureLayerImplTest()
79 host_impl_.InitializeRenderer( in InitializeRenderer()
95 host_impl_.ActivateSyncTree(); in ActivateTree()
96 CHECK(!host_impl_.pending_tree()); in ActivateTree()
97 CHECK(host_impl_.recycle_tree()); in ActivateTree()
101 host_impl_.active_tree()->LayerById(id_)); in ActivateTree()
139 host_impl_.CreatePendingTree(); in SetupPendingTree()
140 host_impl_.pending_tree()->SetPageScaleFactorAndLimits(1.f, 0.25f, 100.f); in SetupPendingTree()
141 LayerTreeImpl* pending_tree = host_impl_.pending_tree(); in SetupPendingTree()
[all …]
Dpicture_image_layer_impl_unittest.cc41 host_impl_(ImplSidePaintingSettings(), in PictureImageLayerImplTest()
45 host_impl_.CreatePendingTree(); in PictureImageLayerImplTest()
46 host_impl_.InitializeRenderer( in PictureImageLayerImplTest()
55 tree = host_impl_.active_tree(); in CreateLayer()
58 tree = host_impl_.pending_tree(); in CreateLayer()
93 FakeLayerTreeHostImpl host_impl_; member in cc::__anon0bf318540111::PictureImageLayerImplTest
130 host_impl_.pending_tree()->SetRootLayer(pending_layer.PassAs<LayerImpl>()); in TEST_F()
131 host_impl_.ActivateSyncTree(); in TEST_F()
134 host_impl_.active_tree()->root_layer()); in TEST_F()
145 host_impl_.tile_manager()->InitializeTilesWithResourcesForTesting( in TEST_F()
Dtiled_layer_unittest.cc133 host_impl_ = make_scoped_ptr( in SetUp()
144 host_impl_.reset(); in ~TiledLayerTest()
259 scoped_ptr<FakeLayerTreeHostImpl> host_impl_; member in cc::__anond5d03a570111::TiledLayerTest
268 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
299 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
318 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
359 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
398 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
438 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
517 make_scoped_ptr(new FakeTiledLayerImpl(host_impl_->active_tree(), 1)); in TEST_F()
[all …]
Ddelegated_renderer_layer_unittest.cc26 host_impl_ = FakeLayerTreeHost::Create(&host_client_, settings); in DelegatedRendererLayerTest()
27 host_impl_->SetViewportSize(gfx::Size(10, 10)); in DelegatedRendererLayerTest()
34 scoped_ptr<LayerTreeHost> host_impl_; member in cc::__anonac805a3a0111::DelegatedRendererLayerTest
Dlayer_perftest.cc34 : host_impl_(&proxy_, &shared_bitmap_manager_), in LayerPerfTest()
54 FakeLayerTreeHostImpl host_impl_; member in cc::__anond41a78530111::LayerPerfTest
64 LayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
Dtexture_layer_unittest.cc173 host_impl_(&proxy_, &shared_bitmap_manager_) {} in TextureLayerTest()
195 FakeLayerTreeHostImpl host_impl_; member in cc::__anond61082b60111::TextureLayerTest
935 EXPECT_TRUE(host_impl_.InitializeRenderer( in SetUp()
941 mode, host_impl_.active_tree()->resource_provider()); in WillDraw()
943 layer->DidDraw(host_impl_.active_tree()->resource_provider()); in WillDraw()
964 TextureLayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
973 TextureLayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
982 TextureLayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
992 TextureLayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
1001 TextureLayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
[all …]
Dlayer_impl_unittest.cc422 : host_impl_(&proxy_, &shared_bitmap_manager_), root_id_(7) { in LayerImplScrollTest()
423 host_impl_.active_tree()->SetRootLayer( in LayerImplScrollTest()
424 LayerImpl::Create(host_impl_.active_tree(), root_id_)); in LayerImplScrollTest()
425 host_impl_.active_tree()->root_layer()->AddChild( in LayerImplScrollTest()
426 LayerImpl::Create(host_impl_.active_tree(), root_id_ + 1)); in LayerImplScrollTest()
431 host_impl_.active_tree()->root_layer()->SetBounds(gfx::Size(1, 1)); in LayerImplScrollTest()
437 return host_impl_.active_tree()->root_layer()->children()[0]; in layer()
440 LayerTreeHostImpl& host_impl() { return host_impl_; } in host_impl()
442 LayerTreeImpl* tree() { return host_impl_.active_tree(); } in tree()
447 FakeLayerTreeHostImpl host_impl_; member in cc::__anon4b73c7970111::LayerImplScrollTest
Dlayer_position_constraint_unittest.cc66 LayerPositionConstraintTest() : host_impl_(&proxy_, &shared_bitmap_manager_) { in LayerPositionConstraintTest()
77 LayerImpl::Create(host_impl_.active_tree(), 42); in CreateTreeForTest()
79 LayerImpl::Create(host_impl_.active_tree(), 1); in CreateTreeForTest()
81 LayerImpl::Create(host_impl_.active_tree(), 2); in CreateTreeForTest()
83 LayerImpl::Create(host_impl_.active_tree(), 3); in CreateTreeForTest()
85 LayerImpl::Create(host_impl_.active_tree(), 4); in CreateTreeForTest()
129 FakeLayerTreeHostImpl host_impl_; member in cc::__anon4cc7153e0111::LayerPositionConstraintTest
728 LayerImpl::Create(host_impl_.active_tree(), 5); in TEST_F()
1117 LayerImpl::Create(host_impl_.active_tree(), 5); in TEST_F()
Dlayer_utils_unittest.cc27 : host_impl_(&proxy_, &shared_bitmap_manager_), in LayerUtilsGetAnimationBoundsTest()
28 root_(CreateThreeNodeTree(host_impl_)), in LayerUtilsGetAnimationBoundsTest()
48 FakeLayerTreeHostImpl host_impl_; member in cc::__anon939fc1f60111::LayerUtilsGetAnimationBoundsTest
Dlayer_unittest.cc61 : host_impl_(&proxy_, &shared_bitmap_manager_), in LayerTest()
132 FakeLayerTreeHostImpl host_impl_; member in cc::__anon6682c8060111::LayerTest
647 LayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
676 LayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
695 LayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
713 LayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
754 LayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
794 LayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
865 LayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
896 LayerImpl::Create(host_impl_.active_tree(), 1); in TEST_F()
/external/chromium_org/content/renderer/pepper/
Dpepper_in_process_resource_creation.cc47 : ResourceCreationImpl(instance), host_impl_(host_impl) {} in PepperInProcessResourceCreation()
57 host_impl_->GetRenderViewForInstance(instance)->GetWebkitPreferences())); in CreateBrowserFont()
59 host_impl_->in_process_router()->GetPluginConnection(instance), in CreateBrowserFont()
73 host_impl_->in_process_router()->GetPluginConnection(instance), in CreateFileChooser()
82 host_impl_->in_process_router()->GetPluginConnection(instance), in CreateFileIO()
90 host_impl_->in_process_router()->GetPluginConnection(instance), in CreateFileRef()
99 host_impl_->in_process_router()->GetPluginConnection(instance), in CreateFileSystem()
109 host_impl_->in_process_router()->GetPluginConnection(instance), in CreateGraphics2D()
118 host_impl_->in_process_router()->GetPluginConnection(instance), in CreatePrinting()
132 host_impl_->in_process_router()->GetPluginConnection(instance), in CreateURLLoader()
[all …]
Dpepper_in_process_router.cc38 : host_impl_(host_impl), in PepperInProcessRouter()
63 RenderFrame* frame = host_impl_->GetRenderFrameForInstance(instance); in GetPluginConnection()
121 bool result = host_impl_->GetPpapiHost()->OnMessageReceived(*message); in SendToHost()
132 bool result = host_impl_->GetPpapiHost()->OnMessageReceived(*message); in SendToHost()
159 bool handled = host_impl_->GetPpapiHost()->OnMessageReceived(*msg); in DispatchHostMsg()
Dpepper_in_process_router.h78 RendererPpapiHostImpl* host_impl_; variable
/external/chromium_org/cc/resources/
Dtile_manager_perftest.cc92 host_impl_(ImplSidePaintingSettings(10000), in TileManagerPerfTest()
110 host_impl_.resource_pool()->SetResourceUsageLimits( in SetTreePriority()
112 host_impl_.tile_manager()->SetGlobalStateForTesting(state); in SetTreePriority()
122 host_impl_.InitializeRenderer( in InitializeRenderer()
139 host_impl_.ActivateSyncTree(); in ActivateTree()
140 CHECK(!host_impl_.pending_tree()); in ActivateTree()
143 host_impl_.active_tree()->LayerById(id_)); in ActivateTree()
161 host_impl_.CreatePendingTree(); in SetupPendingTree()
162 LayerTreeImpl* pending_tree = host_impl_.pending_tree(); in SetupPendingTree()
172 host_impl_.pending_tree()->LayerById(id_)); in SetupPendingTree()
[all …]
Dtile_manager_unittest.cc497 host_impl_(LowResTilingsSettings(), &proxy_, &shared_bitmap_manager_) {} in TileManagerTilePriorityQueueTest()
510 host_impl_.resource_pool()->SetResourceUsageLimits( in SetTreePriority()
514 host_impl_.tile_manager()->SetGlobalStateForTesting(state); in SetTreePriority()
523 host_impl_.InitializeRenderer( in InitializeRenderer()
539 host_impl_.ActivateSyncTree(); in ActivateTree()
540 CHECK(!host_impl_.pending_tree()); in ActivateTree()
543 host_impl_.active_tree()->LayerById(id_)); in ActivateTree()
561 host_impl_.CreatePendingTree(); in SetupPendingTree()
562 LayerTreeImpl* pending_tree = host_impl_.pending_tree(); in SetupPendingTree()
572 host_impl_.pending_tree()->LayerById(id_)); in SetupPendingTree()
[all …]
/external/chromium_org/cc/test/
Dfake_layer_tree_host.h36 FakeLayerTreeHostImpl* host_impl() { return &host_impl_; } in host_impl()
37 LayerTreeImpl* active_tree() { return host_impl_.active_tree(); } in active_tree()
61 FakeLayerTreeHostImpl host_impl_; variable
/external/chromium_org/content/browser/
Dppapi_plugin_process_host.cc172 iter->host_impl_->AddInstance(pp_instance, instance_data); in DidCreateOutOfProcessInstance()
194 iter->host_impl_->DeleteInstance(pp_instance); in DidDeleteOutOfProcessInstance()
247 host_impl_.reset(new BrowserPpapiHostImpl(this, permissions_, info.name, in PpapiPluginProcessHost()
254 process_->GetHost()->AddFilter(host_impl_->message_filter().get()); in PpapiPluginProcessHost()
256 GetContentClient()->browser()->DidCreatePpapiPlugin(host_impl_.get()); in PpapiPluginProcessHost()
271 host_impl_.reset(new BrowserPpapiHostImpl(this, permissions, in PpapiPluginProcessHost()
397 host_impl_->set_plugin_process_handle(process_->GetHandle()); in OnProcessLaunched()
Dppapi_plugin_process_host.h105 BrowserPpapiHostImpl* host_impl() { return host_impl_.get(); } in host_impl()
145 scoped_ptr<BrowserPpapiHostImpl> host_impl_; variable
/external/chromium_org/cc/animation/
Dscrollbar_animation_controller_linear_fade_unittest.cc21 : host_impl_(&proxy_, &shared_bitmap_manager_), needs_frame_count_(0) {} in ScrollbarAnimationControllerLinearFadeTest()
39 LayerImpl::Create(host_impl_.active_tree(), 1); in SetUp()
41 SolidColorScrollbarLayerImpl::Create(host_impl_.active_tree(), in SetUp()
48 clip_layer_ = LayerImpl::Create(host_impl_.active_tree(), 3); in SetUp()
67 FakeLayerTreeHostImpl host_impl_; member in cc::__anonf95142a80111::ScrollbarAnimationControllerLinearFadeTest
Dscrollbar_animation_controller_thinning_unittest.cc21 : host_impl_(&proxy_, &shared_bitmap_manager_) {} in ScrollbarAnimationControllerThinningTest()
32 LayerImpl::Create(host_impl_.active_tree(), 1); in SetUp()
33 clip_layer_ = LayerImpl::Create(host_impl_.active_tree(), 3); in SetUp()
44 SolidColorScrollbarLayerImpl::Create(host_impl_.active_tree(), in SetUp()
66 FakeLayerTreeHostImpl host_impl_; member in cc::__anon9b0a345d0111::ScrollbarAnimationControllerThinningTest

12