Searched refs:host_impl (Results 1 - 25 of 46) sorted by relevance

12

/external/chromium_org/cc/layers/
H A Dheads_up_display_layer_impl_unittest.cc34 FakeLayerTreeHostImpl host_impl(&proxy);
35 host_impl.CreatePendingTree();
36 host_impl.InitializeRenderer(CreateFakeOutputSurface());
38 HeadsUpDisplayLayerImpl::Create(host_impl.pending_tree(), 1);
43 layer.get(), host_impl.resource_provider(), DRAW_MODE_HARDWARE);
50 host_impl.resource_provider(),
H A Dui_resource_layer_impl_unittest.cc23 FakeUIResourceLayerTreeHostImpl* host_impl,
30 UIResourceLayerImpl::Create(host_impl->active_tree(), 1);
47 host_impl->CreateUIResource(uid, bitmap);
66 FakeUIResourceLayerTreeHostImpl host_impl(&proxy);
73 scoped_ptr<UIResourceLayerImpl> layer = GenerateUIResourceLayer(&host_impl,
83 layer = GenerateUIResourceLayer(&host_impl,
106 FakeUIResourceLayerTreeHostImpl host_impl(&proxy);
112 scoped_ptr<UIResourceLayerImpl> layer = GenerateUIResourceLayer(&host_impl,
121 layer = GenerateUIResourceLayer(&host_impl,
132 FakeUIResourceLayerTreeHostImpl host_impl(
22 GenerateUIResourceLayer( FakeUIResourceLayerTreeHostImpl* host_impl, gfx::Size bitmap_size, gfx::Size layer_size, bool opaque, UIResourceId uid) argument
[all...]
H A Drender_surface_unittest.cc39 FakeLayerTreeHostImpl host_impl(&proxy);
41 LayerImpl::Create(host_impl.active_tree(), 1);
65 LayerImpl::Create(host_impl.active_tree(), 2);
83 FakeLayerTreeHostImpl host_impl(&proxy);
85 LayerImpl::Create(host_impl.active_tree(), 1);
88 LayerImpl::Create(host_impl.active_tree(), 2);
146 FakeLayerTreeHostImpl host_impl(&proxy);
148 LayerImpl::Create(host_impl.active_tree(), 1);
151 LayerImpl::Create(host_impl.active_tree(), 2);
H A Dpicture_layer_unittest.cc52 FakeLayerTreeHostImpl host_impl(ImplSidePaintingSettings(), &proxy);
53 host_impl.CreatePendingTree();
55 FakePictureLayerImpl::Create(host_impl.pending_tree(), 1);
H A Dsolid_color_layer_impl_unittest.cc29 FakeLayerTreeHostImpl host_impl(&proxy);
31 SolidColorLayerImpl::Create(host_impl.active_tree(), 1);
53 FakeLayerTreeHostImpl host_impl(&proxy);
55 SolidColorLayerImpl::Create(host_impl.active_tree(), 1);
79 FakeLayerTreeHostImpl host_impl(&proxy);
81 SolidColorLayerImpl::Create(host_impl.active_tree(), 1);
122 SolidColorLayerImpl::Create(host->host_impl()->active_tree(),
147 SolidColorLayerImpl::Create(host->host_impl()->active_tree(),
H A Dlayer_impl_unittest.cc52 host_impl.ForcePrepareToDraw(); \
53 EXPECT_FALSE(host_impl.active_tree()->needs_update_draw_properties()); \
55 EXPECT_TRUE(host_impl.active_tree()->needs_update_draw_properties());
59 host_impl.ForcePrepareToDraw(); \
60 EXPECT_FALSE(host_impl.active_tree()->needs_update_draw_properties()); \
62 EXPECT_FALSE(host_impl.active_tree()->needs_update_draw_properties());
72 FakeLayerTreeHostImpl host_impl(&proxy);
73 EXPECT_TRUE(host_impl.InitializeRenderer(CreateFakeOutputSurface()));
74 scoped_ptr<LayerImpl> root = LayerImpl::Create(host_impl.active_tree(), 1);
75 root->AddChild(LayerImpl::Create(host_impl
[all...]
/external/chromium_org/cc/test/
H A Dlayer_tree_test.h34 virtual void WillBeginImplFrameOnThread(LayerTreeHostImpl* host_impl, argument
36 virtual void DidBeginImplFrameOnThread(LayerTreeHostImpl* host_impl, argument
38 virtual void BeginMainFrameAbortedOnThread(LayerTreeHostImpl* host_impl, argument
40 virtual void BeginCommitOnThread(LayerTreeHostImpl* host_impl) {} argument
41 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) {} argument
42 virtual void WillActivateTreeOnThread(LayerTreeHostImpl* host_impl) {} argument
43 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) {} argument
44 virtual void InitializedRendererOnThread(LayerTreeHostImpl* host_impl, argument
46 virtual bool PrepareToDrawOnThread(LayerTreeHostImpl* host_impl,
49 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) {} argument
50 SwapBuffersOnThread(LayerTreeHostImpl* host_impl, bool result) argument
51 SwapBuffersCompleteOnThread(LayerTreeHostImpl* host_impl) argument
52 UpdateVisibleTilesOnThread(LayerTreeHostImpl* host_impl) argument
53 AnimateLayers(LayerTreeHostImpl* host_impl, base::TimeTicks monotonic_time) argument
55 UpdateAnimationState(LayerTreeHostImpl* host_impl, bool has_unfinished_animation) argument
57 WillAnimateLayers(LayerTreeHostImpl* host_impl, base::TimeTicks monotonic_time) argument
75 DidSetVisibleOnImplTree(LayerTreeHostImpl* host_impl, bool visible) argument
[all...]
H A Dlayer_tree_json_parser_unittest.cc66 FakeLayerTreeHostImpl host_impl(&proxy);
67 LayerTreeImpl* tree = host_impl.active_tree();
85 std::string json = host_impl.LayerTreeAsJson();
88 EXPECT_TRUE(LayerTreesMatch(host_impl.RootLayer(), root.get()));
93 FakeLayerTreeHostImpl host_impl(&proxy);
94 LayerTreeImpl* tree = host_impl.active_tree();
110 std::string json = host_impl.LayerTreeAsJson();
113 EXPECT_TRUE(LayerTreesMatch(host_impl.RootLayer(), root.get()));
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_unittest_damage.cc170 virtual bool PrepareToDrawOnThread(LayerTreeHostImpl* host_impl,
175 int source_frame = host_impl->active_tree()->source_frame_number();
197 virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl,
259 virtual bool PrepareToDrawOnThread(LayerTreeHostImpl* host_impl,
264 int source_frame = host_impl->active_tree()->source_frame_number();
273 host_impl->active_tree()->root_layer()->render_surface();
329 virtual bool PrepareToDrawOnThread(LayerTreeHostImpl* host_impl,
335 host_impl->active_tree()->root_layer()->render_surface();
340 int source_frame = host_impl->active_tree()->source_frame_number();
354 host_impl
[all...]
H A Dlayer_tree_host_unittest_animation.cc127 LayerTreeHostImpl* host_impl,
141 host_impl->active_tree()->root_layer()->layer_animation_controller();
194 LayerTreeHostImpl* host_impl,
199 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
205 LayerTreeHostImpl* host_impl,
232 LayerTreeHostImpl* host_impl,
234 bool have_animations = !host_impl->animation_registrar()->
277 LayerTreeHostImpl* host_impl,
280 EXPECT_TRUE(host_impl->CanDraw());
347 virtual void BeginCommitOnThread(LayerTreeHostImpl* host_impl) OVERRID
359 UnblockActivations(host_impl); variable
378 UnblockActivations(LayerTreeHostImpl* host_impl) argument
421 InitiateNextCommit(LayerTreeHostImpl* host_impl) argument
[all...]
H A Dlayer_tree_host_unittest_video.cc49 virtual bool PrepareToDrawOnThread(LayerTreeHostImpl* host_impl,
52 LayerImpl* root_layer = host_impl->active_tree()->root_layer();
75 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
77 host_impl->active_tree()->root_layer()->children()[0]);
H A Dlayer_tree_host_pixeltest_on_demand_raster.cc36 virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl,
42 host_impl->active_tree()->root_layer()->child_at(0));
55 LayerTreePixelTest::SwapBuffersOnThread(host_impl, result);
H A Dlayer_tree_host_unittest_context.cc133 virtual bool PrepareToDrawOnThread(LayerTreeHostImpl* host_impl,
151 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
387 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
389 host_impl->active_tree()->root_layer()->children()[0]);
395 ContextProvider* contexts = host_impl->offscreen_context_provider();
495 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
496 ContextProvider* contexts = host_impl->offscreen_context_provider();
537 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
538 LayerTreeHostContextTest::CommitCompleteOnThread(host_impl);
543 EXPECT_TRUE(host_impl
[all...]
H A Dlayer_tree_host_perftest.cc61 virtual void BeginCommitOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
66 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
86 virtual void CleanUpAndEndTest(LayerTreeHostImpl* host_impl) { EndTest(); } argument
294 virtual void CleanUpAndEndTest(LayerTreeHostImpl* host_impl) OVERRIDE {
349 virtual void AnimateLayers(LayerTreeHostImpl* host_impl,
351 if (!host_impl->pinch_gesture_active()) {
352 host_impl->PinchGestureBegin();
379 total_scale / host_impl->active_tree()->total_page_scale_factor();
380 host_impl->PinchGestureUpdate(desired_delta, anchor);
H A Dlayer_tree_host_unittest_delegated.cc200 void ReturnUnusedResourcesFromParent(LayerTreeHostImpl* host_impl) { argument
233 host_impl->ReclaimResources(&ack);
234 host_impl->OnSwapBuffersComplete();
328 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
329 if (host_impl->active_tree()->source_frame_number() < 1)
332 LayerImpl* root_impl = host_impl->active_tree()->root_layer();
337 host_impl->output_surface()->context_provider();
357 virtual void InitializedRendererOnThread(LayerTreeHostImpl* host_impl,
364 LayerImpl* root_impl = host_impl->active_tree()->root_layer();
392 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRID
921 ReturnUnusedResourcesFromParent(host_impl); variable
993 ReturnUnusedResourcesFromParent(host_impl); variable
1093 ReturnUnusedResourcesFromParent(host_impl); variable
1212 ReturnUnusedResourcesFromParent(host_impl); variable
1516 ReturnUnusedResourcesFromParent(host_impl); variable
1565 ReceiveResourceOnThread(LayerTreeHostImpl* host_impl) argument
1868 ReturnUnusedResourcesFromParent(host_impl); variable
1946 ReturnUnusedResourcesFromParent(host_impl); variable
2015 ReturnUnusedResourcesFromParent(host_impl); variable
2102 ReturnUnusedResourcesFromParent(host_impl); variable
2194 ReturnUnusedResourcesFromParent(host_impl); variable
2276 ReturnUnusedResourcesFromParent(host_impl); variable
[all...]
H A Dlayer_tree_host_common_perftest.cc120 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
122 LayerTreeImpl* active_tree = host_impl->active_tree();
131 host_impl->DrawTransform(),
136 host_impl->settings().can_use_lcd_text,
138 host_impl->settings().layer_transforms_should_scale_layer_contents,
H A Dlayer_sorter_unittest.cc213 FakeLayerTreeHostImpl host_impl(&proxy);
215 scoped_ptr<LayerImpl> layer1 = LayerImpl::Create(host_impl.active_tree(), 1);
216 scoped_ptr<LayerImpl> layer2 = LayerImpl::Create(host_impl.active_tree(), 2);
217 scoped_ptr<LayerImpl> layer3 = LayerImpl::Create(host_impl.active_tree(), 3);
218 scoped_ptr<LayerImpl> layer4 = LayerImpl::Create(host_impl.active_tree(), 4);
219 scoped_ptr<LayerImpl> layer5 = LayerImpl::Create(host_impl.active_tree(), 5);
278 FakeLayerTreeHostImpl host_impl(&proxy);
280 scoped_ptr<LayerImpl> layer1 = LayerImpl::Create(host_impl.active_tree(), 1);
281 scoped_ptr<LayerImpl> layer2 = LayerImpl::Create(host_impl.active_tree(), 2);
H A Dlayer_tree_host.cc266 void LayerTreeHost::BeginCommitOnImplThread(LayerTreeHostImpl* host_impl) { argument
276 void LayerTreeHost::FinishCommitOnImplThread(LayerTreeHostImpl* host_impl) { argument
291 host_impl->memory_allocation_limit_bytes() &&
294 host_impl->SetNeedsCommit();
297 host_impl->set_max_memory_needed_bytes(
301 host_impl->resource_provider());
311 DCHECK(!host_impl->pending_tree());
312 host_impl->CreatePendingTree();
313 sync_tree = host_impl->pending_tree();
318 host_impl
459 scoped_ptr<LayerTreeHostImpl> host_impl = local
[all...]
H A Dtree_synchronizer_unittest.cc555 scoped_ptr<LayerTreeHostImpl> host_impl = LayerTreeHostImpl::Create( local
587 scoped_ptr<LayerTreeHostImpl> host_impl = LayerTreeHostImpl::Create( local
605 host_impl->active_tree());
610 host_impl->active_tree());
617 host_impl->active_tree());
622 host_impl->active_tree());
631 host_impl->active_tree());
636 host_impl->active_tree());
644 host_impl->active_tree());
649 host_impl
662 scoped_ptr<LayerTreeHostImpl> host_impl = LayerTreeHostImpl::Create( local
[all...]
/external/chromium_org/content/renderer/pepper/
H A Durl_response_info_util.h25 void DataFromWebURLResponse(RendererPpapiHostImpl* host_impl,
H A Durl_response_info_util.cc73 void DataFromWebURLResponse(RendererPpapiHostImpl* host_impl, argument
96 new PepperFileRefRendererHost(host_impl, pp_instance, 0, external_path);
98 host_impl->GetPpapiHost()->AddPendingResourceHost(
103 host_impl->CreateBrowserResourceHosts(
H A Dpepper_in_process_router.h55 PepperInProcessRouter(RendererPpapiHostImpl* host_impl);
/external/chromium_org/cc/output/
H A Ddelegating_renderer_unittest.cc42 virtual bool PrepareToDrawOnThread(LayerTreeHostImpl* host_impl,
56 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
60 virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl,
69 EXPECT_EQ(host_impl->DeviceViewport().ToString(),
93 LayerTreeHostImpl* host_impl,
105 host_impl->resource_provider(), RenderPass::Id(0, 0));
113 host_impl->resource_provider(), child_pass->id);
117 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
121 virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl,
/external/chromium_org/cc/debug/
H A Dmicro_benchmark_controller.h35 void ScheduleImplBenchmarks(LayerTreeHostImpl* host_impl);
H A Dmicro_benchmark_controller.cc74 LayerTreeHostImpl* host_impl) {
85 host_impl->ScheduleMicroBenchmark(benchmark_impl.Pass());
73 ScheduleImplBenchmarks( LayerTreeHostImpl* host_impl) argument

Completed in 315 milliseconds

12