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

Unified Diff: cc/proto/compositor_message_to_main.proto

Issue 1513643010: cc:: Add remote mode to the compositor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresed comments. Created 4 years, 11 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: cc/proto/compositor_message_to_main.proto
diff --git a/cc/proto/managed_memory_policy.proto b/cc/proto/compositor_message_to_main.proto
similarity index 50%
copy from cc/proto/managed_memory_policy.proto
copy to cc/proto/compositor_message_to_main.proto
index 9f42a6a65f6452c3f772ee01516259b9709bc413..60a6914fcfbbc206a733a7f1d1380dc18ffe9d98 100644
--- a/cc/proto/managed_memory_policy.proto
+++ b/cc/proto/compositor_message_to_main.proto
@@ -4,14 +4,13 @@
syntax = "proto2";
-import "memory_allocation.proto";
+option optimize_for = LITE_RUNTIME;
package cc.proto;
-option optimize_for = LITE_RUNTIME;
-
-message ManagedMemoryPolicy {
- optional uint32 bytes_limit_when_visible = 1;
- optional MemoryAllocation.PriorityCutoff priority_cutoff_when_visible = 2;
- optional uint32 num_resources_limit = 3;
+// Control messages sent to the main side of the compositor(server) from the
+// impl side of the compositor(client).
+message CompositorMessageToMain {
+ // TODO(khushalsagar): Add messages sent to the main compositor from the impl
+ // side.
}

Powered by Google App Engine
This is Rietveld 408576698