Index: content/renderer/android/synchronous_compositor_proxy.h |
diff --git a/content/renderer/android/synchronous_compositor_proxy.h b/content/renderer/android/synchronous_compositor_proxy.h |
index 07d3d702c8c3e1f0e28a4be41c50ce7dcd4d0db7..6092a7c32a9cc91e02db293fcbbc614ee28d0670 100644 |
--- a/content/renderer/android/synchronous_compositor_proxy.h |
+++ b/content/renderer/android/synchronous_compositor_proxy.h |
@@ -73,6 +73,7 @@ class SynchronousCompositorProxy |
// IPC handlers. |
void OnComputeScroll(base::TimeTicks animation_time); |
+ void DemandDrawHw_Async(const SyncCompositorDemandDrawHwParams& params); |
boliu
2016/08/11 19:23:40
drop the underscore on all these new methods
ojars
2016/08/23 02:15:42
Done.
|
void DemandDrawHw(const SyncCompositorDemandDrawHwParams& params, |
IPC::Message* reply_message); |
void SetSharedMemory( |
@@ -88,10 +89,14 @@ class SynchronousCompositorProxy |
SyncCompositorCommonRendererParams* common_renderer_params); |
void SetScroll(const gfx::ScrollOffset& total_scroll_offset); |
+ void SwapBuffersHw_Async(uint32_t output_surface_id, |
+ cc::CompositorFrame frame); |
void SwapBuffersHw(uint32_t output_surface_id, cc::CompositorFrame frame); |
void SendDemandDrawHwReply(cc::CompositorFrame frame, |
uint32_t output_surface_id, |
IPC::Message* reply_message); |
+ void SendDemandDrawHwReply_Async(cc::CompositorFrame frame, |
+ uint32_t output_surface_id); |
void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params); |
void SwapBuffersSw(cc::CompositorFrame frame); |
void SendDemandDrawSwReply(bool success, |
@@ -107,6 +112,7 @@ class SynchronousCompositorProxy |
bool inside_receive_; |
IPC::Message* hardware_draw_reply_; |
IPC::Message* software_draw_reply_; |
+ bool hardware_draw_reply_async_; |
// From browser. |
std::unique_ptr<SharedMemoryWithSize> software_draw_shm_; |