Move SkRecordComputeLayers and CollectLayers into SkRecordDraw.cpp
authorrobertphillips <robertphillips@chromium.org>
Wed, 12 Nov 2014 14:46:08 +0000 (06:46 -0800)
committerCommit bot <commit-bot@chromium.org>
Wed, 12 Nov 2014 14:46:08 +0000 (06:46 -0800)
commit4e8e3421aa919a82eb1dd287fecbd079f5a320b4
treeeb1a93b4b6bd62299b0092d53f8771a31f5a625a
parentb103d0c64ae837ac1b6006b952e29347d8377490
Move SkRecordComputeLayers and CollectLayers into SkRecordDraw.cpp

Rather then exposing parts of FillBounds (as in Expose FillBounds to allow GrPictureUtils::CollectLayers to be layered on top of it - https://codereview.chromium.org/698643002/), this CL moves CollectLayers into SkRecordDraw.cpp to accomplish the layering.

Review URL: https://codereview.chromium.org/716913003
include/core/SkPicture.h
src/core/SkRecordDraw.cpp
src/core/SkRecordDraw.h
src/gpu/GrPictureUtils.cpp
src/gpu/GrPictureUtils.h
tests/PictureTest.cpp