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

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

Issue 1974683005: sync compositor: Async scroll offset IPC (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: early out 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 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 SyncCompositorCommonRendererParams* common_renderer_params); 104 SyncCompositorCommonRendererParams* common_renderer_params);
105 void ZeroSharedMemory(); 105 void ZeroSharedMemory();
106 void DemandDrawSw(const SyncCompositorCommonBrowserParams& common_params, 106 void DemandDrawSw(const SyncCompositorCommonBrowserParams& common_params,
107 const SyncCompositorDemandDrawSwParams& params, 107 const SyncCompositorDemandDrawSwParams& params,
108 IPC::Message* reply_message); 108 IPC::Message* reply_message);
109 void SynchronouslyZoomBy( 109 void SynchronouslyZoomBy(
110 const SyncCompositorCommonBrowserParams& common_params, 110 const SyncCompositorCommonBrowserParams& common_params,
111 float zoom_delta, 111 float zoom_delta,
112 const gfx::Point& anchor, 112 const gfx::Point& anchor,
113 SyncCompositorCommonRendererParams* common_renderer_params); 113 SyncCompositorCommonRendererParams* common_renderer_params);
114 void SetScroll(const gfx::ScrollOffset& total_scroll_offset);
114 115
115 void SwapBuffersHw(uint32_t output_surface_id, cc::CompositorFrame* frame); 116 void SwapBuffersHw(uint32_t output_surface_id, cc::CompositorFrame* frame);
116 void SendDemandDrawHwReply(cc::CompositorFrame* frame, 117 void SendDemandDrawHwReply(cc::CompositorFrame* frame,
117 uint32_t output_surface_id, 118 uint32_t output_surface_id,
118 IPC::Message* reply_message); 119 IPC::Message* reply_message);
119 void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params); 120 void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params);
120 void SwapBuffersSw(cc::CompositorFrame* frame); 121 void SwapBuffersSw(cc::CompositorFrame* frame);
121 void SendDemandDrawSwReply(bool success, 122 void SendDemandDrawSwReply(bool success,
122 cc::CompositorFrame* frame, 123 cc::CompositorFrame* frame,
123 IPC::Message* reply_message); 124 IPC::Message* reply_message);
(...skipping 27 matching lines...) Expand all
151 uint32_t need_invalidate_count_; 152 uint32_t need_invalidate_count_;
152 bool need_begin_frame_; 153 bool need_begin_frame_;
153 uint32_t did_activate_pending_tree_count_; 154 uint32_t did_activate_pending_tree_count_;
154 155
155 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy); 156 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy);
156 }; 157 };
157 158
158 } // namespace content 159 } // namespace content
159 160
160 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ 161 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_
OLDNEW
« no previous file with comments | « content/common/android/sync_compositor_messages.cc ('k') | content/renderer/android/synchronous_compositor_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698