| OLD | NEW |
| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 const gfx::Point& anchor, | 88 const gfx::Point& anchor, |
| 89 SyncCompositorCommonRendererParams* common_renderer_params); | 89 SyncCompositorCommonRendererParams* common_renderer_params); |
| 90 void SetScroll(const gfx::ScrollOffset& total_scroll_offset); | 90 void SetScroll(const gfx::ScrollOffset& total_scroll_offset); |
| 91 | 91 |
| 92 void SubmitCompositorFrameHwAsync(uint32_t compositor_frame_sink_id, | 92 void SubmitCompositorFrameHwAsync(uint32_t compositor_frame_sink_id, |
| 93 cc::CompositorFrame frame); | 93 cc::CompositorFrame frame); |
| 94 void SubmitCompositorFrameHw(uint32_t compositor_frame_sink_id, | 94 void SubmitCompositorFrameHw(uint32_t compositor_frame_sink_id, |
| 95 cc::CompositorFrame frame); | 95 cc::CompositorFrame frame); |
| 96 void SendDemandDrawHwReply(cc::CompositorFrame frame, | 96 void SendDemandDrawHwReply(cc::CompositorFrame frame, |
| 97 uint32_t compositor_frame_sink_id, | 97 uint32_t compositor_frame_sink_id, |
| 98 bool has_swapped, |
| 98 IPC::Message* reply_message); | 99 IPC::Message* reply_message); |
| 99 void SendDemandDrawHwReplyAsync(cc::CompositorFrame frame, | 100 void SendDemandDrawHwReplyAsync(cc::CompositorFrame frame, |
| 100 uint32_t compositor_frame_sink_id); | 101 uint32_t compositor_frame_sink_id, |
| 102 bool has_swapped); |
| 101 void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params); | 103 void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params); |
| 102 void SubmitCompositorFrameSw(cc::CompositorFrame frame); | 104 void SubmitCompositorFrameSw(cc::CompositorFrame frame); |
| 103 void SendDemandDrawSwReply(bool success, | 105 void SendDemandDrawSwReply(bool success, |
| 104 cc::CompositorFrame frame, | 106 cc::CompositorFrame frame, |
| 105 IPC::Message* reply_message); | 107 IPC::Message* reply_message); |
| 106 void SendAsyncRendererStateIfNeeded(); | 108 void SendAsyncRendererStateIfNeeded(); |
| 107 void DoDemandDrawHw(const SyncCompositorDemandDrawHwParams& params, | 109 void DoDemandDrawHw(const SyncCompositorDemandDrawHwParams& params, |
| 108 IPC::Message* reply_message); | 110 IPC::Message* reply_message); |
| 109 | 111 |
| 110 const int routing_id_; | 112 const int routing_id_; |
| (...skipping 20 matching lines...) Expand all Loading... |
| 131 bool need_animate_scroll_; | 133 bool need_animate_scroll_; |
| 132 uint32_t need_invalidate_count_; | 134 uint32_t need_invalidate_count_; |
| 133 uint32_t did_activate_pending_tree_count_; | 135 uint32_t did_activate_pending_tree_count_; |
| 134 | 136 |
| 135 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy); | 137 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy); |
| 136 }; | 138 }; |
| 137 | 139 |
| 138 } // namespace content | 140 } // namespace content |
| 139 | 141 |
| 140 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ | 142 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ |
| OLD | NEW |