diff options
author | 2011-03-15 19:09:25 +0000 | |
---|---|---|
committer | 2011-03-15 19:09:25 +0000 | |
commit | 080773ca79cbdc230730d295441255e9254d76a6 (patch) | |
tree | 549239db566093d9f0a7743f6e67471931142f4e /gpu/include/GrTypes.h | |
parent | dc008e17104fc544d2b80c09c9835cf173c25b50 (diff) |
Add blend constant color and use it for lcd text common case (no fancy blend or shaded text)
Review URL: http://codereview.appspot.com/4274057/
git-svn-id: http://skia.googlecode.com/svn/trunk@941 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'gpu/include/GrTypes.h')
-rw-r--r-- | gpu/include/GrTypes.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gpu/include/GrTypes.h b/gpu/include/GrTypes.h index 3c137f8891..8e219f7c08 100644 --- a/gpu/include/GrTypes.h +++ b/gpu/include/GrTypes.h @@ -186,6 +186,12 @@ enum GrBlendCoeff { kISA_BlendCoeff, //<! one minus src alpha kDA_BlendCoeff, //<! dst alpha kIDA_BlendCoeff, //<! one minus dst alpha + kConstC_BlendCoeff, //<! constant color + kIConstC_BlendCoeff, //<! one minus constant color + kConstA_BlendCoeff, //<! constant color alpha + kIConstA_BlendCoeff, //<! one minus constant color alpha + + kBlendCoeffCount }; /** |