OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #ifndef GrPictureUtils_DEFINED | 8 #ifndef GrPictureUtils_DEFINED |
9 #define GrPictureUtils_DEFINED | 9 #define GrPictureUtils_DEFINED |
10 | 10 |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 // We may, in the future, need to pass in the GPUDevice in order to | 69 // We may, in the future, need to pass in the GPUDevice in order to |
70 // incorporate the clip and matrix state into the key | 70 // incorporate the clip and matrix state into the key |
71 static SkPicture::AccelData::Key ComputeAccelDataKey(); | 71 static SkPicture::AccelData::Key ComputeAccelDataKey(); |
72 | 72 |
73 private: | 73 private: |
74 SkTArray<SaveLayerInfo, true> fSaveLayerInfo; | 74 SkTArray<SaveLayerInfo, true> fSaveLayerInfo; |
75 | 75 |
76 typedef SkPicture::AccelData INHERITED; | 76 typedef SkPicture::AccelData INHERITED; |
77 }; | 77 }; |
78 | 78 |
79 void SkRecordComputeLayers(const SkRect& cullRect, const SkRecord& record, | |
80 SkBBoxHierarchy* bbh, GrAccelData* data); | |
81 | |
82 #endif // GrPictureUtils_DEFINED | 79 #endif // GrPictureUtils_DEFINED |
OLD | NEW |