OLD | NEW |
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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 SampleProcessorInterface; | 63 class SampleProcessorInterface; |
64 class PixelPlacerInterface; | 64 class PixelPlacerInterface; |
| 65 class DestinationInterface; |
65 | 66 |
66 // These values were generated by the assert above in PolymorphicUnion. | 67 // These values were generated by the assert above in PolymorphicUnion. |
67 using MatrixStage = PolymorphicUnion<PointProcessorInterface, 160>; | 68 using MatrixStage = PolymorphicUnion<PointProcessorInterface, 160>; |
68 using TileStage = PolymorphicUnion<PointProcessorInterface, 160>; | 69 using TileStage = PolymorphicUnion<PointProcessorInterface, 160>; |
69 using SampleStage = PolymorphicUnion<SampleProcessorInterface,100>; | 70 using SampleStage = PolymorphicUnion<SampleProcessorInterface,100>; |
70 using PixelStage = PolymorphicUnion<PixelPlacerInterface, 80>; | 71 using PixelStage = PolymorphicUnion<PixelPlacerInterface, 80>; |
71 | 72 |
72 private: | 73 private: |
73 PointProcessorInterface* fFirstStage; | 74 PointProcessorInterface* fFirstStage; |
74 MatrixStage fMatrixStage; | 75 MatrixStage fMatrixStage; |
75 TileStage fTiler; | 76 TileStage fTiler; |
76 SampleStage fSampleStage; | 77 SampleStage fSampleStage; |
77 PixelStage fPixelStage; | 78 PixelStage fPixelStage; |
| 79 DestinationInterface* fLastStage; |
78 }; | 80 }; |
79 | 81 |
80 #endif // SkLinearBitmapPipeline_DEFINED | 82 #endif // SkLinearBitmapPipeline_DEFINED |
OLD | NEW |