diff options
author | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-03-03 13:54:13 +0000 |
---|---|---|
committer | bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81> | 2011-03-03 13:54:13 +0000 |
commit | d302f1401b3c9aea094804bad4e76de98782cfe8 (patch) | |
tree | b46ec6c4de175842aef051d7b812785dacbd1d73 /vs/SampleApp | |
parent | 1d12b1fd66e5be27fb4769ee09ce4fcd6bcc5979 (diff) |
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
Diffstat (limited to 'vs/SampleApp')
-rw-r--r-- | vs/SampleApp/SampleApp.vcxproj | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/vs/SampleApp/SampleApp.vcxproj b/vs/SampleApp/SampleApp.vcxproj index 8c6fe83ff9..8de34d018f 100644 --- a/vs/SampleApp/SampleApp.vcxproj +++ b/vs/SampleApp/SampleApp.vcxproj @@ -133,6 +133,7 @@ <ClInclude Include="..\..\gpu\include\GrRefCnt.h" />
<ClInclude Include="..\..\gpu\include\GrSamplerState.h" />
<ClInclude Include="..\..\gpu\include\GrScalar.h" />
+ <ClInclude Include="..\..\gpu\include\GrStencil.h" />
<ClInclude Include="..\..\gpu\include\GrStopwatch.h" />
<ClInclude Include="..\..\gpu\include\GrStringBuilder.h" />
<ClInclude Include="..\..\gpu\include\GrTArray.h" />
@@ -233,6 +234,7 @@ <ClCompile Include="..\..\gpu\src\GrPath.cpp" />
<ClCompile Include="..\..\gpu\src\GrPathRenderer.cpp" />
<ClCompile Include="..\..\gpu\src\GrRectanizer.cpp" />
+ <ClCompile Include="..\..\gpu\src\GrStencil.cpp" />
<ClCompile Include="..\..\gpu\src\GrTextContext.cpp" />
<ClCompile Include="..\..\gpu\src\GrTextStrike.cpp" />
<ClCompile Include="..\..\gpu\src\GrTextureCache.cpp" />
@@ -246,6 +248,7 @@ <ClCompile Include="..\..\samplecode\SampleBlur.cpp" />
<ClCompile Include="..\..\samplecode\SampleCamera.cpp" />
<ClCompile Include="..\..\samplecode\SampleCircle.cpp" />
+ <ClCompile Include="..\..\samplecode\SampleComplexClip.cpp" />
<ClCompile Include="..\..\samplecode\SampleCull.cpp" />
<ClCompile Include="..\..\samplecode\SampleDither.cpp" />
<ClCompile Include="..\..\samplecode\SampleDitherBitmap.cpp" />
|