| 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 279 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 // TODO hack until batch is everywhere | 301 // TODO hack until batch is everywhere |
| 301 GrTargetCommands::DrawBatch* fDrawBatch; | 302 GrTargetCommands::DrawBatch* fDrawBatch; |
| 302 | 303 |
| 303 // This will go away when everything uses batch. However, in the short ter
m anything which | 304 // This will go away when everything uses batch. However, in the short ter
m anything which |
| 304 // might be put into the GrInOrderDrawBuffer needs to make sure it closes t
he last batch | 305 // might be put into the GrInOrderDrawBuffer needs to make sure it closes t
he last batch |
| 305 void closeBatch(); | 306 void closeBatch(); |
| 306 }; | 307 }; |
| 307 | 308 |
| 308 #endif | 309 #endif |
| 309 | 310 |
| OLD | NEW |