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

Side by Side Diff: include/gpu/GrBlend.h

Issue 1217293004: Move headers used by headers in include/ to include/private. (Closed) Base URL: https://skia.googlesource.com/skia@master
Patch Set: move SkChecksum too Created 5 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 | « include/core/SkPictureRecorder.h ('k') | include/gpu/gl/SkGLContext.h » ('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 /* 2 /*
3 * Copyright 2013 Google Inc. 3 * Copyright 2013 Google Inc.
4 * 4 *
5 * Use of this source code is governed by a BSD-style license that can be 5 * Use of this source code is governed by a BSD-style license that can be
6 * found in the LICENSE file. 6 * found in the LICENSE file.
7 */ 7 */
8 8
9 #include "GrTypes.h" 9 #include "GrTypes.h"
10 #include "../../src/utils/SkTLogic.h" 10 #include "../private/SkTLogic.h"
11 11
12 #ifndef GrBlend_DEFINED 12 #ifndef GrBlend_DEFINED
13 #define GrBlend_DEFINED 13 #define GrBlend_DEFINED
14 14
15 /** 15 /**
16 * Equations for alpha-blending. 16 * Equations for alpha-blending.
17 */ 17 */
18 enum GrBlendEquation { 18 enum GrBlendEquation {
19 // Basic blend equations. 19 // Basic blend equations.
20 kAdd_GrBlendEquation, //<! Cs*S + Cd*D 20 kAdd_GrBlendEquation, //<! Cs*S + Cd*D
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after
207 kReverseSubtract_GrBlendEqua tion == Equation) && 207 kReverseSubtract_GrBlendEqua tion == Equation) &&
208 !GR_BLEND_COEFF_REFS_SRC(SrcC oeff) && 208 !GR_BLEND_COEFF_REFS_SRC(SrcC oeff) &&
209 (kOne_GrBlendCoeff == DstCoef f || 209 (kOne_GrBlendCoeff == DstCoef f ||
210 kISC_GrBlendCoeff == DstCoef f || 210 kISC_GrBlendCoeff == DstCoef f ||
211 kISA_GrBlendCoeff == DstCoef f))> {}; 211 kISA_GrBlendCoeff == DstCoef f))> {};
212 212
213 #define GR_BLEND_CAN_TWEAK_ALPHA_FOR_COVERAGE(EQUATION, SRC_COEFF, DST_COEFF) \ 213 #define GR_BLEND_CAN_TWEAK_ALPHA_FOR_COVERAGE(EQUATION, SRC_COEFF, DST_COEFF) \
214 GrTBlendCanTweakAlphaForCoverage<EQUATION, SRC_COEFF, DST_COEFF>::value 214 GrTBlendCanTweakAlphaForCoverage<EQUATION, SRC_COEFF, DST_COEFF>::value
215 215
216 #endif 216 #endif
OLDNEW
« no previous file with comments | « include/core/SkPictureRecorder.h ('k') | include/gpu/gl/SkGLContext.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698