Index: src/core/SkRecordDraw.h |
diff --git a/src/core/SkRecordDraw.h b/src/core/SkRecordDraw.h |
index a9557f45ea2eb309f3941d5234785c6ea930aa98..8da7fb5e4a37bc8898166114b2a2dc2fc22d107a 100644 |
--- a/src/core/SkRecordDraw.h |
+++ b/src/core/SkRecordDraw.h |
@@ -8,12 +8,16 @@ |
#ifndef SkRecordDraw_DEFINED |
#define SkRecordDraw_DEFINED |
-#include "SkRecord.h" |
+#include "SkBBoxHierarchy.h" |
#include "SkCanvas.h" |
#include "SkDrawPictureCallback.h" |
+#include "SkRecord.h" |
+ |
+// Fill a BBH to be used by SkRecordDraw to accelerate playback. |
+void SkRecordFillBounds(const SkRecord&, SkBBoxHierarchy*); |
// Draw an SkRecord into an SkCanvas. A convenience wrapper around SkRecords::Draw. |
-void SkRecordDraw(const SkRecord&, SkCanvas*, SkDrawPictureCallback* = NULL); |
+void SkRecordDraw(const SkRecord&, SkCanvas*, const SkBBoxHierarchy*, SkDrawPictureCallback*); |
namespace SkRecords { |