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

Unified Diff: content/renderer/android/synchronous_compositor_proxy.h

Issue 1553723003: sync compsitor: Send software reply in swap (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: review Created 5 years 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/renderer/android/synchronous_compositor_proxy.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 a97ff01851c28dff5887533daf7225134e2ba579..aca6819b4974f7081c1dc95c2f7787b74f88190c 100644
--- a/content/renderer/android/synchronous_compositor_proxy.h
+++ b/content/renderer/android/synchronous_compositor_proxy.h
@@ -104,13 +104,16 @@ class SynchronousCompositorProxy
void ZeroSharedMemory();
void DemandDrawSw(const SyncCompositorCommonBrowserParams& common_params,
const SyncCompositorDemandDrawSwParams& params,
- bool* result,
- SyncCompositorCommonRendererParams* common_renderer_params,
- cc::CompositorFrame* frame);
+ IPC::Message* reply_message);
void SwapBuffersHw(cc::CompositorFrame* frame);
void SendDemandDrawHwReply(cc::CompositorFrame* frame,
IPC::Message* reply_message);
+ void DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params);
+ void SwapBuffersSw(cc::CompositorFrame* frame);
+ void SendDemandDrawSwReply(bool success,
+ cc::CompositorFrame* frame,
+ IPC::Message* reply_message);
void DidActivatePendingTree();
void DeliverMessages();
void SendAsyncRendererStateIfNeeded();
@@ -123,7 +126,7 @@ class SynchronousCompositorProxy
InputHandlerManagerClient::Handler* const input_handler_;
bool inside_receive_;
IPC::Message* hardware_draw_reply_;
- scoped_ptr<cc::CompositorFrame> software_frame_holder_;
+ IPC::Message* software_draw_reply_;
// From browser.
size_t bytes_limit_;
« no previous file with comments | « no previous file | content/renderer/android/synchronous_compositor_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698