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

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

Issue 1397123002: Move functions from SkGr to SkGrPriv.h (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 9th time's a charm? Created 5 years, 2 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/GrSurface.cpp ('k') | src/gpu/SkGr.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 "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
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
OLDNEW
« no previous file with comments | « src/gpu/GrSurface.cpp ('k') | src/gpu/SkGr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698