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

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

Issue 1510903002: Stop wrapping images backed by generators as bitmaps in SkGpuDevice (except when tiling) (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: comment Created 5 years 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 operator SkImageGenerator*() const { return fCacher->fNotThreadSafeGener ator; } 88 operator SkImageGenerator*() const { return fCacher->fNotThreadSafeGener ator; }
89 }; 89 };
90 90
91 SkMutex fMutexForGenerator; 91 SkMutex fMutexForGenerator;
92 SkAutoTDelete<SkImageGenerator> fNotThreadSafeGenerator; 92 SkAutoTDelete<SkImageGenerator> fNotThreadSafeGenerator;
93 93
94 const SkImageInfo fInfo; 94 const SkImageInfo fInfo;
95 const SkIPoint fOrigin; 95 const SkIPoint fOrigin;
96 const uint32_t fUniqueID; 96 const uint32_t fUniqueID;
97 97
98 friend class Cacherator_GrTextureMaker; 98 friend class GrImageTextureMaker;
99 }; 99 };
100 100
101 #endif 101 #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