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

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

Issue 2134893002: Redo Tiling (Closed) Base URL: https://skia.googlesource.com/skia.git@reduce-LBP-sample
Patch Set: Document bug. 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 | « src/core/SkBitmapProcShader.h ('k') | 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 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
126 126
127 class PointProcessorInterface; 127 class PointProcessorInterface;
128 class SampleProcessorInterface; 128 class SampleProcessorInterface;
129 class BlendProcessorInterface; 129 class BlendProcessorInterface;
130 class DestinationInterface; 130 class DestinationInterface;
131 class PixelAccessorInterface; 131 class PixelAccessorInterface;
132 132
133 // These values were generated by the assert above in Stage::init{Sink|Stage }. 133 // These values were generated by the assert above in Stage::init{Sink|Stage }.
134 using MatrixStage = Stage<PointProcessorInterface, 160, PointProcessorIn terface>; 134 using MatrixStage = Stage<PointProcessorInterface, 160, PointProcessorIn terface>;
135 using TileStage = Stage<PointProcessorInterface, 160, SampleProcessorI nterface>; 135 using TileStage = Stage<PointProcessorInterface, 160, SampleProcessorI nterface>;
136 using SampleStage = Stage<SampleProcessorInterface, 100, BlendProcessorIn terface>; 136 using SampleStage = Stage<SampleProcessorInterface, 160, BlendProcessorIn terface>;
137 using BlenderStage = Stage<BlendProcessorInterface, 40>; 137 using BlenderStage = Stage<BlendProcessorInterface, 40>;
138 using Accessor = PolyMemory<PixelAccessorInterface, 48>; 138 using Accessor = PolyMemory<PixelAccessorInterface, 64>;
139 139
140 private: 140 private:
141 PointProcessorInterface* fFirstStage; 141 PointProcessorInterface* fFirstStage;
142 MatrixStage fMatrixStage; 142 MatrixStage fMatrixStage;
143 TileStage fTileStage; 143 TileStage fTileStage;
144 SampleStage fSampleStage; 144 SampleStage fSampleStage;
145 BlenderStage fBlenderStage; 145 BlenderStage fBlenderStage;
146 DestinationInterface* fLastStage; 146 DestinationInterface* fLastStage;
147 Accessor fAccessor; 147 Accessor fAccessor;
148 }; 148 };
(...skipping 23 matching lines...) Expand all
172 private: 172 private:
173 enum { 173 enum {
174 kActualSize = sizeof(SkLinearBitmapPipeline), 174 kActualSize = sizeof(SkLinearBitmapPipeline),
175 kPaddedSize = SkAlignPtr(kActualSize + 12), 175 kPaddedSize = SkAlignPtr(kActualSize + 12),
176 }; 176 };
177 void* fPipelineStorage[kPaddedSize / sizeof(void*)]; 177 void* fPipelineStorage[kPaddedSize / sizeof(void*)];
178 SkLinearBitmapPipeline* fPipeline{nullptr}; 178 SkLinearBitmapPipeline* fPipeline{nullptr};
179 }; 179 };
180 180
181 #endif // SkLinearBitmapPipeline_DEFINED 181 #endif // SkLinearBitmapPipeline_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkBitmapProcShader.h ('k') | src/core/SkLinearBitmapPipeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698