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

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

Issue 2661543002: Rename LocalFrameId to LocalSurfaceId (Closed)
Patch Set: c Created 3 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
« no previous file with comments | « no previous file | android_webview/browser/hardware_renderer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 <memory> 8 #include <memory>
9 9
10 #include "android_webview/browser/child_frame.h" 10 #include "android_webview/browser/child_frame.h"
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 76
77 // This holds the last ChildFrame received. Contains the frame info of the 77 // This holds the last ChildFrame received. Contains the frame info of the
78 // last frame. The |frame| member is always null since frame has already 78 // last frame. The |frame| member is always null since frame has already
79 // been submitted. 79 // been submitted.
80 std::unique_ptr<ChildFrame> child_frame_; 80 std::unique_ptr<ChildFrame> child_frame_;
81 81
82 const scoped_refptr<SurfacesInstance> surfaces_; 82 const scoped_refptr<SurfacesInstance> surfaces_;
83 cc::FrameSinkId frame_sink_id_; 83 cc::FrameSinkId frame_sink_id_;
84 const std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_; 84 const std::unique_ptr<cc::SurfaceIdAllocator> surface_id_allocator_;
85 std::unique_ptr<cc::SurfaceFactory> surface_factory_; 85 std::unique_ptr<cc::SurfaceFactory> surface_factory_;
86 cc::LocalFrameId child_id_; 86 cc::LocalSurfaceId child_id_;
87 CompositorID compositor_id_; 87 CompositorID compositor_id_;
88 // HardwareRenderer guarantees resources are returned in the order of 88 // HardwareRenderer guarantees resources are returned in the order of
89 // compositor_frame_sink_id, and resources for old output surfaces are 89 // compositor_frame_sink_id, and resources for old output surfaces are
90 // dropped. 90 // dropped.
91 uint32_t last_committed_compositor_frame_sink_id_; 91 uint32_t last_committed_compositor_frame_sink_id_;
92 uint32_t last_submitted_compositor_frame_sink_id_; 92 uint32_t last_submitted_compositor_frame_sink_id_;
93 93
94 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer); 94 DISALLOW_COPY_AND_ASSIGN(HardwareRenderer);
95 }; 95 };
96 96
97 } // namespace android_webview 97 } // namespace android_webview
98 98
99 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_ 99 #endif // ANDROID_WEBVIEW_BROWSER_HARDWARE_RENDERER_H_
OLDNEW
« no previous file with comments | « no previous file | android_webview/browser/hardware_renderer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698