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

Side by Side Diff: src/animator/SkDrawBitmap.h

Issue 1818563002: Replace uses of SkImageDecoder in src/animator (Closed) Base URL: https://skia.googlesource.com/skia.git@master
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 | « no previous file | src/animator/SkDrawBitmap.cpp » ('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 /* 2 /*
3 * Copyright 2006 The Android Open Source Project 3 * Copyright 2006 The Android Open Source Project
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 9
10 #ifndef SkDrawBitmap_DEFINED 10 #ifndef SkDrawBitmap_DEFINED
11 #define SkDrawBitmap_DEFINED 11 #define SkDrawBitmap_DEFINED
12 12
13 #include "SkBoundable.h" 13 #include "SkBoundable.h"
14 #include "SkBase64.h" 14 #include "SkBase64.h"
15 #include "SkBitmap.h" 15 #include "SkBitmap.h"
16 // #include "SkImageDecoder.h"
17 #include "SkMemberInfo.h" 16 #include "SkMemberInfo.h"
18 17
19 class SkBaseBitmap : public SkBoundable { 18 class SkBaseBitmap : public SkBoundable {
20 DECLARE_MEMBER_INFO(BaseBitmap); 19 DECLARE_MEMBER_INFO(BaseBitmap);
21 SkBaseBitmap(); 20 SkBaseBitmap();
22 virtual ~SkBaseBitmap(); 21 virtual ~SkBaseBitmap();
23 bool draw(SkAnimateMaker& ) override; 22 bool draw(SkAnimateMaker& ) override;
24 protected: 23 protected:
25 SkBitmap fBitmap; 24 SkBitmap fBitmap;
26 SkScalar x; 25 SkScalar x;
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
65 protected: 64 protected:
66 SkBase64 base64; 65 SkBase64 base64;
67 SkString src; 66 SkString src;
68 SkString fLast; // cache of src so that stream isn't unnecessarily decoded 67 SkString fLast; // cache of src so that stream isn't unnecessarily decoded
69 SkBool fDirty; 68 SkBool fDirty;
70 const char* fUriBase; 69 const char* fUriBase;
71 typedef SkBaseBitmap INHERITED; 70 typedef SkBaseBitmap INHERITED;
72 }; 71 };
73 72
74 #endif // SkDrawBitmap_DEFINED 73 #endif // SkDrawBitmap_DEFINED
OLDNEW
« no previous file with comments | « no previous file | src/animator/SkDrawBitmap.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698