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

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

Issue 283273002: remove unused (by clients) SkUnitMapper (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: fix legacy call Created 6 years, 7 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 | Annotate | Revision Log
« no previous file with comments | « gyp/utils.gyp ('k') | include/core/SkPicture.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 /* 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 SkFlattenable_DEFINED 10 #ifndef SkFlattenable_DEFINED
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 public: 54 public:
55 enum Type { 55 enum Type {
56 kSkColorFilter_Type, 56 kSkColorFilter_Type,
57 kSkDrawLooper_Type, 57 kSkDrawLooper_Type,
58 kSkImageFilter_Type, 58 kSkImageFilter_Type,
59 kSkMaskFilter_Type, 59 kSkMaskFilter_Type,
60 kSkPathEffect_Type, 60 kSkPathEffect_Type,
61 kSkPixelRef_Type, 61 kSkPixelRef_Type,
62 kSkRasterizer_Type, 62 kSkRasterizer_Type,
63 kSkShader_Type, 63 kSkShader_Type,
64 kSkUnitMapper_Type, 64 kSkUnused_Type, // used to be SkUnitMapper
65 kSkXfermode_Type, 65 kSkXfermode_Type,
66 }; 66 };
67 67
68 SK_DECLARE_INST_COUNT(SkFlattenable) 68 SK_DECLARE_INST_COUNT(SkFlattenable)
69 69
70 typedef SkFlattenable* (*Factory)(SkReadBuffer&); 70 typedef SkFlattenable* (*Factory)(SkReadBuffer&);
71 71
72 SkFlattenable() {} 72 SkFlattenable() {}
73 73
74 /** Implement this to return a factory function pointer that can be called 74 /** Implement this to return a factory function pointer that can be called
(...skipping 30 matching lines...) Expand all
105 105
106 private: 106 private:
107 static void InitializeFlattenablesIfNeeded(); 107 static void InitializeFlattenablesIfNeeded();
108 108
109 friend class SkGraphics; 109 friend class SkGraphics;
110 110
111 typedef SkRefCnt INHERITED; 111 typedef SkRefCnt INHERITED;
112 }; 112 };
113 113
114 #endif 114 #endif
OLDNEW
« no previous file with comments | « gyp/utils.gyp ('k') | include/core/SkPicture.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698