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

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

Issue 2160743002: sync compositor: Reduce begin frame sync IPC overhead (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: bad_message, reserve Created 4 years, 5 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_filter.h
diff --git a/content/renderer/android/synchronous_compositor_filter.h b/content/renderer/android/synchronous_compositor_filter.h
index c22e094f6f27711c490b306ffb58cb863d6b7ec8..0754c271497e6a17566592a1be11361bc319e90d 100644
--- a/content/renderer/android/synchronous_compositor_filter.h
+++ b/content/renderer/android/synchronous_compositor_filter.h
@@ -8,6 +8,7 @@
#include <stdint.h>
#include <memory>
+#include <vector>
#include "base/containers/scoped_ptr_hash_map.h"
#include "base/macros.h"
@@ -24,6 +25,7 @@ class SynchronousInputHandlerProxy;
namespace content {
class SynchronousCompositorProxy;
+struct SyncCompositorCommonRendererParams;
class SynchronousCompositorFilter
: public IPC::MessageFilter,
@@ -79,6 +81,9 @@ class SynchronousCompositorFilter
void UnregisterObjects(int routing_id);
void RemoveEntryIfNeeded(int routing_id);
SynchronousCompositorProxy* FindProxy(int routing_id);
+ void SynchronizeRendererState(
+ const std::vector<int>& routing_ids,
+ std::vector<SyncCompositorCommonRendererParams>* out);
const scoped_refptr<base::SingleThreadTaskRunner> compositor_task_runner_;

Powered by Google App Engine
This is Rietveld 408576698