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

Unified Diff: src/core/SkPictureShader.h

Issue 866773002: Use an image generator to back SkPictureShader tiles. (Closed) Base URL: https://chromium.googlesource.com/skia.git@master
Patch Set: preserve LCD text comment Created 5 years, 10 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 8df9f539b8a77fb84d39c405035e2e095c38d3cb..ef14555d81b3d79cb62314b537e711417a059ac3 100644
--- a/src/core/SkPictureShader.h
+++ b/src/core/SkPictureShader.h
@@ -23,7 +23,7 @@ class SkPictureShader : public SkShader {
public:
static SkPictureShader* Create(const SkPicture*, TileMode, TileMode, const SkMatrix*,
const SkRect*);
- virtual ~SkPictureShader();
+ virtual ~SkPictureShader() {}
reed2 2015/02/24 20:18:20 can probably just remove this guy entirely.
f(malita) 2015/02/24 20:39:30 Done.
size_t contextSize() const SK_OVERRIDE;
@@ -43,9 +43,9 @@ private:
SkShader* refBitmapShader(const SkMatrix&, const SkMatrix* localMatrix) const;
- const SkPicture* fPicture;
- SkRect fTile;
- TileMode fTmx, fTmy;
+ SkAutoTUnref<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