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

Side by Side Diff: cc/proto/picture_cache_conversions.h

Issue 1982893002: [blimp] Add SkPicture caching support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: git merge origin/master 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
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_PROTO_PICTURE_CACHE_CONVERSIONS_H_
6 #define CC_PROTO_PICTURE_CACHE_CONVERSIONS_H_
7
8 #include <memory>
9
10 #include "cc/base/cc_export.h"
11 #include "cc/proto/picture_cache.h"
12
13 namespace cc {
14
15 namespace proto {
16 class SkPictures;
17
18 CC_EXPORT void PictureDataVectorToSkPicturesProto(
19 const PictureCacheUpdate& cache_update,
20 SkPictures* proto_pictures);
21
22 CC_EXPORT PictureCacheUpdate
23 SkPicturesProtoToPictureDataVector(const SkPictures& proto_pictures);
24
25 } // namespace proto
26 } // namespace cc
27
28 #endif // CC_PROTO_PICTURE_CACHE_CONVERSIONS_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698