Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(29)

Side by Side Diff: content/browser/renderer_host/compositor_impl_android.cc

Issue 1905863002: Revert of Introduce components/display_compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "content/browser/renderer_host/compositor_impl_android.h" 5 #include "content/browser/renderer_host/compositor_impl_android.h"
6 6
7 #include <android/bitmap.h> 7 #include <android/bitmap.h>
8 #include <android/native_window_jni.h> 8 #include <android/native_window_jni.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 25 matching lines...) Expand all
36 #include "cc/output/output_surface.h" 36 #include "cc/output/output_surface.h"
37 #include "cc/output/output_surface_client.h" 37 #include "cc/output/output_surface_client.h"
38 #include "cc/raster/single_thread_task_graph_runner.h" 38 #include "cc/raster/single_thread_task_graph_runner.h"
39 #include "cc/scheduler/begin_frame_source.h" 39 #include "cc/scheduler/begin_frame_source.h"
40 #include "cc/surfaces/onscreen_display_client.h" 40 #include "cc/surfaces/onscreen_display_client.h"
41 #include "cc/surfaces/surface_display_output_surface.h" 41 #include "cc/surfaces/surface_display_output_surface.h"
42 #include "cc/surfaces/surface_id_allocator.h" 42 #include "cc/surfaces/surface_id_allocator.h"
43 #include "cc/surfaces/surface_manager.h" 43 #include "cc/surfaces/surface_manager.h"
44 #include "cc/trees/layer_tree_host.h" 44 #include "cc/trees/layer_tree_host.h"
45 #include "cc/trees/layer_tree_settings.h" 45 #include "cc/trees/layer_tree_settings.h"
46 #include "components/display_compositor/gl_helper.h"
47 #include "content/browser/android/child_process_launcher_android.h" 46 #include "content/browser/android/child_process_launcher_android.h"
48 #include "content/browser/compositor/browser_compositor_overlay_candidate_valida tor_android.h" 47 #include "content/browser/compositor/browser_compositor_overlay_candidate_valida tor_android.h"
48 #include "content/browser/compositor/gl_helper.h"
49 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" 49 #include "content/browser/gpu/browser_gpu_channel_host_factory.h"
50 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" 50 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h"
51 #include "content/browser/gpu/compositor_util.h" 51 #include "content/browser/gpu/compositor_util.h"
52 #include "content/browser/gpu/gpu_surface_tracker.h" 52 #include "content/browser/gpu/gpu_surface_tracker.h"
53 #include "content/browser/renderer_host/render_widget_host_impl.h" 53 #include "content/browser/renderer_host/render_widget_host_impl.h"
54 #include "content/common/gpu/client/context_provider_command_buffer.h" 54 #include "content/common/gpu/client/context_provider_command_buffer.h"
55 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h" 55 #include "content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h"
56 #include "content/common/gpu_process_launch_causes.h" 56 #include "content/common/gpu_process_launch_causes.h"
57 #include "content/common/host_shared_bitmap_manager.h" 57 #include "content/common/host_shared_bitmap_manager.h"
58 #include "content/public/browser/android/compositor.h" 58 #include "content/public/browser/android/compositor.h"
(...skipping 597 matching lines...) Expand 10 before | Expand all | Expand 10 after
656 656
657 void CompositorImpl::SetNeedsAnimate() { 657 void CompositorImpl::SetNeedsAnimate() {
658 needs_animate_ = true; 658 needs_animate_ = true;
659 if (!host_->visible()) 659 if (!host_->visible())
660 return; 660 return;
661 661
662 host_->SetNeedsAnimate(); 662 host_->SetNeedsAnimate();
663 } 663 }
664 664
665 } // namespace content 665 } // namespace content
OLDNEW
« no previous file with comments | « content/browser/renderer_host/DEPS ('k') | content/browser/renderer_host/delegated_frame_host.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698