aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/SkPicturePlayback.h
diff options
context:
space:
mode:
authorGravatar robertphillips <robertphillips@google.com>2014-06-24 13:10:43 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2014-06-24 13:10:43 -0700
commit4ec84da746d66e1bcb76ab2f8b94602b8e966589 (patch)
tree3d889de63a2a91b5111a753f8d62dafd6b009472 /src/core/SkPicturePlayback.h
parent332600fb43fcaaa022c3c0b04ba52b371930fb15 (diff)
Move allocation of texture from SkGpuDevice to GrLayerCache
In order to atlas the layers the GrLayerCache needs to be given more control over where a given layer's texture is allocated (i.e., it could be a raw scratch texture or in the cache). R=bsalomon@google.com Author: robertphillips@google.com Review URL: https://codereview.chromium.org/350183006
Diffstat (limited to 'src/core/SkPicturePlayback.h')
-rw-r--r--src/core/SkPicturePlayback.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/SkPicturePlayback.h b/src/core/SkPicturePlayback.h
index 3cdd9af3f3..87380a6aaf 100644
--- a/src/core/SkPicturePlayback.h
+++ b/src/core/SkPicturePlayback.h
@@ -345,7 +345,7 @@ private:
size_t fStart;
size_t fStop;
SkIPoint fPos;
- SkBitmap* fBM;
+ SkBitmap* fBM; // fBM is allocated so ReplacementInfo can remain POD
const SkPaint* fPaint; // Note: this object doesn't own the paint
};