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

Unified Diff: include/core/SkMask.h

Issue 286273002: Optimize CSS box-shadow performance by caching the SkMask of the blur effect. (Closed) Base URL: https://skia.googlecode.com/svn/trunk
Patch Set: rebase with latest skia in git instead of svn trunk Created 6 years, 6 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/core/SkMaskFilter.h » ('j') | src/core/SkMaskFilter.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkMask.h
diff --git a/include/core/SkMask.h b/include/core/SkMask.h
index 5cfef970c5024fd91bd2b2767c4fd93f33d9cf8d..d236ecdd899d06c9ea7eda88df24f142f3ca0dca 100644
--- a/include/core/SkMask.h
+++ b/include/core/SkMask.h
@@ -136,6 +136,12 @@ struct SkMask {
};
};
+struct SkDiscardableMemoryMask {
Stephen White 2014/06/09 18:03:57 Naming nit: instead of baking "discardable memory"
+ SkMask fMask;
+ uint32_t fPixelGenerationID;
+ void* fCacheId;
+};
+
///////////////////////////////////////////////////////////////////////////////
/**
« no previous file with comments | « no previous file | include/core/SkMaskFilter.h » ('j') | src/core/SkMaskFilter.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698