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

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

Issue 914103004: (NOT FOR COMMIT) Remove BVR cruft (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
61 void DidCompletePageScaleAnimation() override {} 61 void DidCompletePageScaleAnimation() override {}
62 62
63 // cc::LayerTreeHostSingleThreadClient overrides. 63 // cc::LayerTreeHostSingleThreadClient overrides.
64 void DidPostSwapBuffers() override {} 64 void DidPostSwapBuffers() override {}
65 void DidAbortSwapBuffers() override {} 65 void DidAbortSwapBuffers() override {}
66 66
67 // cc::DelegatedFrameResourceCollectionClient overrides. 67 // cc::DelegatedFrameResourceCollectionClient overrides.
68 void UnusedResourcesAreAvailable() override; 68 void UnusedResourcesAreAvailable() override;
69 69
70 private: 70 private:
71 void SetFrameData();
72
73 SharedRendererState* shared_renderer_state_; 71 SharedRendererState* shared_renderer_state_;
74 72
75 typedef void* EGLContext; 73 typedef void* EGLContext;
76 EGLContext last_egl_context_; 74 EGLContext last_egl_context_;
77 75
78 scoped_ptr<cc::CompositorFrame> committed_frame_; 76 scoped_ptr<cc::CompositorFrame> committed_frame_;
79 77
80 // Information about last delegated frame. 78 // Information about last delegated frame.
81 gfx::Size frame_size_; 79 gfx::Size frame_size_;
82 80
(...skipping 19 matching lines...) Expand all
102 ParentOutputSurface* output_surface_; 100 ParentOutputSurface* output_surface_;
103 101
104 ParentCompositorDrawConstraints draw_constraints_; 102 ParentCompositorDrawConstraints draw_constraints_;
105 103
106 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer); 104 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer);
107 }; 105 };
108 106
109 } // namespace android_webview 107 } // namespace android_webview
110 108
111 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_ 109 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_
OLDNEW
« no previous file with comments | « android_webview/browser/browser_view_renderer.cc ('k') | android_webview/browser/hardware_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698