Home | History | Annotate | Download | only in trees

Lines Matching refs:host_impl

291       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) OVERRIDE {
507 if (host_impl->settings().impl_side_painting)
508 host_impl->BlockNotifyReadyToActivateForTesting(true);
513 host_impl->BlockNotifyReadyToActivateForTesting(false);
563 LayerTreeHostImpl* host_impl,
577 switch (host_impl->active_tree()->source_frame_number()) {
654 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
655 LayerImpl* root = host_impl->active_tree()->root_layer();
659 switch (host_impl->active_tree()->source_frame_number()) {
814 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
1525 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
1526 Renderer* renderer = host_impl->renderer();
1527 RenderPassId surface1_render_pass_id = host_impl->active_tree()
1532 RenderPassId surface2_render_pass_id = host_impl->active_tree()
1539 switch (host_impl->active_tree()->source_frame_number()) {
1549 host_impl->SetMemoryPolicy(ManagedMemoryPolicy(100 * 100 * 4 * 2));
2070 virtual void DidSetVisibleOnImplTree(LayerTreeHostImpl* host_impl,
2084 EXPECT_TRUE(host_impl->active_tree()->ContentsTexturesPurged());
2089 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
2099 host_impl->SetMemoryPolicy(
2242 LayerTreeHostImpl* host_impl,
2267 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
2303 virtual void BeginMainFrameAbortedOnThread(LayerTreeHostImpl* host_impl,
2307 host_impl->SetNeedsCommit();
2310 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
2314 host_impl->SetNeedsCommit();
2370 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
2422 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
2425 LayerImpl* root_layer = host_impl->active_tree()->root_layer();
2428 LayerImpl* root_layer = host_impl->active_tree()->root_layer();
2506 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
2507 EXPECT_EQ(0u, host_impl->resource_provider()->num_resources());
2545 LayerTreeHostImpl* host_impl,
2549 ResourceProvider* resource_provider = host_impl->resource_provider();
2579 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
2682 virtual void DrawLayersOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
2683 ASSERT_TRUE(host_impl->RootLayer());
2685 static_cast<FakePictureLayerImpl*>(host_impl->RootLayer());
2691 host_impl->active_tree()->source_frame_number())
2695 host_impl->active_tree()->source_frame_number();
2704 base::Unretained(host_impl)));
2711 base::Unretained(host_impl)));
2718 void DeferredInitializeAndRedraw(LayerTreeHostImpl* host_impl) {
2722 static_cast<FakeOutputSurface*>(host_impl->output_surface());
2730 void ReleaseGLAndRedraw(LayerTreeHostImpl* host_impl) {
2734 static_cast<FakeOutputSurface*>(host_impl->output_surface())->ReleaseGL();
2738 virtual void SwapBuffersOnThread(LayerTreeHostImpl* host_impl,
2753 host_impl->ReclaimResources(&ack);
3164 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
3194 host_impl->RootLayer())->push_properties_count());
3303 host_impl->RootLayer());
3884 LayerTreeHostImpl* host_impl,
3912 host_impl, frame_data, draw_result);
4481 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
4550 virtual void BeginMainFrameAbortedOnThread(LayerTreeHostImpl* host_impl,
4591 virtual void BeginMainFrameAbortedOnThread(LayerTreeHostImpl* host_impl,
4721 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
4722 host_impl->EvictAllUIResources();
4727 EXPECT_TRUE(host_impl->active_tree()->RequiresHighResToDraw());
4790 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
4791 EXPECT_FALSE(host_impl->pending_tree()->use_gpu_rasterization());
4792 EXPECT_FALSE(host_impl->use_gpu_rasterization());
4795 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
4796 EXPECT_FALSE(host_impl->active_tree()->use_gpu_rasterization());
4797 EXPECT_FALSE(host_impl->use_gpu_rasterization());
4855 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
4856 EXPECT_FALSE(host_impl->pending_tree()->use_gpu_rasterization());
4857 EXPECT_FALSE(host_impl->use_gpu_rasterization());
4860 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
4861 EXPECT_FALSE(host_impl->active_tree()->use_gpu_rasterization());
4862 EXPECT_FALSE(host_impl->use_gpu_rasterization());
4920 virtual void CommitCompleteOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
4921 EXPECT_TRUE(host_impl->pending_tree()->use_gpu_rasterization());
4922 EXPECT_TRUE(host_impl->use_gpu_rasterization());
4925 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
4926 EXPECT_TRUE(host_impl->active_tree()->use_gpu_rasterization());
4927 EXPECT_TRUE(host_impl->use_gpu_rasterization());
5045 virtual void BeginCommitOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {
5047 host_impl->BlockNotifyReadyToActivateForTesting(true);
5052 virtual void DidSetVisibleOnImplTree(LayerTreeHostImpl* host_impl,
5060 EXPECT_TRUE(host_impl->active_tree()->RequiresHighResToDraw());
5065 virtual void DidActivateTreeOnThread(LayerTreeHostImpl* host_impl) OVERRIDE {