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 GrLayerHoister_DEFINED | 8 #ifndef GrLayerHoister_DEFINED |
9 #define GrLayerHoister_DEFINED | 9 #define GrLayerHoister_DEFINED |
10 | 10 |
| 11 #include "SkMatrix.h" |
11 #include "SkPicture.h" | 12 #include "SkPicture.h" |
12 #include "SkTDArray.h" | 13 #include "SkTDArray.h" |
13 | 14 |
14 class GrAccelData; | 15 class GrAccelData; |
15 struct GrCachedLayer; | 16 struct GrCachedLayer; |
16 class GrReplacements; | 17 class GrReplacements; |
17 struct SkRect; | 18 struct SkRect; |
18 | 19 |
19 class GrHoistedLayer { | 20 class GrHoistedLayer { |
20 public: | 21 public: |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 @param nonAtlased Unneeded layers in their own textures | 68 @param nonAtlased Unneeded layers in their own textures |
68 @param recycled Unneeded layers that did not require rendering | 69 @param recycled Unneeded layers that did not require rendering |
69 */ | 70 */ |
70 static void UnlockLayers(GrContext* context, | 71 static void UnlockLayers(GrContext* context, |
71 const SkTDArray<GrHoistedLayer>& atlased, | 72 const SkTDArray<GrHoistedLayer>& atlased, |
72 const SkTDArray<GrHoistedLayer>& nonAtlased, | 73 const SkTDArray<GrHoistedLayer>& nonAtlased, |
73 const SkTDArray<GrHoistedLayer>& recycled); | 74 const SkTDArray<GrHoistedLayer>& recycled); |
74 }; | 75 }; |
75 | 76 |
76 #endif | 77 #endif |
OLD | NEW |