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

Side by Side Diff: src/core/SkLinearBitmapPipeline.h

Issue 1841793002: Add repeatSpan and change interface name. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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/core/SkLinearBitmapPipeline.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 * Copyright 2016 Google Inc. 2 * Copyright 2016 Google Inc.
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 SkLinearBitmapPipeline_DEFINED 8 #ifndef SkLinearBitmapPipeline_DEFINED
9 #define SkLinearBitmapPipeline_DEFINED 9 #define SkLinearBitmapPipeline_DEFINED
10 10
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
53 53
54 private: 54 private:
55 struct SK_STRUCT_ALIGN(16) Space { 55 struct SK_STRUCT_ALIGN(16) Space {
56 char space[kSize]; 56 char space[kSize];
57 }; 57 };
58 bool fIsInitialized; 58 bool fIsInitialized;
59 mutable Space fSpace; 59 mutable Space fSpace;
60 }; 60 };
61 61
62 class PointProcessorInterface; 62 class PointProcessorInterface;
63 class BilerpProcessorInterface; 63 class SampleProcessorInterface;
64 class PixelPlacerInterface; 64 class PixelPlacerInterface;
65 65
66 // These values were generated by the assert above in PolymorphicUnion. 66 // These values were generated by the assert above in PolymorphicUnion.
67 using MatrixStage = PolymorphicUnion<PointProcessorInterface, 160>; 67 using MatrixStage = PolymorphicUnion<PointProcessorInterface, 160>;
68 using TileStage = PolymorphicUnion<PointProcessorInterface, 160>; 68 using TileStage = PolymorphicUnion<PointProcessorInterface, 160>;
69 using SampleStage = PolymorphicUnion<BilerpProcessorInterface,100>; 69 using SampleStage = PolymorphicUnion<SampleProcessorInterface,100>;
70 using PixelStage = PolymorphicUnion<PixelPlacerInterface, 80>; 70 using PixelStage = PolymorphicUnion<PixelPlacerInterface, 80>;
71 71
72 private: 72 private:
73 PointProcessorInterface* fFirstStage; 73 PointProcessorInterface* fFirstStage;
74 MatrixStage fMatrixStage; 74 MatrixStage fMatrixStage;
75 TileStage fTiler; 75 TileStage fTiler;
76 SampleStage fSampleStage; 76 SampleStage fSampleStage;
77 PixelStage fPixelStage; 77 PixelStage fPixelStage;
78 }; 78 };
79 79
80 #endif // SkLinearBitmapPipeline_DEFINED 80 #endif // SkLinearBitmapPipeline_DEFINED
OLDNEW
« no previous file with comments | « no previous file | src/core/SkLinearBitmapPipeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698