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

Unified Diff: include/core/SkPicture.h

Issue 927443006: remove unneeded preroll (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 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 | « include/core/SkImage.h ('k') | include/core/SkShader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPicture.h
diff --git a/include/core/SkPicture.h b/include/core/SkPicture.h
index 5a48476db03bb9533dac2ef2833d4de5b4df5f45..5b2f7a99f754c78e68aed7b52dfd000a708ec4a8 100644
--- a/include/core/SkPicture.h
+++ b/include/core/SkPicture.h
@@ -171,22 +171,6 @@ public:
*/
bool willPlayBackBitmaps() const;
- /**
- * This is a general hint that the picture will (soon) be drawn into a SkCanvas with
- * corresponding attributes (e.g. clip, matrix, props). No drawing occurs, but some
- * expensive operations may be run (e.g. image decoding).
- *
- * Any of the parameters may be NULL.
- *
- * @param srcBounds If not NULL, this is the subset of the picture (in the same coordinates
- * as the picture's bounds) that preroll() should focus on.
- * @param initialMatrix If not NULL, this is the initialMatrix that is expected when the
- * picture is actually drawn.
- * @param props If not NULL, these are the expected props when the picture is actually drawn.
- */
- void preroll(const SkRect* srcBounds, const SkMatrix* initialMatrix, const SkSurfaceProps*,
- void* gpuCacheAccessor) const;
-
/** Return true if the SkStream/Buffer represents a serialized picture, and
fills out SkPictInfo. After this function returns, the data source is not
rewound so it will have to be manually reset before passing to
« no previous file with comments | « include/core/SkImage.h ('k') | include/core/SkShader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698