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

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

Issue 2167173002: Remove SkGrPixelRef (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 5 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/core/SkSpecialImage.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 "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 "SkGr.h" 21 #include "SkGr.h"
22 #include "SkGrPixelRef.h"
23 #include "SkGrPriv.h" 22 #include "SkGrPriv.h"
24 #include "SkImage_Base.h" 23 #include "SkImage_Base.h"
25 #include "SkImageCacherator.h" 24 #include "SkImageCacherator.h"
26 #include "SkImageFilter.h" 25 #include "SkImageFilter.h"
27 #include "SkImageFilterCache.h" 26 #include "SkImageFilterCache.h"
28 #include "SkMaskFilter.h" 27 #include "SkMaskFilter.h"
29 #include "SkNinePatchIter.h" 28 #include "SkNinePatchIter.h"
30 #include "SkPathEffect.h" 29 #include "SkPathEffect.h"
31 #include "SkPicture.h" 30 #include "SkPicture.h"
32 #include "SkPictureData.h" 31 #include "SkPictureData.h"
(...skipping 1837 matching lines...) Expand 10 before | Expand all | Expand 10 after
1870 } 1869 }
1871 1870
1872 SkImageFilterCache* SkGpuDevice::getImageFilterCache() { 1871 SkImageFilterCache* SkGpuDevice::getImageFilterCache() {
1873 ASSERT_SINGLE_OWNER 1872 ASSERT_SINGLE_OWNER
1874 // We always return a transient cache, so it is freed after each 1873 // We always return a transient cache, so it is freed after each
1875 // filter traversal. 1874 // filter traversal.
1876 return SkImageFilterCache::Create(kDefaultImageFilterCacheSize); 1875 return SkImageFilterCache::Create(kDefaultImageFilterCacheSize);
1877 } 1876 }
1878 1877
1879 #endif 1878 #endif
OLDNEW
« no previous file with comments | « src/core/SkSpecialImage.cpp ('k') | src/gpu/SkGr.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698