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 "SkDraw.h" | 12 #include "SkDraw.h" |
13 #include "GrGpu.h" | 13 #include "GrGpu.h" |
14 #include "GrGpuResourcePriv.h" | 14 #include "GrGpuResourcePriv.h" |
15 #include "GrImageIDTextureAdjuster.h" | 15 #include "GrImageIDTextureAdjuster.h" |
16 #include "GrStyle.h" | 16 #include "GrStyle.h" |
17 #include "GrTracing.h" | 17 #include "GrTracing.h" |
18 #include "SkCanvasPriv.h" | 18 #include "SkCanvasPriv.h" |
19 #include "SkErrorInternals.h" | 19 #include "SkErrorInternals.h" |
20 #include "SkGlyphCache.h" | 20 #include "SkGlyphCache.h" |
21 #include "SkGrTexturePixelRef.h" | |
22 #include "SkGr.h" | 21 #include "SkGr.h" |
| 22 #include "SkGrPixelRef.h" |
23 #include "SkGrPriv.h" | 23 #include "SkGrPriv.h" |
24 #include "SkImage_Base.h" | 24 #include "SkImage_Base.h" |
25 #include "SkImageCacherator.h" | 25 #include "SkImageCacherator.h" |
26 #include "SkImageFilter.h" | 26 #include "SkImageFilter.h" |
27 #include "SkImageFilterCache.h" | 27 #include "SkImageFilterCache.h" |
28 #include "SkMaskFilter.h" | 28 #include "SkMaskFilter.h" |
29 #include "SkNinePatchIter.h" | 29 #include "SkNinePatchIter.h" |
30 #include "SkPathEffect.h" | 30 #include "SkPathEffect.h" |
31 #include "SkPicture.h" | 31 #include "SkPicture.h" |
32 #include "SkPictureData.h" | 32 #include "SkPictureData.h" |
(...skipping 1802 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1835 } | 1835 } |
1836 | 1836 |
1837 SkImageFilterCache* SkGpuDevice::getImageFilterCache() { | 1837 SkImageFilterCache* SkGpuDevice::getImageFilterCache() { |
1838 ASSERT_SINGLE_OWNER | 1838 ASSERT_SINGLE_OWNER |
1839 // We always return a transient cache, so it is freed after each | 1839 // We always return a transient cache, so it is freed after each |
1840 // filter traversal. | 1840 // filter traversal. |
1841 return SkImageFilterCache::Create(kDefaultImageFilterCacheSize); | 1841 return SkImageFilterCache::Create(kDefaultImageFilterCacheSize); |
1842 } | 1842 } |
1843 | 1843 |
1844 #endif | 1844 #endif |
OLD | NEW |