| Index: src/gpu/GrInOrderCommandBuilder.cpp
|
| diff --git a/src/gpu/GrInOrderCommandBuilder.cpp b/src/gpu/GrInOrderCommandBuilder.cpp
|
| index 89a2502b727bdd8aee6792687e0bba22286279d6..0fc7effd9980cdeb25946f7027a158c1fea29005 100644
|
| --- a/src/gpu/GrInOrderCommandBuilder.cpp
|
| +++ b/src/gpu/GrInOrderCommandBuilder.cpp
|
| @@ -25,12 +25,13 @@ static bool path_fill_type_is_winding(const GrStencilSettings& pathStencilSettin
|
| return isWinding;
|
| }
|
|
|
| -GrTargetCommands::Cmd* GrInOrderCommandBuilder::recordDrawBatch(GrBatch* batch) {
|
| +GrTargetCommands::Cmd* GrInOrderCommandBuilder::recordDrawBatch(GrBatch* batch,
|
| + const GrCaps& caps) {
|
| GrBATCH_INFO("In-Recording (%s, %u)\n", batch->name(), batch->uniqueID());
|
| if (!this->cmdBuffer()->empty() &&
|
| Cmd::kDrawBatch_CmdType == this->cmdBuffer()->back().type()) {
|
| DrawBatch* previous = static_cast<DrawBatch*>(&this->cmdBuffer()->back());
|
| - if (previous->batch()->combineIfPossible(batch)) {
|
| + if (previous->batch()->combineIfPossible(batch, caps)) {
|
| GrBATCH_INFO("\tBatching with (%s, %u)\n",
|
| previous->fBatch->name(), previous->fBatch->uniqueID());
|
| return NULL;
|
|
|