Index: src/core/SkRecordDraw.h |
diff --git a/src/core/SkRecordDraw.h b/src/core/SkRecordDraw.h |
index 8df64cbecdde78f0f70bb16c8ccc71252eb75d0d..9b39dd6adb903ab534ada47194af2ff11a601d07 100644 |
--- a/src/core/SkRecordDraw.h |
+++ b/src/core/SkRecordDraw.h |
@@ -14,15 +14,13 @@ |
#include "SkMatrix.h" |
#include "SkRecord.h" |
+class SkLayerInfo; |
+ |
// 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 |
+ SkBBoxHierarchy* bbh, SkLayerInfo* data); |
// Draw an SkRecord into an SkCanvas. A convenience wrapper around SkRecords::Draw. |
void SkRecordDraw(const SkRecord&, SkCanvas*, const SkBBoxHierarchy*, SkDrawPictureCallback*); |