From d302f1401b3c9aea094804bad4e76de98782cfe8 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Thu, 3 Mar 2011 13:54:13 +0000 Subject: Add support for clipstack to Gr. GrClip is now a list of rects and paths with set operations to combine them. The stencil buffer is used to perform the set operations to put the clip into the stencil buffer. Building Gr's clip from Skia's clipStack is currently disabled due to the fact that Skia's clipStack is relative to the root layer not the current layer. This will be fixed in a subsequent CL. git-svn-id: http://skia.googlecode.com/svn/trunk@878 2bbb7eff-a529-9590-31e7-b0007b416f81 --- gpu/include/GrTypes.h | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) (limited to 'gpu/include/GrTypes.h') 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, //