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

Unified Diff: include/core/SkPictureRecorder.h

Issue 618303002: Remove DEPRECATED_beginRecording(). (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: fix up benches Created 6 years, 3 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/SkPicture.h ('k') | src/core/SkPicture.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: include/core/SkPictureRecorder.h
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h
index 8f3afb3a76d6f60fe5570e3b9cc1a9aa903b9e56..c48f35de6d7f64dd45162686571ad18321a9247b 100644
--- a/include/core/SkPictureRecorder.h
+++ b/include/core/SkPictureRecorder.h
@@ -48,18 +48,6 @@ public:
SkBBHFactory* bbhFactory = NULL,
uint32_t recordFlags = 0);
- // As usual, we have a deprecated old version and a maybe almost working
- // new version. We currently point beginRecording() to EXPERIMENTAL_beginRecording().
-
- // Old slower backend.
- SkCanvas* DEPRECATED_beginRecording(SkScalar width, SkScalar height,
- SkBBHFactory* bbhFactory = NULL,
- uint32_t recordFlags = 0);
-
- // New faster backend.
- SkCanvas* EXPERIMENTAL_beginRecording(SkScalar width, SkScalar height,
- SkBBHFactory* bbhFactory = NULL);
-
/** Returns the recording canvas if one is active, or NULL if recording is
not active. This does not alter the refcnt on the canvas (if present).
*/
@@ -87,13 +75,8 @@ private:
SkScalar fCullWidth;
SkScalar fCullHeight;
SkAutoTUnref<SkBBoxHierarchy> fBBH;
-
- // One of these two canvases will be non-NULL.
- SkAutoTUnref<SkPictureRecord> fPictureRecord; // beginRecording()
- SkAutoTUnref<SkRecorder> fRecorder; // EXPERIMENTAL_beginRecording()
-
- // Used by EXPERIMENTAL_beginRecording().
- SkAutoTDelete<SkRecord> fRecord;
+ SkAutoTUnref<SkRecorder> fRecorder;
+ SkAutoTDelete<SkRecord> fRecord;
typedef SkNoncopyable INHERITED;
};
« no previous file with comments | « include/core/SkPicture.h ('k') | src/core/SkPicture.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698