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

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

Issue 1769913003: sync compositor: Add output_surface_id (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nit in test Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
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 534e7db6871c5bcf2690e0e90dc8928c1ab4d934..a07e7d814a2066d2dd2d2a94b5e4b2eca94544ac 100644
--- a/content/renderer/android/synchronous_compositor_proxy.h
+++ b/content/renderer/android/synchronous_compositor_proxy.h
@@ -72,7 +72,8 @@ class SynchronousCompositorProxy
// SynchronousCompositorOutputSurfaceClient overrides.
void Invalidate() override;
- void SwapBuffers(cc::CompositorFrame* frame) override;
+ void SwapBuffers(uint32_t output_surface_id,
+ cc::CompositorFrame* frame) override;
void OnMessageReceived(const IPC::Message& message);
bool Send(IPC::Message* message);
@@ -109,8 +110,9 @@ class SynchronousCompositorProxy
const SyncCompositorDemandDrawSwParams& params,
IPC::Message* reply_message);
- void SwapBuffersHw(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 DoDemandDrawSw(const SyncCompositorDemandDrawSwParams& params);
void SwapBuffersSw(cc::CompositorFrame* frame);

Powered by Google App Engine
This is Rietveld 408576698