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

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

Issue 2101653002: Revert of Refactoring of CPU NormalMap handling out into its own class (Closed) Base URL: https://skia.googlesource.com/skia@dvonbeck-normals-gpu-cl
Patch Set: 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 | « gyp/core.gypi ('k') | src/core/SkLightingShader.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 2006 The Android Open Source Project 2 * Copyright 2006 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 SkFlattenable_DEFINED 8 #ifndef SkFlattenable_DEFINED
9 #define SkFlattenable_DEFINED 9 #define SkFlattenable_DEFINED
10 10
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 kSkDrawable_Type, 74 kSkDrawable_Type,
75 kSkDrawLooper_Type, 75 kSkDrawLooper_Type,
76 kSkImageFilter_Type, 76 kSkImageFilter_Type,
77 kSkMaskFilter_Type, 77 kSkMaskFilter_Type,
78 kSkPathEffect_Type, 78 kSkPathEffect_Type,
79 kSkPixelRef_Type, 79 kSkPixelRef_Type,
80 kSkRasterizer_Type, 80 kSkRasterizer_Type,
81 kSkShader_Type, 81 kSkShader_Type,
82 kSkUnused_Type, // used to be SkUnitMapper 82 kSkUnused_Type, // used to be SkUnitMapper
83 kSkXfermode_Type, 83 kSkXfermode_Type,
84 kSkNormalSource_Type, 84 kNormalSource_Type,
85 }; 85 };
86 86
87 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&); 87 typedef sk_sp<SkFlattenable> (*Factory)(SkReadBuffer&);
88 88
89 SkFlattenable() {} 89 SkFlattenable() {}
90 90
91 /** Implement this to return a factory function pointer that can be called 91 /** Implement this to return a factory function pointer that can be called
92 to recreate your class given a buffer (previously written to by your 92 to recreate your class given a buffer (previously written to by your
93 override of flatten(). 93 override of flatten().
94 */ 94 */
(...skipping 30 matching lines...) Expand all
125 125
126 private: 126 private:
127 static void InitializeFlattenablesIfNeeded(); 127 static void InitializeFlattenablesIfNeeded();
128 128
129 friend class SkGraphics; 129 friend class SkGraphics;
130 130
131 typedef SkRefCnt INHERITED; 131 typedef SkRefCnt INHERITED;
132 }; 132 };
133 133
134 #endif 134 #endif
OLDNEW
« no previous file with comments | « gyp/core.gypi ('k') | src/core/SkLightingShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698