| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright 2012 Google Inc. | 2 * Copyright 2012 Google Inc. |
| 3 * | 3 * |
| 4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
| 5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
| 6 */ | 6 */ |
| 7 | 7 |
| 8 #include "GrClipMaskManager.h" | 8 #include "GrClipMaskManager.h" |
| 9 #include "GrAAConvexPathRenderer.h" | |
| 10 #include "GrAAHairLinePathRenderer.h" | |
| 11 #include "GrCaps.h" | 9 #include "GrCaps.h" |
| 12 #include "GrDrawContext.h" | 10 #include "GrDrawContext.h" |
| 13 #include "GrDrawTarget.h" | 11 #include "GrDrawTarget.h" |
| 14 #include "GrPaint.h" | 12 #include "GrPaint.h" |
| 15 #include "GrPathRenderer.h" | 13 #include "GrPathRenderer.h" |
| 16 #include "GrRenderTarget.h" | 14 #include "GrRenderTarget.h" |
| 17 #include "GrRenderTargetPriv.h" | 15 #include "GrRenderTargetPriv.h" |
| 18 #include "GrStencilAttachment.h" | 16 #include "GrStencilAttachment.h" |
| 19 #include "GrSWMaskHelper.h" | 17 #include "GrSWMaskHelper.h" |
| 20 #include "SkRasterClip.h" | 18 #include "SkRasterClip.h" |
| (...skipping 1129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1150 fAACache.purgeResources(); | 1148 fAACache.purgeResources(); |
| 1151 } | 1149 } |
| 1152 | 1150 |
| 1153 void GrClipMaskManager::adjustPathStencilParams(const GrStencilAttachment* stenc
ilAttachment, | 1151 void GrClipMaskManager::adjustPathStencilParams(const GrStencilAttachment* stenc
ilAttachment, |
| 1154 GrStencilSettings* settings) { | 1152 GrStencilSettings* settings) { |
| 1155 if (stencilAttachment) { | 1153 if (stencilAttachment) { |
| 1156 int stencilBits = stencilAttachment->bits(); | 1154 int stencilBits = stencilAttachment->bits(); |
| 1157 this->adjustStencilParams(settings, fClipMode, stencilBits); | 1155 this->adjustStencilParams(settings, fClipMode, stencilBits); |
| 1158 } | 1156 } |
| 1159 } | 1157 } |
| OLD | NEW |