OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2011 Google Inc. | 2 * Copyright 2011 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 "SkGpuDevice.h" | 8 #include "SkGpuDevice.h" |
9 | 9 |
10 #include "GrBlurUtils.h" | 10 #include "GrBlurUtils.h" |
11 #include "GrContext.h" | 11 #include "GrContext.h" |
12 #include "GrDrawContext.h" | 12 #include "GrDrawContext.h" |
13 #include "GrFontScaler.h" | 13 #include "GrFontScaler.h" |
14 #include "GrGpu.h" | 14 #include "GrGpu.h" |
15 #include "GrGpuResourcePriv.h" | 15 #include "GrGpuResourcePriv.h" |
16 #include "GrLayerHoister.h" | 16 #include "GrLayerHoister.h" |
17 #include "GrRecordReplaceDraw.h" | 17 #include "GrRecordReplaceDraw.h" |
18 #include "GrStrokeInfo.h" | 18 #include "GrStrokeInfo.h" |
19 #include "GrTextContext.h" | 19 #include "GrTextContext.h" |
20 #include "GrTracing.h" | 20 #include "GrTracing.h" |
21 #include "SkCanvasPriv.h" | 21 #include "SkCanvasPriv.h" |
22 #include "SkDrawProcs.h" | 22 #include "SkDrawProcs.h" |
23 #include "SkErrorInternals.h" | 23 #include "SkErrorInternals.h" |
24 #include "SkGlyphCache.h" | 24 #include "SkGlyphCache.h" |
25 #include "SkGrTexturePixelRef.h" | 25 #include "SkGrTexturePixelRef.h" |
| 26 #include "SkGr.h" |
26 #include "SkGrPriv.h" | 27 #include "SkGrPriv.h" |
27 #include "SkImage_Base.h" | 28 #include "SkImage_Base.h" |
28 #include "SkImageFilter.h" | 29 #include "SkImageFilter.h" |
29 #include "SkLayerInfo.h" | 30 #include "SkLayerInfo.h" |
30 #include "SkMaskFilter.h" | 31 #include "SkMaskFilter.h" |
31 #include "SkPathEffect.h" | 32 #include "SkPathEffect.h" |
32 #include "SkPicture.h" | 33 #include "SkPicture.h" |
33 #include "SkPictureData.h" | 34 #include "SkPictureData.h" |
34 #include "SkRRect.h" | 35 #include "SkRRect.h" |
35 #include "SkRecord.h" | 36 #include "SkRecord.h" |
(...skipping 1958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1994 #endif | 1995 #endif |
1995 } | 1996 } |
1996 | 1997 |
1997 SkImageFilter::Cache* SkGpuDevice::getImageFilterCache() { | 1998 SkImageFilter::Cache* SkGpuDevice::getImageFilterCache() { |
1998 // We always return a transient cache, so it is freed after each | 1999 // We always return a transient cache, so it is freed after each |
1999 // filter traversal. | 2000 // filter traversal. |
2000 return SkImageFilter::Cache::Create(kDefaultImageFilterCacheSize); | 2001 return SkImageFilter::Cache::Create(kDefaultImageFilterCacheSize); |
2001 } | 2002 } |
2002 | 2003 |
2003 #endif | 2004 #endif |
OLD | NEW |