OLD | NEW |
| (Empty) |
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 | |
3 // found in the LICENSE file. | |
4 | |
5 syntax = "proto2"; | |
6 | |
7 import "display_item.proto"; | |
8 import "layer.proto"; | |
9 import "layer_tree.proto"; | |
10 | |
11 package cc.proto; | |
12 | |
13 option optimize_for = LITE_RUNTIME; | |
14 | |
15 message SkPictureData { | |
16 optional SkPictureID id = 1; | |
17 optional bytes payload = 2; /* SkData */ | |
18 } | |
19 | |
20 message SkPictures { | |
21 repeated SkPictureData pictures = 1; | |
22 } | |
23 | |
24 message LayerTreeHost { | |
25 // Not all members of LayerTreeHost are serialized, as they are not helpful | |
26 // for remote usage. See implementation of | |
27 // cc::LayerTreeHost::ToProtobufForCommit for details. | |
28 optional LayerTree layer_tree = 36; | |
29 optional LayerUpdate layer_updates = 28; | |
30 optional SkPictures pictures = 38; | |
31 } | |
OLD | NEW |