| 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 SkMultiPictureDraw_DEFINED | 8 #ifndef SkMultiPictureDraw_DEFINED |
| 9 #define SkMultiPictureDraw_DEFINED | 9 #define SkMultiPictureDraw_DEFINED |
| 10 | 10 |
| 11 #include "../private/SkTDArray.h" |
| 11 #include "SkMatrix.h" | 12 #include "SkMatrix.h" |
| 12 #include "SkTDArray.h" | |
| 13 | 13 |
| 14 class SkCanvas; | 14 class SkCanvas; |
| 15 class SkPaint; | 15 class SkPaint; |
| 16 class SkPicture; | 16 class SkPicture; |
| 17 | 17 |
| 18 /** \class SkMultiPictureDraw | 18 /** \class SkMultiPictureDraw |
| 19 | 19 |
| 20 The MultiPictureDraw object accepts several picture/canvas pairs and | 20 The MultiPictureDraw object accepts several picture/canvas pairs and |
| 21 then attempts to optimally draw the pictures into the canvases, sharing | 21 then attempts to optimally draw the pictures into the canvases, sharing |
| 22 as many resources as possible. | 22 as many resources as possible. |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 66 void draw(); | 66 void draw(); |
| 67 | 67 |
| 68 static void Reset(SkTDArray<DrawData>&); | 68 static void Reset(SkTDArray<DrawData>&); |
| 69 }; | 69 }; |
| 70 | 70 |
| 71 SkTDArray<DrawData> fThreadSafeDrawData; | 71 SkTDArray<DrawData> fThreadSafeDrawData; |
| 72 SkTDArray<DrawData> fGPUDrawData; | 72 SkTDArray<DrawData> fGPUDrawData; |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 #endif | 75 #endif |
| OLD | NEW |