| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 IPC::Message* reply_message); | 102 IPC::Message* reply_message); |
| 103 void SetSharedMemory( | 103 void SetSharedMemory( |
| 104 const SyncCompositorCommonBrowserParams& common_params, | 104 const SyncCompositorCommonBrowserParams& common_params, |
| 105 const SyncCompositorSetSharedMemoryParams& params, | 105 const SyncCompositorSetSharedMemoryParams& params, |
| 106 bool* success, | 106 bool* success, |
| 107 SyncCompositorCommonRendererParams* common_renderer_params); | 107 SyncCompositorCommonRendererParams* common_renderer_params); |
| 108 void ZeroSharedMemory(); | 108 void ZeroSharedMemory(); |
| 109 void DemandDrawSw(const SyncCompositorCommonBrowserParams& common_params, | 109 void DemandDrawSw(const SyncCompositorCommonBrowserParams& common_params, |
| 110 const SyncCompositorDemandDrawSwParams& params, | 110 const SyncCompositorDemandDrawSwParams& params, |
| 111 IPC::Message* reply_message); | 111 IPC::Message* reply_message); |
| 112 void SynchronousUpdateState( |
| 113 const SyncCompositorCommonBrowserParams& common_params, |
| 114 SyncCompositorCommonRendererParams* common_renderer_params); |
| 112 | 115 |
| 113 void SwapBuffersHw(uint32_t output_surface_id, cc::CompositorFrame* frame); | 116 void SwapBuffersHw(uint32_t output_surface_id, cc::CompositorFrame* frame); |
| 114 void SendDemandDrawHwReply(cc::CompositorFrame* frame, | 117 void SendDemandDrawHwReply(cc::CompositorFrame* frame, |
| 115 uint32_t output_surface_id, | 118 uint32_t output_surface_id, |
| 116 IPC::Message* reply_message); | 119 IPC::Message* reply_message); |
| 117 void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params); | 120 void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params); |
| 118 void SwapBuffersSw(cc::CompositorFrame* frame); | 121 void SwapBuffersSw(cc::CompositorFrame* frame); |
| 119 void SendDemandDrawSwReply(bool success, | 122 void SendDemandDrawSwReply(bool success, |
| 120 cc::CompositorFrame* frame, | 123 cc::CompositorFrame* frame, |
| 121 IPC::Message* reply_message); | 124 IPC::Message* reply_message); |
| (...skipping 28 matching lines...) Expand all Loading... |
| 150 uint32_t need_invalidate_count_; | 153 uint32_t need_invalidate_count_; |
| 151 bool need_begin_frame_; | 154 bool need_begin_frame_; |
| 152 uint32_t did_activate_pending_tree_count_; | 155 uint32_t did_activate_pending_tree_count_; |
| 153 | 156 |
| 154 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy); | 157 DISALLOW_COPY_AND_ASSIGN(SynchronousCompositorProxy); |
| 155 }; | 158 }; |
| 156 | 159 |
| 157 } // namespace content | 160 } // namespace content |
| 158 | 161 |
| 159 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ | 162 #endif // CONTENT_RENDERER_ANDROID_SYNCHRONOUS_COMPOSITOR_PROXY_H_ |
| OLD | NEW |