| 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 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 59 mutable Space fSpace; | 59 mutable Space fSpace; |
| 60 }; | 60 }; |
| 61 | 61 |
| 62 class PointProcessorInterface; | 62 class PointProcessorInterface; |
| 63 class BilerpProcessorInterface; | 63 class BilerpProcessorInterface; |
| 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, 80>; | 69 using SampleStage = PolymorphicUnion<BilerpProcessorInterface,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 |
| OLD | NEW |