Index: include/core/SkPictureRecorder.h |
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h |
index c00d1b3dfb636d9f26cbb73e6c1592294eb18e77..bd8614813b37a3bf57cf07dfdff9677c16d76607 100644 |
--- a/include/core/SkPictureRecorder.h |
+++ b/include/core/SkPictureRecorder.h |
@@ -41,7 +41,17 @@ public: |
SkBBHFactory* bbhFactory = NULL, |
uint32_t recordFlags = 0); |
- /** Same as beginRecording(), using a new faster backend. */ |
+ // As usual, we have a deprecated old version and a maybe almost working |
+ // new version. We currently point beginRecording() to |
+ // DEPRECATED_beginRecording() unless SK_PICTURE_USE_SK_RECORD is defined, |
+ // then we use EXPERIMENTAL_beginRecording(). |
+ |
+ // Old slower backend. |
+ SkCanvas* DEPRECATED_beginRecording(int width, int height, |
+ SkBBHFactory* bbhFactory = NULL, |
+ uint32_t recordFlags = 0); |
+ |
+ // New faster backend. |
SkCanvas* EXPERIMENTAL_beginRecording(int width, int height, |
SkBBHFactory* bbhFactory = NULL); |