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

/external/chromium_org/cc/test/
H A Dfake_layer_tree_host.h36 FakeLayerTreeHostImpl* host_impl() { return &host_impl_; } function in class:cc::FakeLayerTreeHost
H A Dlayer_test_common.h56 scoped_ptr<T> layer = T::Create(host_->host_impl()->active_tree(), 2);
64 scoped_ptr<T> layer = T::Create(host_->host_impl()->active_tree(), 2, a);
73 T::Create(host_->host_impl()->active_tree(), 2, a, b);
82 T::Create(host_->host_impl()->active_tree(), 2, a, b, c, d);
100 T::Create(host_->host_impl()->active_tree(), 2, a, b, c, d, e);
116 return host_->host_impl()->output_surface();
119 return host_->host_impl()->resource_provider();
122 FakeLayerTreeHostImpl* host_impl() const { return host_->host_impl(); } function in class:cc::LayerTestCommon::LayerImplTest
123 Proxy* proxy() const { return host_->host_impl()
[all...]
H A Dlayer_tree_test.cc40 LayerTreeHostImpl* host_impl,
39 PrepareToDrawOnThread( LayerTreeHostImpl* host_impl, LayerTreeHostImpl::FrameData* frame_data, DrawResult draw_result) argument
H A Dlayer_tree_test.h37 virtual void WillBeginImplFrameOnThread(LayerTreeHostImpl* host_impl, argument
39 virtual void BeginMainFrameAbortedOnThread(LayerTreeHostImpl* host_impl, argument
41 virtual void BeginCommitOnThread(LayerTreeHostImpl* host_impl) {} argument
42 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) {} argument
43 virtual void WillActivateTreeOnThread(LayerTreeHostImpl* host_impl) {} argument
44 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) {} argument
45 virtual void InitializedRendererOnThread(LayerTreeHostImpl* host_impl, argument
48 LayerTreeHostImpl* host_impl,
51 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) {} argument
52 virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl, boo argument
53 SwapBuffersCompleteOnThread(LayerTreeHostImpl* host_impl) argument
54 UpdateVisibleTilesOnThread(LayerTreeHostImpl* host_impl) argument
55 AnimateLayers(LayerTreeHostImpl* host_impl, base::TimeTicks monotonic_time) argument
57 UpdateAnimationState(LayerTreeHostImpl* host_impl, bool has_unfinished_animation) argument
59 WillAnimateLayers(LayerTreeHostImpl* host_impl, base::TimeTicks monotonic_time) argument
76 DidSetVisibleOnImplTree(LayerTreeHostImpl* host_impl, bool visible) argument
[all...]
/external/chromium_org/cc/debug/
H A Dmicro_benchmark_controller.cc102 LayerTreeHostImpl* host_impl) {
113 host_impl->ScheduleMicroBenchmark(benchmark_impl.Pass());
101 ScheduleImplBenchmarks( LayerTreeHostImpl* host_impl) argument
/external/chromium_org/cc/layers/
H A Dlayer_utils_unittest.cc38 LayerTreeHostImpl& host_impl) {
39 scoped_ptr<LayerImpl> root = LayerImpl::Create(host_impl.active_tree(), 1);
40 root->AddChild(LayerImpl::Create(host_impl.active_tree(), 2));
42 ->AddChild(LayerImpl::Create(host_impl.active_tree(), 3));
37 CreateThreeNodeTree( LayerTreeHostImpl& host_impl) argument
H A Dui_resource_layer_impl_unittest.cc24 FakeUIResourceLayerTreeHostImpl* host_impl,
31 UIResourceLayerImpl::Create(host_impl->active_tree(), 1);
40 host_impl->CreateUIResource(uid, bitmap);
62 FakeUIResourceLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager);
69 scoped_ptr<UIResourceLayerImpl> layer = GenerateUIResourceLayer(&host_impl,
79 layer = GenerateUIResourceLayer(&host_impl,
105 FakeUIResourceLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager);
111 scoped_ptr<UIResourceLayerImpl> layer = GenerateUIResourceLayer(&host_impl,
120 layer = GenerateUIResourceLayer(&host_impl,
132 FakeUIResourceLayerTreeHostImpl host_impl(
23 GenerateUIResourceLayer( FakeUIResourceLayerTreeHostImpl* host_impl, const gfx::Size& bitmap_size, const gfx::Size& layer_size, bool opaque, UIResourceId uid) argument
[all...]
H A Dlayer_impl_unittest.cc68 host_impl.ForcePrepareToDraw(); \
69 EXPECT_FALSE(host_impl.active_tree()->needs_update_draw_properties()); \
71 EXPECT_TRUE(host_impl.active_tree()->needs_update_draw_properties());
75 host_impl.ForcePrepareToDraw(); \
76 EXPECT_FALSE(host_impl.active_tree()->needs_update_draw_properties()); \
78 EXPECT_FALSE(host_impl.active_tree()->needs_update_draw_properties());
89 FakeLayerTreeHostImpl host_impl(&proxy, &shared_bitmap_manager);
90 EXPECT_TRUE(host_impl.InitializeRenderer(
93 LayerImpl::Create(host_impl.active_tree(), 1);
95 LayerImpl::Create(host_impl
440 LayerTreeHostImpl& host_impl() { return host_impl_; } function in class:cc::__anon2683::LayerImplScrollTest
[all...]
/external/chromium_org/content/renderer/pepper/
H A Dpepper_in_process_resource_creation.cc45 RendererPpapiHostImpl* host_impl,
47 : ResourceCreationImpl(instance), host_impl_(host_impl) {}
44 PepperInProcessResourceCreation( RendererPpapiHostImpl* host_impl, PepperPluginInstanceImpl* instance) argument
H A Dpepper_in_process_router.cc37 PepperInProcessRouter::PepperInProcessRouter(RendererPpapiHostImpl* host_impl) argument
38 : host_impl_(host_impl),
H A Durl_response_info_util.cc71 void DataFromWebURLResponse(RendererPpapiHostImpl* host_impl, argument
94 new PepperFileRefRendererHost(host_impl, pp_instance, 0, external_path);
96 host_impl->GetPpapiHost()->AddPendingResourceHost(
101 host_impl->CreateBrowserResourceHosts(pp_instance,
H A Dplugin_module.cc388 RendererPpapiHostImpl* host_impl = local
390 render_frame->PepperPluginCreated(host_impl);
637 RendererPpapiHostImpl* host_impl =
640 render_frame->PepperPluginCreated(host_impl);
643 return host_impl;
H A Dpepper_plugin_instance_impl.cc609 RendererPpapiHostImpl* host_impl = module_->renderer_ppapi_host(); local
610 resource_creation_ = host_impl->CreateInProcessResourceCreationAPI(this);
926 RendererPpapiHostImpl* host_impl = module_->renderer_ppapi_host(); local
928 new PepperURLLoaderHost(host_impl, true, pp_instance(), 0);
938 int pending_host_id = host_impl->GetPpapiHost()->AddPendingResourceHost(
943 host_impl,
2705 RendererPpapiHostImpl* host_impl = module_->renderer_ppapi_host(); local
2706 if (host_impl->in_process_router()) {
2708 host_impl->in_process_router()->GetPluginConnection(instance),
3252 RendererPpapiHostImpl* host_impl local
[all...]
/external/chromium_org/content/browser/
H A Dppapi_plugin_process_host.h105 BrowserPpapiHostImpl* host_impl() { return host_impl_.get(); } function in class:content::PpapiPluginProcessHost
/external/chromium_org/cc/trees/
H A Dlayer_tree_host_common_perftest.cc128 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
130 LayerTreeImpl* active_tree = host_impl->active_tree();
138 host_impl);
149 LayerTreeHostImpl* host_impl) {
154 host_impl->DrawTransform(),
159 host_impl->settings().can_use_lcd_text,
161 host_impl->settings().layer_transforms_should_scale_layer_contents,
174 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
175 LayerTreeImpl* active_tree = host_impl->active_tree();
183 host_impl);
146 DoCalcDrawPropertiesImpl(bool can_render_to_separate_surface, int max_texture_size, LayerTreeImpl* active_tree, LayerTreeHostImpl* host_impl) argument
[all...]
H A Dlayer_tree_host_perftest.cc63 virtual void BeginCommitOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
68 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
88 virtual void CleanUpAndEndTest(LayerTreeHostImpl* host_impl) { EndTest(); } argument
297 virtual void CleanUpAndEndTest(LayerTreeHostImpl* host_impl) OVERRIDE {
H A Dlayer_tree_impl_unittest.cc32 FakeLayerTreeHostImpl& host_impl() { return *host_impl_; } function in class:cc::__anon2833::LayerTreeImplTest
48 LayerImpl::Create(host_impl().active_tree(), 12345);
63 host_impl().SetViewportSize(root->bounds());
64 host_impl().active_tree()->SetRootLayer(root.Pass());
65 host_impl().UpdateNumChildrenAndDrawPropertiesForActiveTree();
74 host_impl().active_tree()->FindLayerThatIsHitByPoint(test_point);
79 host_impl().active_tree()->FindLayerThatIsHitByPoint(test_point);
85 host_impl().active_tree()->FindLayerThatIsHitByPoint(test_point);
91 host_impl().active_tree()->FindLayerThatIsHitByPoint(test_point);
98 LayerImpl::Create(host_impl()
[all...]
H A Dlayer_tree_host_unittest_animation.cc125 LayerTreeHostImpl* host_impl,
139 host_impl->active_tree()->root_layer()->layer_animation_controller();
191 LayerTreeHostImpl* host_impl,
196 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
202 LayerTreeHostImpl* host_impl,
229 LayerTreeHostImpl* host_impl,
231 bool have_animations = !host_impl->animation_registrar()->
273 LayerTreeHostImpl* host_impl,
276 EXPECT_TRUE(host_impl->CanDraw());
317 virtual void AnimateLayers(LayerTreeHostImpl* host_impl,
409 UnblockActivations(host_impl); variable
428 UnblockActivations(LayerTreeHostImpl* host_impl) argument
471 InitiateNextCommit(LayerTreeHostImpl* host_impl) argument
[all...]
H A Dtree_synchronizer_unittest.cc566 scoped_ptr<LayerTreeHostImpl> host_impl = local
605 scoped_ptr<LayerTreeHostImpl> host_impl = local
628 host_impl->active_tree());
635 host_impl->active_tree());
643 host_impl->active_tree());
650 host_impl->active_tree());
660 host_impl->active_tree());
667 host_impl->active_tree());
678 scoped_ptr<LayerTreeHostImpl> host_impl = local
705 host_impl
[all...]
H A Dlayer_tree_host_unittest_delegated.cc207 void ReturnUnusedResourcesFromParent(LayerTreeHostImpl* host_impl) { argument
240 host_impl->ReclaimResources(&ack);
332 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
333 if (host_impl->active_tree()->source_frame_number() < 1)
336 LayerImpl* root_impl = host_impl->active_tree()->root_layer();
341 host_impl->output_surface()->context_provider());
362 virtual void InitializedRendererOnThread(LayerTreeHostImpl* host_impl,
369 LayerImpl* root_impl = host_impl->active_tree()->root_layer();
417 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
418 if (host_impl
860 ReturnUnusedResourcesFromParent(host_impl); variable
932 ReturnUnusedResourcesFromParent(host_impl); variable
1032 ReturnUnusedResourcesFromParent(host_impl); variable
1151 ReturnUnusedResourcesFromParent(host_impl); variable
1455 ReturnUnusedResourcesFromParent(host_impl); variable
1504 ReceiveResourceOnThread(LayerTreeHostImpl* host_impl) argument
1786 ReturnUnusedResourcesFromParent(host_impl); variable
1861 ReturnUnusedResourcesFromParent(host_impl); variable
1930 ReturnUnusedResourcesFromParent(host_impl); variable
2017 ReturnUnusedResourcesFromParent(host_impl); variable
2109 ReturnUnusedResourcesFromParent(host_impl); variable
2191 ReturnUnusedResourcesFromParent(host_impl); variable
[all...]
H A Dlayer_tree_host.cc257 void LayerTreeHost::BeginCommitOnImplThread(LayerTreeHostImpl* host_impl) { argument
267 void LayerTreeHost::FinishCommitOnImplThread(LayerTreeHostImpl* host_impl) { argument
282 host_impl->memory_allocation_limit_bytes() &&
285 host_impl->SetNeedsCommit();
288 host_impl->set_max_memory_needed_bytes(
292 host_impl->resource_provider());
293 contents_texture_manager_->ReduceMemory(host_impl->resource_provider());
296 LayerTreeImpl* sync_tree = host_impl->sync_tree();
357 host_impl->SetUseGpuRasterization(UseGpuRasterization());
360 host_impl
427 scoped_ptr<LayerTreeHostImpl> host_impl = local
[all...]
H A Dthread_proxy.cc1215 LayerTreeHostImpl* host_impl = impl().layer_tree_host_impl.get(); local
1216 bool success = host_impl->InitializeRenderer(output_surface.Pass());
1220 host_impl->GetRendererCapabilities().MainThreadCapabilities();
H A Dlayer_tree_host_unittest.cc291 LayerTreeHostImpl* host_impl,
352 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
353 if (host_impl->active_tree()->source_frame_number() == 1)
410 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
411 if (host_impl->active_tree()->source_frame_number() == 1)
459 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
460 if (num_draws_ == 3 && host_impl->settings().impl_side_painting)
461 host_impl->SetNeedsRedrawRect(invalid_rect_);
465 LayerTreeHostImpl* host_impl,
495 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRID
2718 DeferredInitializeAndRedraw(LayerTreeHostImpl* host_impl) argument
2730 ReleaseGLAndRedraw(LayerTreeHostImpl* host_impl) argument
[all...]
/external/chromium_org/content/public/test/
H A Dtest_renderer_host.cc70 RenderWidgetHostImpl* host_impl = RenderWidgetHostImpl::From(rvh); local
71 return host_impl->has_touch_handler();
/external/chromium_org/content/browser/web_contents/
H A Dweb_contents_view_aura.cc1134 RenderWidgetHostImpl* host_impl = local
1137 if (!host_impl->is_hidden())

Completed in 4324 milliseconds