diff options
author | Android Chromium Automerger <chromium-automerger@android> | 2014-05-06 07:27:31 +0000 |
---|---|---|
committer | Android Chromium Automerger <chromium-automerger@android> | 2014-05-06 07:27:31 +0000 |
commit | 61282f5b3e9e75c5a6d0573cbcb0a866c9bd2b1b (patch) | |
tree | b99492c1d1d9a2044b0e5e67fd993eff2a86cf29 /gpu/GrPictureUtils.h | |
parent | b4711302d408d8eaa5549aeaf35dc809395c6372 (diff) | |
parent | d1d24d273a220b6b76c4918f04cbb1b1769f3588 (diff) | |
download | src-61282f5b3e9e75c5a6d0573cbcb0a866c9bd2b1b.tar.gz |
Merge third_party/skia/src from https://chromium.googlesource.com/external/skia/src.git at d1d24d273a220b6b76c4918f04cbb1b1769f3588
This commit was generated by merge_from_chromium.py.
Change-Id: Icd49d069b5a6bde2641b9774e3f9a70108a8faa5
Diffstat (limited to 'gpu/GrPictureUtils.h')
-rw-r--r-- | gpu/GrPictureUtils.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/gpu/GrPictureUtils.h b/gpu/GrPictureUtils.h index 5ca41320..6b4d901c 100644 --- a/gpu/GrPictureUtils.h +++ b/gpu/GrPictureUtils.h @@ -17,21 +17,8 @@ class GPUAccelData : public SkPicture::AccelData { public: // Information about a given saveLayer in an SkPicture struct SaveLayerInfo { - // True if the SaveLayerInfo is valid. False if either 'fOffset' is - // invalid (due to a non-invertible CTM) or 'fPaint' is NULL (due - // to a non-copyable paint). - bool fValid; // The size of the saveLayer SkISize fSize; - // The CTM in which this layer's draws must occur. It already incorporates - // the translation needed to map the layer's top-left point to the origin. - SkMatrix fCTM; - // The offset that needs to be passed to drawBitmap to correctly - // position the pre-rendered layer. - SkPoint fOffset; - // The paint to use on restore. NULL if the paint was not copyable (and - // thus that this layer should not be pulled forward). - const SkPaint* fPaint; // The ID of this saveLayer in the picture. 0 is an invalid ID. size_t fSaveLayerOpID; // The ID of the matching restore in the picture. 0 is an invalid ID. @@ -39,8 +26,6 @@ public: // True if this saveLayer has at least one other saveLayer nested within it. // False otherwise. bool fHasNestedLayers; - // True if this saveLayer is nested within another. False otherwise. - bool fIsNested; }; GPUAccelData(Key key) : INHERITED(key) { } @@ -58,14 +43,6 @@ public: return fSaveLayerInfo[index]; } - // We may, in the future, need to pass in the GPUDevice in order to - // incorporate the clip and matrix state into the key - static SkPicture::AccelData::Key ComputeAccelDataKey() { - static const SkPicture::AccelData::Key gGPUID = SkPicture::AccelData::GenerateDomain(); - - return gGPUID; - } - protected: SkTDArray<SaveLayerInfo> fSaveLayerInfo; |