Index: src/core/SkRecordDraw.h |
diff --git a/src/core/SkRecordDraw.h b/src/core/SkRecordDraw.h |
index f3f00881ea69b2cb1be5892c6935a2b5d16df577..8df64cbecdde78f0f70bb16c8ccc71252eb75d0d 100644 |
--- a/src/core/SkRecordDraw.h |
+++ b/src/core/SkRecordDraw.h |
@@ -17,6 +17,13 @@ |
// Fill a BBH to be used by SkRecordDraw to accelerate playback. |
void SkRecordFillBounds(const SkRect& cullRect, const SkRecord&, SkBBoxHierarchy*); |
+#if SK_SUPPORT_GPU |
+class GrAccelData; |
+ |
+void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord& record, |
+ SkBBoxHierarchy* bbh, GrAccelData* data); |
+#endif |
+ |
// Draw an SkRecord into an SkCanvas. A convenience wrapper around SkRecords::Draw. |
void SkRecordDraw(const SkRecord&, SkCanvas*, const SkBBoxHierarchy*, SkDrawPictureCallback*); |