Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(154)

Side by Side Diff: src/gpu/SkGpuDevice.cpp

Issue 1104343003: remove old text contexts and fontcache (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: tweak Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/GrStencilAndCoverTextContext.cpp ('k') | tools/render_pictures_main.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
OLDNEW
« no previous file with comments | « src/gpu/GrStencilAndCoverTextContext.cpp ('k') | tools/render_pictures_main.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698