diff options
author | 2014-10-07 08:05:21 -0700 | |
---|---|---|
committer | 2014-10-07 08:05:21 -0700 | |
commit | 07a255310aca9f3e83bf741dc663a58818ad681c (patch) | |
tree | 63b6c874f3021950c48f468f79818dedf194a35e /include/gpu/GrTypes.h | |
parent | f19657f1d48fc69867809b7a602b9d0660069e99 (diff) |
gl programs rewrite
BUG=skia:
Review URL: https://codereview.chromium.org/628633003
Diffstat (limited to 'include/gpu/GrTypes.h')
-rw-r--r-- | include/gpu/GrTypes.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/gpu/GrTypes.h b/include/gpu/GrTypes.h index 22b2e224f6..1f5f9179b9 100644 --- a/include/gpu/GrTypes.h +++ b/include/gpu/GrTypes.h @@ -222,8 +222,10 @@ enum GrBlendCoeff { kConstA_GrBlendCoeff, //<! constant color alpha kIConstA_GrBlendCoeff, //<! one minus constant color alpha - kPublicGrBlendCoeffCount + kFirstPublicGrBlendCoeff = kZero_GrBlendCoeff, + kLastPublicGrBlendCoeff = kIConstA_GrBlendCoeff, }; +static const int kPublicGrBlendCoeffCount = kLastPublicGrBlendCoeff + 1; /** * Formats for masks, used by the font cache. |