OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2015 Google Inc. | 2 * Copyright 2015 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 GrTargetCommands_DEFINED | 8 #ifndef GrTargetCommands_DEFINED |
9 #define GrTargetCommands_DEFINED | 9 #define GrTargetCommands_DEFINED |
10 | 10 |
| 11 #include "GrBatch.h" |
11 #include "GrBatchTarget.h" | 12 #include "GrBatchTarget.h" |
12 #include "GrDrawTarget.h" | 13 #include "GrDrawTarget.h" |
13 #include "GrGpu.h" | 14 #include "GrGpu.h" |
14 #include "GrPath.h" | 15 #include "GrPath.h" |
15 #include "GrPendingProgramElement.h" | 16 #include "GrPendingProgramElement.h" |
16 #include "GrRenderTarget.h" | 17 #include "GrRenderTarget.h" |
17 #include "GrTRecorder.h" | 18 #include "GrTRecorder.h" |
18 #include "SkRect.h" | 19 #include "SkRect.h" |
19 #include "SkTypes.h" | 20 #include "SkTypes.h" |
20 | 21 |
(...skipping 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 // TODO hack until batch is everywhere | 306 // TODO hack until batch is everywhere |
306 GrTargetCommands::DrawBatch* fDrawBatch; | 307 GrTargetCommands::DrawBatch* fDrawBatch; |
307 | 308 |
308 // This will go away when everything uses batch. However, in the short ter
m anything which | 309 // This will go away when everything uses batch. However, in the short ter
m anything which |
309 // might be put into the GrInOrderDrawBuffer needs to make sure it closes t
he last batch | 310 // might be put into the GrInOrderDrawBuffer needs to make sure it closes t
he last batch |
310 void closeBatch(); | 311 void closeBatch(); |
311 }; | 312 }; |
312 | 313 |
313 #endif | 314 #endif |
314 | 315 |
OLD | NEW |