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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 syntax = "proto2"; 5 syntax = "proto2";
6 6
7 import "display_item.proto";
7 import "layer.proto"; 8 import "layer.proto";
8 import "layer_selection_bound.proto"; 9 import "layer_selection_bound.proto";
9 import "layer_tree_debug_state.proto"; 10 import "layer_tree_debug_state.proto";
10 import "property_tree.proto"; 11 import "property_tree.proto";
11 import "size.proto"; 12 import "size.proto";
12 import "vector2df.proto"; 13 import "vector2df.proto";
13 14
14 package cc.proto; 15 package cc.proto;
15 16
16 option optimize_for = LITE_RUNTIME; 17 option optimize_for = LITE_RUNTIME;
17 18
19 message SkPictureData {
20 optional SkPictureID id = 1;
21 optional bytes payload = 2; /* SkData */
22 }
23
24 message SkPictures {
25 repeated SkPictureData pictures = 1;
26 }
27
18 message LayerTreeHost { 28 message LayerTreeHost {
19 // Not all members of LayerTreeHost are serialized, as they are not helpful 29 // Not all members of LayerTreeHost are serialized, as they are not helpful
20 // for remote usage. See implementation of 30 // for remote usage. See implementation of
21 // cc::LayerTreeHost::ToProtobufForCommit for details. 31 // cc::LayerTreeHost::ToProtobufForCommit for details.
22 optional bool needs_full_tree_sync = 1; 32 optional bool needs_full_tree_sync = 1;
23 optional bool needs_meta_info_recomputation = 2; 33 optional bool needs_meta_info_recomputation = 2;
24 optional int32 source_frame_number = 3; 34 optional int32 source_frame_number = 3;
25 optional int32 meta_information_sequence_number = 4; 35 optional int32 meta_information_sequence_number = 4;
26 optional LayerNode root_layer = 5; 36 optional LayerNode root_layer = 5;
27 optional LayerUpdate layer_updates = 6; 37 optional LayerUpdate layer_updates = 6;
(...skipping 22 matching lines...) Expand all
50 optional int32 outer_viewport_scroll_layer_id = 29; 60 optional int32 outer_viewport_scroll_layer_id = 29;
51 optional LayerSelection selection = 30; 61 optional LayerSelection selection = 30;
52 optional PropertyTrees property_trees = 31; 62 optional PropertyTrees property_trees = 31;
53 optional uint32 surface_id_namespace = 32; 63 optional uint32 surface_id_namespace = 32;
54 optional uint32 next_surface_sequence = 33; 64 optional uint32 next_surface_sequence = 33;
55 optional uint32 wheel_event_listener_properties = 34; 65 optional uint32 wheel_event_listener_properties = 34;
56 optional bool have_scroll_event_handlers = 35; 66 optional bool have_scroll_event_handlers = 35;
57 optional uint32 touch_start_or_move_event_listener_properties = 36; 67 optional uint32 touch_start_or_move_event_listener_properties = 36;
58 repeated int32 layers_that_should_push_properties = 37; 68 repeated int32 layers_that_should_push_properties = 37;
59 optional uint32 touch_end_or_cancel_event_listener_properties = 38; 69 optional uint32 touch_end_or_cancel_event_listener_properties = 38;
70 optional SkPictures pictures = 39;
60 } 71 }
OLDNEW
« 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