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

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

Issue 423773002: Unified BeginFrame scheduling (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 2 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 | Annotate | Revision Log
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 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
185 base::TimeTicks last_vsync_; 189 base::TimeTicks last_vsync_;
186 190
187 base::WeakPtrFactory<CompositorImpl> weak_factory_; 191 base::WeakPtrFactory<CompositorImpl> weak_factory_;
188 192
189 DISALLOW_COPY_AND_ASSIGN(CompositorImpl); 193 DISALLOW_COPY_AND_ASSIGN(CompositorImpl);
190 }; 194 };
191 195
192 } // namespace content 196 } // namespace content
193 197
194 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_ 198 #endif // CONTENT_BROWSER_RENDERER_HOST_COMPOSITOR_IMPL_ANDROID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698