OLD | NEW |
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/parent_compositor_draw_constraints.h" | 8 #include "android_webview/browser/parent_compositor_draw_constraints.h" |
9 #include "android_webview/browser/shared_renderer_state.h" | 9 #include "android_webview/browser/shared_renderer_state.h" |
10 #include "base/memory/scoped_ptr.h" | 10 #include "base/memory/scoped_ptr.h" |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 float page_scale) OVERRIDE {} | 47 float page_scale) OVERRIDE {} |
48 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface( | 48 virtual scoped_ptr<cc::OutputSurface> CreateOutputSurface( |
49 bool fallback) OVERRIDE; | 49 bool fallback) OVERRIDE; |
50 virtual void DidInitializeOutputSurface() OVERRIDE {} | 50 virtual void DidInitializeOutputSurface() OVERRIDE {} |
51 virtual void WillCommit() OVERRIDE {} | 51 virtual void WillCommit() OVERRIDE {} |
52 virtual void DidCommit() OVERRIDE {} | 52 virtual void DidCommit() OVERRIDE {} |
53 virtual void DidCommitAndDrawFrame() OVERRIDE {} | 53 virtual void DidCommitAndDrawFrame() OVERRIDE {} |
54 virtual void DidCompleteSwapBuffers() OVERRIDE {} | 54 virtual void DidCompleteSwapBuffers() OVERRIDE {} |
55 | 55 |
56 // cc::LayerTreeHostSingleThreadClient overrides. | 56 // cc::LayerTreeHostSingleThreadClient overrides. |
57 virtual void ScheduleComposite() OVERRIDE {} | |
58 virtual void ScheduleAnimation() OVERRIDE {} | |
59 virtual void DidPostSwapBuffers() OVERRIDE {} | 57 virtual void DidPostSwapBuffers() OVERRIDE {} |
60 virtual void DidAbortSwapBuffers() OVERRIDE {} | 58 virtual void DidAbortSwapBuffers() OVERRIDE {} |
61 | 59 |
62 // cc::DelegatedFrameResourceCollectionClient overrides. | 60 // cc::DelegatedFrameResourceCollectionClient overrides. |
63 virtual void UnusedResourcesAreAvailable() OVERRIDE; | 61 virtual void UnusedResourcesAreAvailable() OVERRIDE; |
64 | 62 |
65 private: | 63 private: |
66 SharedRendererState* shared_renderer_state_; | 64 SharedRendererState* shared_renderer_state_; |
67 | 65 |
68 typedef void* EGLContext; | 66 typedef void* EGLContext; |
(...skipping 22 matching lines...) Expand all Loading... |
91 ParentOutputSurface* output_surface_; | 89 ParentOutputSurface* output_surface_; |
92 | 90 |
93 ParentCompositorDrawConstraints draw_constraints_; | 91 ParentCompositorDrawConstraints draw_constraints_; |
94 | 92 |
95 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer); | 93 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer); |
96 }; | 94 }; |
97 | 95 |
98 } // namespace android_webview | 96 } // namespace android_webview |
99 | 97 |
100 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_ | 98 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_ |
OLD | NEW |