diff options
Diffstat (limited to 'gpu/include/GrTypes.h')
-rw-r--r-- | gpu/include/GrTypes.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/gpu/include/GrTypes.h b/gpu/include/GrTypes.h index 02a652a4c1..29e847fd09 100644 --- a/gpu/include/GrTypes.h +++ b/gpu/include/GrTypes.h @@ -201,6 +201,26 @@ enum GrBlendCoeff { kIDA_BlendCoeff, //<! one minus dst alpha }; +/** + * Set Operations used to construct clips. + */ +enum GrSetOp { + kReplace_SetOp, + kIntersect_SetOp, + kUnion_SetOp, + kXor_SetOp, + kDifference_SetOp, + kReverseDifference_SetOp, +}; + +/** + * Clips are composed from these objects. + */ +enum GrClipType { + kRect_ClipType, + kPath_ClipType +}; + /////////////////////////////////////////////////////////////////////////////// // this is included only to make it easy to use this debugging facility |