diff options
author | 2014-07-01 08:47:04 -0700 | |
---|---|---|
committer | 2014-07-01 08:47:04 -0700 | |
commit | db539905bb3af7bd05839a7d2558e97d5cb51ca2 (patch) | |
tree | 00e3749598f44533d5980945baeb448608821f86 /src/gpu/GrPictureUtils.cpp | |
parent | bb6a02823929584231c8e080ee69e7fb1178cbfb (diff) |
Rename SkPicturePlayback to SkPictureData
This is in preparation for splitting the playback portion of the new SkPictureData class into a new SkPicturePlayback class.
R=reed@google.com, mtklein@google.com
Author: robertphillips@google.com
Review URL: https://codereview.chromium.org/362773002
Diffstat (limited to 'src/gpu/GrPictureUtils.cpp')
-rw-r--r-- | src/gpu/GrPictureUtils.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gpu/GrPictureUtils.cpp b/src/gpu/GrPictureUtils.cpp index c677c64bd1..4da9e3ceab 100644 --- a/src/gpu/GrPictureUtils.cpp +++ b/src/gpu/GrPictureUtils.cpp @@ -9,7 +9,7 @@ #include "SkDevice.h" #include "SkDraw.h" #include "SkPaintPriv.h" -#include "SkPicturePlayback.h" +#include "SkPictureData.h" SkPicture::AccelData::Key GPUAccelData::ComputeAccelDataKey() { static const SkPicture::AccelData::Key gGPUID = SkPicture::AccelData::GenerateDomain(); @@ -250,12 +250,12 @@ protected: virtual void onDrawPicture(const SkPicture* picture) SK_OVERRIDE { // BBH-based rendering doesn't re-issue many of the operations the gather // process cares about (e.g., saves and restores) so it must be disabled. - if (NULL != picture->fPlayback.get()) { - picture->fPlayback->setUseBBH(false); + if (NULL != picture->fData.get()) { + picture->fData->setUseBBH(false); } picture->draw(this); - if (NULL != picture->fPlayback.get()) { - picture->fPlayback->setUseBBH(true); + if (NULL != picture->fData.get()) { + picture->fData->setUseBBH(true); } } |