aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/core
diff options
context:
space:
mode:
Diffstat (limited to 'include/core')
-rw-r--r--include/core/SkDevice.h13
-rw-r--r--include/core/SkPictureRecorder.h4
2 files changed, 2 insertions, 15 deletions
diff --git a/include/core/SkDevice.h b/include/core/SkDevice.h
index d23aa6916f..d7361a2565 100644
--- a/include/core/SkDevice.h
+++ b/include/core/SkDevice.h
@@ -310,19 +310,6 @@ protected:
virtual bool onAccessPixels(SkPixmap*) { return false; }
- /**
- * PRIVATE / EXPERIMENTAL -- do not call
- * This entry point gives the backend an opportunity to take over the rendering
- * of 'picture'. If optimization data is available (due to an earlier
- * 'optimize' call) this entry point should make use of it and return true
- * if all rendering has been done. If false is returned, SkCanvas will
- * perform its own rendering pass. It is acceptable for the backend
- * to perform some device-specific warm up tasks and then let SkCanvas
- * perform the main rendering loop (by return false from here).
- */
- virtual bool EXPERIMENTAL_drawPicture(SkCanvas*, const SkPicture*, const SkMatrix*,
- const SkPaint*);
-
struct CreateInfo {
static SkPixelGeometry AdjustGeometry(const SkImageInfo&, TileUsage, SkPixelGeometry,
bool preserveLCDText);
diff --git a/include/core/SkPictureRecorder.h b/include/core/SkPictureRecorder.h
index 419c01bc88..cc30be19da 100644
--- a/include/core/SkPictureRecorder.h
+++ b/include/core/SkPictureRecorder.h
@@ -31,9 +31,9 @@ public:
~SkPictureRecorder();
enum RecordFlags {
- // This flag indicates that, if some BHH is being computed, saveLayer
- // information should also be extracted at the same time.
+#ifdef SK_SUPPORT_LEGACY_COMPUTESAVELAYER_FLAG
kComputeSaveLayerInfo_RecordFlag = 1 << 0,
+#endif
// If you call drawPicture() or drawDrawable() on the recording canvas, this flag forces
// that object to playback its contents immediately rather than reffing the object.