OLD | NEW |
| (Empty) |
1 // Copyright 2016 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 #ifndef CC_BLIMP_PICTURE_DATA_CONVERSIONS_H_ | |
6 #define CC_BLIMP_PICTURE_DATA_CONVERSIONS_H_ | |
7 | |
8 #include <memory> | |
9 #include <vector> | |
10 | |
11 #include "cc/base/cc_export.h" | |
12 #include "cc/blimp/picture_data.h" | |
13 | |
14 namespace cc { | |
15 | |
16 namespace proto { | |
17 class SkPictures; | |
18 | |
19 CC_EXPORT void PictureDataVectorToSkPicturesProto( | |
20 const std::vector<PictureData>& cache_update, | |
21 SkPictures* proto_pictures); | |
22 | |
23 CC_EXPORT std::vector<PictureData> SkPicturesProtoToPictureDataVector( | |
24 const SkPictures& proto_pictures); | |
25 | |
26 } // namespace proto | |
27 } // namespace cc | |
28 | |
29 #endif // CC_BLIMP_PICTURE_DATA_CONVERSIONS_H_ | |
OLD | NEW |