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

Unified Diff: cc/proto/layer_tree_host.proto

Issue 1982893002: [blimp] Add SkPicture caching support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addressed comments from vmpstr, including adding //cc/blimp Created 4 years, 6 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
« no previous file with comments | « cc/proto/image_serialization_processor.h ('k') | cc/test/fake_client_picture_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/proto/layer_tree_host.proto
diff --git a/cc/proto/layer_tree_host.proto b/cc/proto/layer_tree_host.proto
index 50616332076460598b8e6f60a2e03cfd887424ea..4d89190f9d496780fdf13c77ece80658e8e87934 100644
--- a/cc/proto/layer_tree_host.proto
+++ b/cc/proto/layer_tree_host.proto
@@ -4,6 +4,7 @@
syntax = "proto2";
+import "display_item.proto";
import "layer.proto";
import "layer_selection_bound.proto";
import "layer_tree_debug_state.proto";
@@ -15,6 +16,15 @@ package cc.proto;
option optimize_for = LITE_RUNTIME;
+message SkPictureData {
+ optional SkPictureID id = 1;
+ optional bytes payload = 2; /* SkData */
+}
+
+message SkPictures {
+ repeated SkPictureData pictures = 1;
+}
+
message LayerTreeHost {
// Not all members of LayerTreeHost are serialized, as they are not helpful
// for remote usage. See implementation of
@@ -57,4 +67,5 @@ message LayerTreeHost {
optional uint32 touch_start_or_move_event_listener_properties = 36;
repeated int32 layers_that_should_push_properties = 37;
optional uint32 touch_end_or_cancel_event_listener_properties = 38;
+ optional SkPictures pictures = 39;
}
« no previous file with comments | « cc/proto/image_serialization_processor.h ('k') | cc/test/fake_client_picture_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698