Chromium Code Reviews| Index: src/core/SkRecordDraw.h |
| diff --git a/src/core/SkRecordDraw.h b/src/core/SkRecordDraw.h |
| index c2db37aebda96cea0e09cbfe9a0bfa657638d7f8..85fa73a9cf18b3f73f5988cd5800b3a1286ac769 100644 |
| --- a/src/core/SkRecordDraw.h |
| +++ b/src/core/SkRecordDraw.h |
| @@ -17,12 +17,12 @@ |
| class SkDrawable; |
| class SkLayerInfo; |
| -// Fill a BBH to be used by SkRecordDraw to accelerate playback. |
| -void SkRecordFillBounds(const SkRect& cullRect, const SkRecord&, SkBBoxHierarchy*); |
| +// Calculate conservative identity space bounds for each op in the record. |
| +void SkRecordFillBounds(const SkRect& cullRect, const SkRecord&, SkRect bounds[]); |
|
robertphillips
2015/10/23 19:07:07
Maybe: This code gathers information about saveLay
mtklein_C
2015/10/23 19:09:49
Done.
|
| -void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord& record, |
| - const SkBigPicture::SnapshotArray*, |
| - SkBBoxHierarchy* bbh, SkLayerInfo* data); |
| +// SkRecordFillBounds(), and more! (Perhaps Robert could fill in here...) |
| +void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord&, SkRect bounds[], |
| + const SkBigPicture::SnapshotArray*, SkLayerInfo* data); |
| // Draw an SkRecord into an SkCanvas. A convenience wrapper around SkRecords::Draw. |
| void SkRecordDraw(const SkRecord&, SkCanvas*, SkPicture const* const drawablePicts[], |