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

Side by Side Diff: include/effects/SkLayerRasterizer.h

Issue 806653007: Fix up all the easy virtual ... SK_OVERRIDE cases. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: rebase Created 5 years, 11 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/effects/SkLayerDrawLooper.h ('k') | include/effects/SkLerpXfermode.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 SkLayerRasterizer_DEFINED 10 #ifndef SkLayerRasterizer_DEFINED
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 private: 63 private:
64 SkDeque* fLayers; 64 SkDeque* fLayers;
65 }; 65 };
66 66
67 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLayerRasterizer) 67 SK_DECLARE_PUBLIC_FLATTENABLE_DESERIALIZATION_PROCS(SkLayerRasterizer)
68 68
69 protected: 69 protected:
70 SkLayerRasterizer(); 70 SkLayerRasterizer();
71 SkLayerRasterizer(SkDeque* layers); 71 SkLayerRasterizer(SkDeque* layers);
72 virtual void flatten(SkWriteBuffer&) const SK_OVERRIDE; 72 void flatten(SkWriteBuffer&) const SK_OVERRIDE;
73 73
74 // override from SkRasterizer 74 // override from SkRasterizer
75 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix, 75 virtual bool onRasterize(const SkPath& path, const SkMatrix& matrix,
76 const SkIRect* clipBounds, 76 const SkIRect* clipBounds,
77 SkMask* mask, SkMask::CreateMode mode) const SK_OVE RRIDE; 77 SkMask* mask, SkMask::CreateMode mode) const SK_OVE RRIDE;
78 78
79 private: 79 private:
80 const SkDeque* const fLayers; 80 const SkDeque* const fLayers;
81 81
82 static SkDeque* ReadLayers(SkReadBuffer& buffer); 82 static SkDeque* ReadLayers(SkReadBuffer& buffer);
83 83
84 friend class LayerRasterizerTester; 84 friend class LayerRasterizerTester;
85 85
86 typedef SkRasterizer INHERITED; 86 typedef SkRasterizer INHERITED;
87 }; 87 };
88 88
89 #endif 89 #endif
OLDNEW
« no previous file with comments | « include/effects/SkLayerDrawLooper.h ('k') | include/effects/SkLerpXfermode.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698