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

Unified Diff: src/effects/SkTableMaskFilter.cpp

Issue 471473002: Optimize CSS box-shadow performance (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: store SkMask and SkCachedData in cache 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
Index: src/effects/SkTableMaskFilter.cpp
diff --git a/src/effects/SkTableMaskFilter.cpp b/src/effects/SkTableMaskFilter.cpp
index 42b4ab6ff6d41cbdc3b613878cb0b7c17be0fcc3..90ed2ebdee89f4fdc0589b4e771a2f716ea8d982 100644
--- a/src/effects/SkTableMaskFilter.cpp
+++ b/src/effects/SkTableMaskFilter.cpp
@@ -25,7 +25,7 @@ SkTableMaskFilter::SkTableMaskFilter(const uint8_t table[256]) {
SkTableMaskFilter::~SkTableMaskFilter() {}
bool SkTableMaskFilter::filterMask(SkMask* dst, const SkMask& src,
- const SkMatrix&, SkIPoint* margin) const {
+ const SkMatrix&, SkIPoint* margin, SkCachedData** data) const {
if (src.fFormat != SkMask::kA8_Format) {
return false;
}

Powered by Google App Engine
This is Rietveld 408576698