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

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

Issue 548153004: Unified BeginFrame scheduling (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git cl format Created 6 years, 3 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 #ifndef CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 5 #ifndef CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 6 #define CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
7 7
8 #include "base/basictypes.h" 8 #include "base/basictypes.h"
9 #include "base/cancelable_callback.h" 9 #include "base/cancelable_callback.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
11 #include "base/memory/scoped_ptr.h" 11 #include "base/memory/scoped_ptr.h"
12 #include "base/memory/weak_ptr.h" 12 #include "base/memory/weak_ptr.h"
13 #include "base/observer_list.h"
14 #include "cc/output/begin_frame_args.h"
15 #include "cc/resources/ui_resource_client.h"
13 #include "cc/trees/layer_tree_host_client.h" 16 #include "cc/trees/layer_tree_host_client.h"
14 #include "cc/trees/layer_tree_host_single_thread_client.h" 17 #include "cc/trees/layer_tree_host_single_thread_client.h"
15 #include "content/browser/android/ui_resource_provider_impl.h" 18 #include "content/browser/android/ui_resource_provider_impl.h"
16 #include "content/browser/renderer_host/image_transport_factory_android.h" 19 #include "content/browser/renderer_host/image_transport_factory_android.h"
17 #include "content/common/content_export.h" 20 #include "content/common/content_export.h"
18 #include "content/common/gpu/client/context_provider_command_buffer.h" 21 #include "content/common/gpu/client/context_provider_command_buffer.h"
19 #include "content/public/browser/android/compositor.h" 22 #include "content/public/browser/android/compositor.h"
20 #include "gpu/command_buffer/common/capabilities.h" 23 #include "gpu/command_buffer/common/capabilities.h"
21 #include "third_party/khronos/GLES2/gl2.h" 24 #include "third_party/khronos/GLES2/gl2.h"
22 #include "ui/base/android/system_ui_resource_manager.h" 25 #include "ui/base/android/system_ui_resource_manager.h"
23 #include "ui/base/android/window_android_compositor.h" 26 #include "ui/base/android/window_android_compositor.h"
27 #include "ui/base/compositor/compositor_begin_frame_observer.h"
24 28
25 class SkBitmap; 29 class SkBitmap;
26 struct ANativeWindow; 30 struct ANativeWindow;
27 31
28 namespace cc { 32 namespace cc {
29 class Layer; 33 class Layer;
30 class LayerTreeHost; 34 class LayerTreeHost;
31 } 35 }
32 36
33 namespace content { 37 namespace content {
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
183 base::TimeTicks last_vsync_; 187 base::TimeTicks last_vsync_;
184 188
185 base::WeakPtrFactory<CompositorImpl> weak_factory_; 189 base::WeakPtrFactory<CompositorImpl> weak_factory_;
186 190
187 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); 191 DISALLOW_COPY_AND_ASSIGN(CompositorImpl);
188 }; 192 };
189 193
190 } // namespace content 194 } // namespace content
191 195
192 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 196 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698