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

Side by Side Diff: include/core/SkPicture.h

Issue 1828433004: Revert of Delete SkImageDecoder (Closed) Base URL: https://skia.googlesource.com/skia.git@fix-animator
Patch Set: Created 4 years, 9 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 | « include/core/SkImageEncoder.h ('k') | include/core/SkPngChunkReader.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright 2007 The Android Open Source Project 2 * Copyright 2007 The Android Open Source Project
3 * 3 *
4 * Use of this source code is governed by a BSD-style license that can be 4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file. 5 * found in the LICENSE file.
6 */ 6 */
7 7
8 #ifndef SkPicture_DEFINED 8 #ifndef SkPicture_DEFINED
9 #define SkPicture_DEFINED 9 #define SkPicture_DEFINED
10 10
11 #include "SkImageDecoder.h"
11 #include "SkRefCnt.h" 12 #include "SkRefCnt.h"
12 #include "SkTypes.h" 13 #include "SkTypes.h"
13 14
14 class GrContext; 15 class GrContext;
15 class SkBigPicture; 16 class SkBigPicture;
16 class SkBitmap; 17 class SkBitmap;
17 class SkCanvas; 18 class SkCanvas;
18 class SkPath;
19 class SkPictureData; 19 class SkPictureData;
20 class SkPixelSerializer; 20 class SkPixelSerializer;
21 class SkReadBuffer;
22 class SkRefCntSet; 21 class SkRefCntSet;
23 class SkStream; 22 class SkStream;
24 class SkTypefacePlayback; 23 class SkTypefacePlayback;
25 class SkWStream; 24 class SkWStream;
26 class SkWriteBuffer;
27 struct SkPictInfo; 25 struct SkPictInfo;
28 struct SkRect;
29 26
30 #define SK_SUPPORT_LEGACY_PICTURE_PTR 27 #define SK_SUPPORT_LEGACY_PICTURE_PTR
31 28
32 /** \class SkPicture 29 /** \class SkPicture
33 30
34 An SkPicture records drawing commands made to a canvas to be played back at a later time. 31 An SkPicture records drawing commands made to a canvas to be played back at a later time.
35 This base class handles serialization and a few other miscellany. 32 This base class handles serialization and a few other miscellany.
36 */ 33 */
37 class SK_API SkPicture : public SkRefCnt { 34 class SK_API SkPicture : public SkRefCnt {
38 public: 35 public:
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
225 static bool IsValidPictInfo(const SkPictInfo& info); 222 static bool IsValidPictInfo(const SkPictInfo& info);
226 static sk_sp<SkPicture> Forwardport(const SkPictInfo&, const SkPictureData*) ; 223 static sk_sp<SkPicture> Forwardport(const SkPictInfo&, const SkPictureData*) ;
227 224
228 SkPictInfo createHeader() const; 225 SkPictInfo createHeader() const;
229 SkPictureData* backport() const; 226 SkPictureData* backport() const;
230 227
231 mutable uint32_t fUniqueID; 228 mutable uint32_t fUniqueID;
232 }; 229 };
233 230
234 #endif 231 #endif
OLDNEW
« no previous file with comments | « include/core/SkImageEncoder.h ('k') | include/core/SkPngChunkReader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698