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

Side by Side Diff: android_webview/browser/hardware_renderer.h

Issue 134623005: Make SingleThreadProxy a SchedulerClient (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Asynchronous BeginMainFrame Created 6 years, 4 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 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_ 5 #ifndef ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_
6 #define ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_ 6 #define ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_
7 7
8 #include "android_webview/browser/shared_renderer_state.h" 8 #include "android_webview/browser/shared_renderer_state.h"
9 #include "base/memory/scoped_ptr.h" 9 #include "base/memory/scoped_ptr.h"
10 #include "cc/layers/delegated_frame_resource_collection.h" 10 #include "cc/layers/delegated_frame_resource_collection.h"
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
46 float page_scale) OVERRIDE {} 46 float page_scale) OVERRIDE {}
47 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface( 47 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface(
48 bool fallback) OVERRIDE; 48 bool fallback) OVERRIDE;
49 virtual void DidInitializeOutputSurface() OVERRIDE {} 49 virtual void DidInitializeOutputSurface() OVERRIDE {}
50 virtual void WillCommit() OVERRIDE {} 50 virtual void WillCommit() OVERRIDE {}
51 virtual void DidCommit() OVERRIDE {} 51 virtual void DidCommit() OVERRIDE {}
52 virtual void DidCommitAndDrawFrame() OVERRIDE {} 52 virtual void DidCommitAndDrawFrame() OVERRIDE {}
53 virtual void DidCompleteSwapBuffers() OVERRIDE {} 53 virtual void DidCompleteSwapBuffers() OVERRIDE {}
54 54
55 // cc::LayerTreeHostSingleThreadClient overrides. 55 // cc::LayerTreeHostSingleThreadClient overrides.
56 virtual void ScheduleComposite() OVERRIDE {}
57 virtual void ScheduleAnimation() OVERRIDE {}
58 virtual void DidPostSwapBuffers() OVERRIDE {} 56 virtual void DidPostSwapBuffers() OVERRIDE {}
59 virtual void DidAbortSwapBuffers() OVERRIDE {} 57 virtual void DidAbortSwapBuffers() OVERRIDE {}
60 58
61 // cc::DelegatedFrameResourceCollectionClient overrides. 59 // cc::DelegatedFrameResourceCollectionClient overrides.
62 virtual void UnusedResourcesAreAvailable() OVERRIDE; 60 virtual void UnusedResourcesAreAvailable() OVERRIDE;
63 61
64 private: 62 private:
65 SharedRendererState* shared_renderer_state_; 63 SharedRendererState* shared_renderer_state_;
66 64
67 typedef void* EGLContext; 65 typedef void* EGLContext;
(...skipping 20 matching lines...) Expand all
88 86
89 // This is owned indirectly by |layer_tree_host_|. 87 // This is owned indirectly by |layer_tree_host_|.
90 ParentOutputSurface* output_surface_; 88 ParentOutputSurface* output_surface_;
91 89
92 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer); 90 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer);
93 }; 91 };
94 92
95 } // namespace android_webview 93 } // namespace android_webview
96 94
97 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_ 95 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/hardware_renderer.cc » ('j') | cc/trees/single_thread_proxy.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698