| 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 "GrBitmapTextContext.h" | |
| 11 #include "GrContext.h" | 10 #include "GrContext.h" |
| 12 #include "GrDistanceFieldTextContext.h" | |
| 13 #include "GrGpu.h" | 11 #include "GrGpu.h" |
| 14 #include "GrGpuResourcePriv.h" | 12 #include "GrGpuResourcePriv.h" |
| 15 #include "GrLayerHoister.h" | 13 #include "GrLayerHoister.h" |
| 16 #include "GrRecordReplaceDraw.h" | 14 #include "GrRecordReplaceDraw.h" |
| 17 #include "GrStrokeInfo.h" | 15 #include "GrStrokeInfo.h" |
| 16 #include "GrTextContext.h" |
| 18 #include "GrTracing.h" | 17 #include "GrTracing.h" |
| 19 #include "SkCanvasPriv.h" | 18 #include "SkCanvasPriv.h" |
| 20 #include "SkDeviceImageFilterProxy.h" | 19 #include "SkDeviceImageFilterProxy.h" |
| 21 #include "SkDrawProcs.h" | 20 #include "SkDrawProcs.h" |
| 22 #include "SkErrorInternals.h" | 21 #include "SkErrorInternals.h" |
| 23 #include "SkGlyphCache.h" | 22 #include "SkGlyphCache.h" |
| 24 #include "SkGrTexturePixelRef.h" | 23 #include "SkGrTexturePixelRef.h" |
| 25 #include "SkImageFilter.h" | 24 #include "SkImageFilter.h" |
| 26 #include "SkLayerInfo.h" | 25 #include "SkLayerInfo.h" |
| 27 #include "SkMaskFilter.h" | 26 #include "SkMaskFilter.h" |
| (...skipping 2005 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2033 #endif | 2032 #endif |
| 2034 } | 2033 } |
| 2035 | 2034 |
| 2036 SkImageFilter::Cache* SkGpuDevice::getImageFilterCache() { | 2035 SkImageFilter::Cache* SkGpuDevice::getImageFilterCache() { |
| 2037 // We always return a transient cache, so it is freed after each | 2036 // We always return a transient cache, so it is freed after each |
| 2038 // filter traversal. | 2037 // filter traversal. |
| 2039 return SkImageFilter::Cache::Create(kDefaultImageFilterCacheSize); | 2038 return SkImageFilter::Cache::Create(kDefaultImageFilterCacheSize); |
| 2040 } | 2039 } |
| 2041 | 2040 |
| 2042 #endif | 2041 #endif |
| OLD | NEW |