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

Side by Side Diff: src/core/SkImageCacherator.h

Issue 1420963008: Pull texture-backed bitmap resampler out of GrTextureParamsAdjuster code into its own class. (Closed) Base URL: https://skia.googlesource.com/skia.git@nomin
Patch Set: fix unused var warning Created 5 years, 1 month 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 | « no previous file | src/core/SkImageCacherator.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 2015 Google Inc. 2 * Copyright 2015 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 #ifndef SkImageCacherator_DEFINED 8 #ifndef SkImageCacherator_DEFINED
9 #define SkImageCacherator_DEFINED 9 #define SkImageCacherator_DEFINED
10 10
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
79 operator SkImageGenerator*() const { return fCacher->fNotThreadSafeGener ator; } 79 operator SkImageGenerator*() const { return fCacher->fNotThreadSafeGener ator; }
80 }; 80 };
81 81
82 SkMutex fMutexForGenerator; 82 SkMutex fMutexForGenerator;
83 SkAutoTDelete<SkImageGenerator> fNotThreadSafeGenerator; 83 SkAutoTDelete<SkImageGenerator> fNotThreadSafeGenerator;
84 84
85 const SkImageInfo fInfo; 85 const SkImageInfo fInfo;
86 const SkIPoint fOrigin; 86 const SkIPoint fOrigin;
87 const uint32_t fUniqueID; 87 const uint32_t fUniqueID;
88 88
89 friend class Cacherator_GrTextureParamsAdjuster; 89 friend class Cacherator_GrTextureMaker;
90 }; 90 };
91 91
92 #endif 92 #endif
OLDNEW
« no previous file with comments | « no previous file | src/core/SkImageCacherator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698