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

Side by Side Diff: cc/proto/layer_tree_host.proto

Issue 2259083002: cc: Correct elastic overscroll synchronization. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/layer_tree.proto ('k') | cc/trees/layer_tree.cc » ('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 "display_item.proto";
8 import "layer.proto"; 8 import "layer.proto";
9 import "layer_tree.proto"; 9 import "layer_tree.proto";
10 import "layer_tree_debug_state.proto"; 10 import "layer_tree_debug_state.proto";
11 import "vector2df.proto";
12 11
13 package cc.proto; 12 package cc.proto;
14 13
15 option optimize_for = LITE_RUNTIME; 14 option optimize_for = LITE_RUNTIME;
16 15
17 message SkPictureData { 16 message SkPictureData {
18 optional SkPictureID id = 1; 17 optional SkPictureID id = 1;
19 optional bytes payload = 2; /* SkData */ 18 optional bytes payload = 2; /* SkData */
20 } 19 }
21 20
22 message SkPictures { 21 message SkPictures {
23 repeated SkPictureData pictures = 1; 22 repeated SkPictureData pictures = 1;
24 } 23 }
25 24
26 message LayerTreeHost { 25 message LayerTreeHost {
27 // Not all members of LayerTreeHost are serialized, as they are not helpful 26 // Not all members of LayerTreeHost are serialized, as they are not helpful
28 // for remote usage. See implementation of 27 // for remote usage. See implementation of
29 // cc::LayerTreeHost::ToProtobufForCommit for details. 28 // cc::LayerTreeHost::ToProtobufForCommit for details.
30 optional int32 source_frame_number = 3; 29 optional int32 source_frame_number = 3;
31 optional int32 meta_information_sequence_number = 4; 30 optional int32 meta_information_sequence_number = 4;
32 optional LayerTreeDebugState debug_state = 8; 31 optional LayerTreeDebugState debug_state = 8;
33 optional Vector2dF elastic_overscroll = 18;
34 optional bool has_gpu_rasterization_trigger = 19; 32 optional bool has_gpu_rasterization_trigger = 19;
35 optional bool content_is_suitable_for_gpu_rasterization = 20; 33 optional bool content_is_suitable_for_gpu_rasterization = 20;
36 optional int32 id = 23; 34 optional int32 id = 23;
37 optional bool next_commit_forces_redraw = 24; 35 optional bool next_commit_forces_redraw = 24;
38 optional uint32 surface_client_id = 31; 36 optional uint32 surface_client_id = 31;
39 optional uint32 next_surface_sequence = 32; 37 optional uint32 next_surface_sequence = 32;
40 optional LayerTree layer_tree = 36; 38 optional LayerTree layer_tree = 36;
41 optional LayerUpdate layer_updates = 28; 39 optional LayerUpdate layer_updates = 28;
42 optional SkPictures pictures = 38; 40 optional SkPictures pictures = 38;
43 } 41 }
OLDNEW
« no previous file with comments | « cc/proto/layer_tree.proto ('k') | cc/trees/layer_tree.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698