| Index: src/gpu/GrCommandBuilder.h
|
| diff --git a/src/gpu/GrCommandBuilder.h b/src/gpu/GrCommandBuilder.h
|
| index eb51b5b7216400481d5646e554f36ce84a1474c6..90099ee2ef973f0dd73b1682842784f65e1f305e 100644
|
| --- a/src/gpu/GrCommandBuilder.h
|
| +++ b/src/gpu/GrCommandBuilder.h
|
| @@ -17,7 +17,7 @@ public:
|
| typedef GrTargetCommands::Cmd Cmd;
|
| typedef GrTargetCommands::State State;
|
|
|
| - GrCommandBuilder(GrGpu* gpu) : fCommands(gpu) { }
|
| + static GrCommandBuilder* Create(GrGpu* gpu, bool reorder);
|
|
|
| virtual ~GrCommandBuilder() {}
|
|
|
| @@ -69,6 +69,8 @@ protected:
|
| typedef GrTargetCommands::CopySurface CopySurface;
|
| typedef GrTargetCommands::XferBarrier XferBarrier;
|
|
|
| + GrCommandBuilder(GrGpu* gpu) : fCommands(gpu) {}
|
| +
|
| GrTargetCommands::CmdBuffer* cmdBuffer() { return fCommands.cmdBuffer(); }
|
| GrBatchTarget* batchTarget() { return fCommands.batchTarget(); }
|
|
|
|
|