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

Unified Diff: include/core/SkImageFilter.h

Issue 1905753002: Image filters: remove SkBitmap-based cache. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 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 | include/effects/SkMatrixConvolutionImageFilter.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkImageFilter.h
diff --git a/include/core/SkImageFilter.h b/include/core/SkImageFilter.h
index 8cab6ef3a7a71f7385e17bf12101647726e3c92f..005702a8a310bcc50dec637cd644a988ad3b166a 100644
--- a/include/core/SkImageFilter.h
+++ b/include/core/SkImageFilter.h
@@ -15,13 +15,10 @@
#include "SkFlattenable.h"
#include "SkMatrix.h"
#include "SkRect.h"
-#include "SkSurfaceProps.h"
class GrContext;
class GrFragmentProcessor;
-class GrTexture;
class SkBaseDevice;
-class SkBitmap;
class SkColorFilter;
struct SkIPoint;
class SkSpecialImage;
@@ -43,9 +40,7 @@ public:
virtual ~Cache() {}
static Cache* Create(size_t maxBytes);
static Cache* Get();
- virtual bool get(const Key& key, SkBitmap* result, SkIPoint* offset) const = 0;
virtual SkSpecialImage* get(const Key& key, SkIPoint* offset) const = 0;
- virtual void set(const Key& key, const SkBitmap& result, const SkIPoint& offset) = 0;
virtual void set(const Key& key, SkSpecialImage* image, const SkIPoint& offset) = 0;
virtual void purge() = 0;
virtual void purgeByKeys(const Key[], int) = 0;
« no previous file with comments | « no previous file | include/effects/SkMatrixConvolutionImageFilter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698