| Index: src/gpu/GrCommandBuilder.cpp
|
| diff --git a/src/gpu/GrCommandBuilder.cpp b/src/gpu/GrCommandBuilder.cpp
|
| index 297424c6aa039c01f70d0d36fa89249e1beaf03d..2ff59bcecd257e848f1117d17ba3a19efc8e39a2 100644
|
| --- a/src/gpu/GrCommandBuilder.cpp
|
| +++ b/src/gpu/GrCommandBuilder.cpp
|
| @@ -7,6 +7,17 @@
|
|
|
| #include "GrCommandBuilder.h"
|
|
|
| +#include "GrInOrderCommandBuilder.h"
|
| +#include "GrReorderCommandBuilder.h"
|
| +
|
| +GrCommandBuilder* GrCommandBuilder::Create(GrGpu* gpu, bool reorder) {
|
| + if (reorder) {
|
| + return SkNEW_ARGS(GrReorderCommandBuilder, (gpu));
|
| + } else {
|
| + return SkNEW_ARGS(GrInOrderCommandBuilder, (gpu));
|
| + }
|
| +}
|
| +
|
| GrTargetCommands::Cmd* GrCommandBuilder::recordClear(const SkIRect* rect,
|
| GrColor color,
|
| bool canIgnoreRect,
|
|
|