| OLD | NEW |
| 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 | 9 |
| 10 #include "base/android/jni_android.h" | 10 #include "base/android/jni_android.h" |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 #include "base/threading/simple_thread.h" | 22 #include "base/threading/simple_thread.h" |
| 23 #include "base/threading/thread.h" | 23 #include "base/threading/thread.h" |
| 24 #include "base/threading/thread_checker.h" | 24 #include "base/threading/thread_checker.h" |
| 25 #include "cc/base/switches.h" | 25 #include "cc/base/switches.h" |
| 26 #include "cc/input/input_handler.h" | 26 #include "cc/input/input_handler.h" |
| 27 #include "cc/layers/layer.h" | 27 #include "cc/layers/layer.h" |
| 28 #include "cc/output/compositor_frame.h" | 28 #include "cc/output/compositor_frame.h" |
| 29 #include "cc/output/context_provider.h" | 29 #include "cc/output/context_provider.h" |
| 30 #include "cc/output/output_surface.h" | 30 #include "cc/output/output_surface.h" |
| 31 #include "cc/output/output_surface_client.h" | 31 #include "cc/output/output_surface_client.h" |
| 32 #include "cc/resources/task_graph_runner.h" | 32 #include "cc/raster/task_graph_runner.h" |
| 33 #include "cc/scheduler/begin_frame_source.h" | 33 #include "cc/scheduler/begin_frame_source.h" |
| 34 #include "cc/surfaces/onscreen_display_client.h" | 34 #include "cc/surfaces/onscreen_display_client.h" |
| 35 #include "cc/surfaces/surface_display_output_surface.h" | 35 #include "cc/surfaces/surface_display_output_surface.h" |
| 36 #include "cc/surfaces/surface_id_allocator.h" | 36 #include "cc/surfaces/surface_id_allocator.h" |
| 37 #include "cc/surfaces/surface_manager.h" | 37 #include "cc/surfaces/surface_manager.h" |
| 38 #include "cc/trees/layer_tree_host.h" | 38 #include "cc/trees/layer_tree_host.h" |
| 39 #include "content/browser/android/child_process_launcher_android.h" | 39 #include "content/browser/android/child_process_launcher_android.h" |
| 40 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" | 40 #include "content/browser/gpu/browser_gpu_channel_host_factory.h" |
| 41 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" | 41 #include "content/browser/gpu/browser_gpu_memory_buffer_manager.h" |
| 42 #include "content/browser/gpu/compositor_util.h" | 42 #include "content/browser/gpu/compositor_util.h" |
| (...skipping 690 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 733 | 733 |
| 734 void CompositorImpl::SetNeedsAnimate() { | 734 void CompositorImpl::SetNeedsAnimate() { |
| 735 needs_animate_ = true; | 735 needs_animate_ = true; |
| 736 if (!host_) | 736 if (!host_) |
| 737 return; | 737 return; |
| 738 | 738 |
| 739 host_->SetNeedsAnimate(); | 739 host_->SetNeedsAnimate(); |
| 740 } | 740 } |
| 741 | 741 |
| 742 } // namespace content | 742 } // namespace content |
| OLD | NEW |