OLD | NEW |
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 Loading... |
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 |
OLD | NEW |