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

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

Issue 1001643004: Remove android webview rendering cruft (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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 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 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 void DidCompletePageScaleAnimation() override {} 62 void DidCompletePageScaleAnimation() override {}
63 63
64 // cc::LayerTreeHostSingleThreadClient overrides. 64 // cc::LayerTreeHostSingleThreadClient overrides.
65 void DidPostSwapBuffers() override {} 65 void DidPostSwapBuffers() override {}
66 void DidAbortSwapBuffers() override {} 66 void DidAbortSwapBuffers() override {}
67 67
68 // cc::DelegatedFrameResourceCollectionClient overrides. 68 // cc::DelegatedFrameResourceCollectionClient overrides.
69 void UnusedResourcesAreAvailable() override; 69 void UnusedResourcesAreAvailable() override;
70 70
71 private: 71 private:
72 void SetFrameData();
73
74 SharedRendererState* shared_renderer_state_; 72 SharedRendererState* shared_renderer_state_;
75 73
76 typedef void* EGLContext; 74 typedef void* EGLContext;
77 EGLContext last_egl_context_; 75 EGLContext last_egl_context_;
78 76
79 scoped_ptr<cc::CompositorFrame> committed_frame_; 77 scoped_ptr<cc::CompositorFrame> committed_frame_;
80 78
81 // Information about last delegated frame. 79 // Information about last delegated frame.
82 gfx::Size frame_size_; 80 gfx::Size frame_size_;
83 81
(...skipping 19 matching lines...) Expand all
103 ParentOutputSurface* output_surface_; 101 ParentOutputSurface* output_surface_;
104 102
105 ParentCompositorDrawConstraints draw_constraints_; 103 ParentCompositorDrawConstraints draw_constraints_;
106 104
107 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer); 105 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer);
108 }; 106 };
109 107
110 } // namespace android_webview 108 } // namespace android_webview
111 109
112 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_ 110 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698