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

Side by Side Diff: src/effects/gradients/Sk4fGradientBase.h

Issue 1753853002: 4f gradient interval builder cleanup (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: speculative win build fix 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 unified diff | Download patch
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 Sk4fGradientBase_DEFINED 8 #ifndef Sk4fGradientBase_DEFINED
9 #define Sk4fGradientBase_DEFINED 9 #define Sk4fGradientBase_DEFINED
10 10
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
48 SkMatrix fDstToPos; 48 SkMatrix fDstToPos;
49 SkMatrix::MapXYProc fDstToPosProc; 49 SkMatrix::MapXYProc fDstToPosProc;
50 uint8_t fDstToPosClass; 50 uint8_t fDstToPosClass;
51 uint8_t fFlags; 51 uint8_t fFlags;
52 bool fDither; 52 bool fDither;
53 bool fColorsArePremul; 53 bool fColorsArePremul;
54 54
55 private: 55 private:
56 using INHERITED = SkShader::Context; 56 using INHERITED = SkShader::Context;
57 57
58 void addMirrorIntervals(const SkGradientShaderBase&, const Sk4f& componentSc ale,
59 bool dx_is_pos);
60
58 mutable const Interval* fCachedInterval; 61 mutable const Interval* fCachedInterval;
59 }; 62 };
60 63
61 #endif // Sk4fGradientBase_DEFINED 64 #endif // Sk4fGradientBase_DEFINED
OLDNEW
« no previous file with comments | « no previous file | src/effects/gradients/Sk4fGradientBase.cpp » ('j') | src/effects/gradients/Sk4fGradientBase.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698