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

Unified Diff: src/core/SkPictureShader.h

Issue 671683004: Picture shader resource caching. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: use the cache allocator Created 6 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | src/core/SkPictureShader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/core/SkPictureShader.h
diff --git a/src/core/SkPictureShader.h b/src/core/SkPictureShader.h
index 24aa7803c9d8be54af2ba2b97601c174876330b8..a73337722e8e64e1a8d3f385f51b462a792c2c9c 100644
--- a/src/core/SkPictureShader.h
+++ b/src/core/SkPictureShader.h
@@ -43,13 +43,9 @@ private:
SkShader* refBitmapShader(const SkMatrix&, const SkMatrix* localMatrix) const;
- const SkPicture* fPicture;
- SkRect fTile;
- TileMode fTmx, fTmy;
-
- mutable SkMutex fCachedBitmapShaderMutex;
- mutable SkAutoTUnref<SkShader> fCachedBitmapShader;
- mutable SkSize fCachedTileScale;
+ const SkPicture* fPicture;
+ SkRect fTile;
+ TileMode fTmx, fTmy;
class PictureShaderContext : public SkShader::Context {
public:
« no previous file with comments | « no previous file | src/core/SkPictureShader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698