OLD | NEW |
1 | 1 |
2 /* | 2 /* |
3 * Copyright 2012 Google Inc. | 3 * Copyright 2012 Google Inc. |
4 * | 4 * |
5 * Use of this source code is governed by a BSD-style license that can be | 5 * Use of this source code is governed by a BSD-style license that can be |
6 * found in the LICENSE file. | 6 * found in the LICENSE file. |
7 */ | 7 */ |
8 | 8 |
9 #include "GrClipMaskManager.h" | 9 #include "GrClipMaskManager.h" |
10 #include "GrAAConvexPathRenderer.h" | 10 #include "GrAAConvexPathRenderer.h" |
11 #include "GrAAHairLinePathRenderer.h" | 11 #include "GrAAHairLinePathRenderer.h" |
| 12 #include "GrAARectRenderer.h" |
12 #include "GrDrawTargetCaps.h" | 13 #include "GrDrawTargetCaps.h" |
13 #include "GrGpu.h" | 14 #include "GrGpu.h" |
14 #include "GrPaint.h" | 15 #include "GrPaint.h" |
15 #include "GrPathRenderer.h" | 16 #include "GrPathRenderer.h" |
16 #include "GrRenderTarget.h" | 17 #include "GrRenderTarget.h" |
17 #include "GrStencilBuffer.h" | 18 #include "GrStencilBuffer.h" |
18 #include "GrSWMaskHelper.h" | 19 #include "GrSWMaskHelper.h" |
19 #include "effects/GrTextureDomainEffect.h" | 20 #include "effects/GrTextureDomainEffect.h" |
20 #include "SkRasterClip.h" | 21 #include "SkRasterClip.h" |
21 #include "SkStrokeRec.h" | 22 #include "SkStrokeRec.h" |
(...skipping 982 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1004 | 1005 |
1005 //////////////////////////////////////////////////////////////////////////////// | 1006 //////////////////////////////////////////////////////////////////////////////// |
1006 void GrClipMaskManager::releaseResources() { | 1007 void GrClipMaskManager::releaseResources() { |
1007 fAACache.releaseResources(); | 1008 fAACache.releaseResources(); |
1008 } | 1009 } |
1009 | 1010 |
1010 void GrClipMaskManager::setGpu(GrGpu* gpu) { | 1011 void GrClipMaskManager::setGpu(GrGpu* gpu) { |
1011 fGpu = gpu; | 1012 fGpu = gpu; |
1012 fAACache.setContext(gpu->getContext()); | 1013 fAACache.setContext(gpu->getContext()); |
1013 } | 1014 } |
OLD | NEW |