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

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

Issue 1967283002: All source types working for linear pipeline. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: use black const Created 4 years, 7 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.cpp ('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
11 #include "SkColor.h" 11 #include "SkColor.h"
12 #include "SkImageInfo.h" 12 #include "SkImageInfo.h"
13 #include "SkMatrix.h" 13 #include "SkMatrix.h"
14 #include "SkShader.h" 14 #include "SkShader.h"
15 15
16 class SkLinearBitmapPipeline { 16 class SkLinearBitmapPipeline {
17 public: 17 public:
18 SkLinearBitmapPipeline( 18 SkLinearBitmapPipeline(
19 const SkMatrix& inverse, 19 const SkMatrix& inverse,
20 SkFilterQuality filterQuality, 20 SkFilterQuality filterQuality,
21 SkShader::TileMode xTile, SkShader::TileMode yTile, 21 SkShader::TileMode xTile, SkShader::TileMode yTile,
22 float postAlpha, 22 SkColor paintColor,
23 const SkPixmap& srcPixmap); 23 const SkPixmap& srcPixmap);
24 24
25 25
26 26
27 static bool ClonePipelineForBlitting( 27 static bool ClonePipelineForBlitting(
28 void* blitterStorage, 28 void* blitterStorage,
29 const SkLinearBitmapPipeline& pipeline, 29 const SkLinearBitmapPipeline& pipeline,
30 SkMatrix::TypeMask matrixMask, 30 SkMatrix::TypeMask matrixMask,
31 SkShader::TileMode xTileMode, 31 SkShader::TileMode xTileMode,
32 SkShader::TileMode yTileMode, 32 SkShader::TileMode yTileMode,
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 95
96 PointProcessorInterface* fFirstStage; 96 PointProcessorInterface* fFirstStage;
97 MatrixStage fMatrixStage; 97 MatrixStage fMatrixStage;
98 TileStage fTileStage; 98 TileStage fTileStage;
99 SampleStage fSampleStage; 99 SampleStage fSampleStage;
100 BlenderStage fBlenderStage; 100 BlenderStage fBlenderStage;
101 DestinationInterface* fLastStage; 101 DestinationInterface* fLastStage;
102 }; 102 };
103 103
104 #endif // SkLinearBitmapPipeline_DEFINED 104 #endif // SkLinearBitmapPipeline_DEFINED
OLDNEW
« no previous file with comments | « src/core/SkBitmapProcShader.cpp ('k') | src/core/SkLinearBitmapPipeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698