Split SkPicturePlayback out of SkPictureData
authorrobertphillips <robertphillips@google.com>
Mon, 7 Jul 2014 20:46:35 +0000 (13:46 -0700)
committerCommit bot <commit-bot@chromium.org>
Mon, 7 Jul 2014 20:46:35 +0000 (13:46 -0700)
commitce4dd3de38cd7c29bf5b9d8a8efb55c08ec9be47
tree93e49c2020bb0a75e8acc3d09b8266962a171c14
parent5e8a3c1b83b8e6f41452298a1da5343b471759fd
Split SkPicturePlayback out of SkPictureData

This splits the playback functionality out of SkPictureData. The old SkPictureData::draw method is pulled out along
with its supporting functions as verbatim as possible. Some follow on CLs will be required to:

   re-enable profiling in the debugger (and remove the vestiges of SkTimedPicture)
   re-enable display of command offsets in the picture (this should probably wait until we've switched to SkRecord though)
   Clean up CachedOperationList (maybe fuse with SkPicture::OperationList)
   Split SkPicturePlayback into a base class and two derived classes
   Implement parallel version of GatherGPUInfo for SkRecord

Landing this is blocked on removing Android's use of the abortPlayback entry point.

R=mtklein@google.com, reed@google.com

Author: robertphillips@google.com

Review URL: https://codereview.chromium.org/377623002
18 files changed:
debugger/QT/SkDebuggerGUI.cpp
debugger/QT/SkDebuggerGUI.h
gyp/core.gypi
include/core/SkPicture.h
include/utils/SkPictureUtils.h
src/core/SkPicture.cpp
src/core/SkPictureData.cpp
src/core/SkPictureData.h
src/core/SkPicturePlayback.cpp [new file with mode: 0644]
src/core/SkPicturePlayback.h [new file with mode: 0644]
src/gpu/GrPictureUtils.cpp
src/gpu/SkGpuDevice.cpp
src/utils/SkPictureUtils.cpp
src/utils/debugger/SkDebugCanvas.h
tools/CopyTilesRenderer.cpp
tools/CopyTilesRenderer.h
tools/PictureRenderer.cpp
tools/PictureRenderer.h