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

Side by Side Diff: content/renderer/android/synchronous_compositor_proxy.h

Issue 1970863002: sync compositor: Memory policy async IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: drop os id Created 4 years, 7 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 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ 5 #ifndef CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_
6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ 6 #define CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_
7 7
8 #include <stddef.h> 8 #include <stddef.h>
9 #include <stdint.h> 9 #include <stdint.h>
10 10
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
130 SynchronousCompositorExternalBeginFrameSource* const begin_frame_source_; 130 SynchronousCompositorExternalBeginFrameSource* const begin_frame_source_;
131 ui::SynchronousInputHandlerProxy* const input_handler_proxy_; 131 ui::SynchronousInputHandlerProxy* const input_handler_proxy_;
132 InputHandlerManagerClient::Handler* const input_handler_; 132 InputHandlerManagerClient::Handler* const input_handler_;
133 const bool use_in_process_zero_copy_software_draw_; 133 const bool use_in_process_zero_copy_software_draw_;
134 SynchronousCompositorOutputSurface* output_surface_; 134 SynchronousCompositorOutputSurface* output_surface_;
135 bool inside_receive_; 135 bool inside_receive_;
136 IPC::Message* hardware_draw_reply_; 136 IPC::Message* hardware_draw_reply_;
137 IPC::Message* software_draw_reply_; 137 IPC::Message* software_draw_reply_;
138 138
139 // From browser. 139 // From browser.
140 size_t bytes_limit_;
141 std::unique_ptr<SharedMemoryWithSize> software_draw_shm_; 140 std::unique_ptr<SharedMemoryWithSize> software_draw_shm_;
142 141
143 // To browser. 142 // To browser.
144 mutable uint32_t version_; // Mustable so PopulateCommonParams can be const. 143 mutable uint32_t version_; // Mustable so PopulateCommonParams can be const.
145 gfx::ScrollOffset total_scroll_offset_; // Modified by both. 144 gfx::ScrollOffset total_scroll_offset_; // Modified by both.
146 gfx::ScrollOffset max_scroll_offset_; 145 gfx::ScrollOffset max_scroll_offset_;
147 gfx::SizeF scrollable_size_; 146 gfx::SizeF scrollable_size_;
148 float page_scale_factor_; 147 float page_scale_factor_;
149 float min_page_scale_factor_; 148 float min_page_scale_factor_;
150 float max_page_scale_factor_; 149 float max_page_scale_factor_;
151 bool need_animate_scroll_; 150 bool need_animate_scroll_;
152 uint32_t need_invalidate_count_; 151 uint32_t need_invalidate_count_;
153 bool need_begin_frame_; 152 bool need_begin_frame_;
154 uint32_t did_activate_pending_tree_count_; 153 uint32_t did_activate_pending_tree_count_;
155 154
156 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy); 155 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy);
157 }; 156 };
158 157
159 } // namespace content 158 } // namespace content
160 159
161 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ 160 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698