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

Side by Side Diff: cc/blimp/picture_data_conversions.h

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, 5 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/blimp/picture_data.cc ('k') | cc/blimp/picture_data_conversions.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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_
OLDNEW
« no previous file with comments | « cc/blimp/picture_data.cc ('k') | cc/blimp/picture_data_conversions.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698