| Index: src/gpu/GrReorderCommandBuilder.h
|
| diff --git a/src/gpu/GrReorderCommandBuilder.h b/src/gpu/GrReorderCommandBuilder.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..6052f3c8d0864e8b3d53e9fbaa9a985f7d657281
|
| --- /dev/null
|
| +++ b/src/gpu/GrReorderCommandBuilder.h
|
| @@ -0,0 +1,42 @@
|
| +/*
|
| + * Copyright 2015 Google Inc.
|
| + *
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +
|
| +#ifndef GrReorderCommandBuilder_DEFINED
|
| +#define GrReorderCommandBuilder_DEFINED
|
| +
|
| +#include "GrCommandBuilder.h"
|
| +
|
| +class GrReorderCommandBuilder : public GrCommandBuilder {
|
| +public:
|
| + typedef GrCommandBuilder::Cmd Cmd;
|
| + typedef GrCommandBuilder::State State;
|
| +
|
| + GrReorderCommandBuilder(GrFoo* foo, GrGpu* gpu, GrRenderTarget* dst) : INHERITED(foo, gpu, dst) {}
|
| +
|
| + Cmd* recordDrawBatch(GrBatch*, const GrCaps&) override;
|
| +
|
| + Cmd* recordDrawPaths(State*,
|
| + GrBufferedDrawTarget*,
|
| + const GrPathProcessor*,
|
| + const GrPathRange*,
|
| + const void*,
|
| + GrDrawTarget::PathIndexType,
|
| + const float transformValues[],
|
| + GrDrawTarget::PathTransformType ,
|
| + int,
|
| + const GrStencilSettings&,
|
| + const GrPipelineOptimizations&) override {
|
| + SkFAIL("Unsupported\n");
|
| + return nullptr;
|
| + }
|
| +
|
| +private:
|
| + typedef GrCommandBuilder INHERITED;
|
| +
|
| +};
|
| +
|
| +#endif
|
|
|