| 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 #include "GrReorderCommandBuilder.h" | 8 #include "GrReorderCommandBuilder.h" |
| 9 | 9 |
| 10 template <class Left, class Right> | 10 template <class Left, class Right> |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 98 GrBATCH_INFO("\t\tReached max lookback %d\n", i); | 98 GrBATCH_INFO("\t\tReached max lookback %d\n", i); |
| 99 } | 99 } |
| 100 #endif | 100 #endif |
| 101 } | 101 } |
| 102 #if GR_BATCH_SPEW | 102 #if GR_BATCH_SPEW |
| 103 else { | 103 else { |
| 104 GrBATCH_INFO("\t\tBreaking because empty command buffer\n"); | 104 GrBATCH_INFO("\t\tBreaking because empty command buffer\n"); |
| 105 } | 105 } |
| 106 #endif | 106 #endif |
| 107 | 107 |
| 108 return GrNEW_APPEND_TO_RECORDER(*this->cmdBuffer(), DrawBatch, (batch, this-
>batchTarget())); | 108 return GrNEW_APPEND_TO_RECORDER(*this->cmdBuffer(), DrawBatch, (batch)); |
| 109 } | 109 } |
| OLD | NEW |