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

Unified Diff: src/gpu/SkGpuDevice.h

Issue 1893993002: Revert of Remove deprecated paths from image filter infrastructure. (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 | « src/core/SkImageFilter.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/SkGpuDevice.h
diff --git a/src/gpu/SkGpuDevice.h b/src/gpu/SkGpuDevice.h
index 1923525070d92cc78ddb992787be8e25aec8872b..4eaeab7a721d75677d132a9666cf9243a45bd20b 100644
--- a/src/gpu/SkGpuDevice.h
+++ b/src/gpu/SkGpuDevice.h
@@ -130,6 +130,17 @@
const SkBitmap& onAccessBitmap() override;
bool onAccessPixels(SkPixmap*) override;
+ bool canHandleImageFilter(const SkImageFilter*) override;
+ virtual bool filterImage(const SkImageFilter*, const SkBitmap&,
+ const SkImageFilter::Context&,
+ SkBitmap*, SkIPoint*) override;
+
+ bool filterTexture(GrContext*, GrTexture*, int width, int height, const SkImageFilter*,
+ const SkImageFilter::Context&,
+ SkBitmap* result, SkIPoint* offset);
+
+ static SkImageFilter::Cache* NewImageFilterCache();
+
// for debugging purposes only
void drawTexture(GrTexture*, const SkRect& dst, const SkPaint&);
« no previous file with comments | « src/core/SkImageFilter.cpp ('k') | src/gpu/SkGpuDevice.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698