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

Unified Diff: src/effects/gradients/Sk4fGradientBase.h

Issue 1808963005: 4f linear gradient shader blitters (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: rename trunc_from_255 to quiet confused msvc Created 4 years, 9 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/core/SkXfermodeU64.cpp ('k') | src/effects/gradients/Sk4fGradientBase.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/effects/gradients/Sk4fGradientBase.h
diff --git a/src/effects/gradients/Sk4fGradientBase.h b/src/effects/gradients/Sk4fGradientBase.h
index f745f8fc0bce6eb1f49c6eefdea53f55fe3369d8..03f7e6ef2606b610f914cf1ee2eacd840503eea7 100644
--- a/src/effects/gradients/Sk4fGradientBase.h
+++ b/src/effects/gradients/Sk4fGradientBase.h
@@ -8,6 +8,7 @@
#ifndef Sk4fGradientBase_DEFINED
#define Sk4fGradientBase_DEFINED
+#include "Sk4fGradientPriv.h"
#include "SkColor.h"
#include "SkGradientShaderPriv.h"
#include "SkMatrix.h"
@@ -61,10 +62,10 @@ private:
template<typename DstType, SkShader::TileMode tileMode>
class TSampler;
- template <typename DstType, bool do_premul>
+ template <typename DstType, ApplyPremul>
void shadePremulSpan(int x, int y, DstType[], int count) const;
- template <typename DstType, bool do_premul, SkShader::TileMode tileMode>
+ template <typename DstType, ApplyPremul, SkShader::TileMode tileMode>
void shadeSpanInternal(int x, int y, DstType[], int count) const;
};
« no previous file with comments | « src/core/SkXfermodeU64.cpp ('k') | src/effects/gradients/Sk4fGradientBase.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698