| Index: src/gpu/GrReorderCommandBuilder.h
|
| diff --git a/src/gpu/GrInOrderCommandBuilder.h b/src/gpu/GrReorderCommandBuilder.h
|
| similarity index 70%
|
| copy from src/gpu/GrInOrderCommandBuilder.h
|
| copy to src/gpu/GrReorderCommandBuilder.h
|
| index 164db92811cf20fd8289f54757eed2eb47ef2cce..99a2c11c27a2e12703997d240dfe0aae6cb26227 100644
|
| --- a/src/gpu/GrInOrderCommandBuilder.h
|
| +++ b/src/gpu/GrReorderCommandBuilder.h
|
| @@ -5,28 +5,36 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -#ifndef GrInOrderCommandBuilder_DEFINED
|
| -#define GrInOrderCommandBuilder_DEFINED
|
| +#ifndef GrReorderCommandBuilder_DEFINED
|
| +#define GrReorderCommandBuilder_DEFINED
|
|
|
| #include "GrCommandBuilder.h"
|
|
|
| -class GrInOrderCommandBuilder : public GrCommandBuilder {
|
| +class GrReorderCommandBuilder : public GrCommandBuilder {
|
| public:
|
| typedef GrCommandBuilder::Cmd Cmd;
|
| typedef GrCommandBuilder::State State;
|
|
|
| - GrInOrderCommandBuilder(GrGpu* gpu) : INHERITED(gpu) { }
|
| + GrReorderCommandBuilder(GrGpu* gpu) : INHERITED(gpu) {}
|
|
|
| Cmd* recordDrawBatch(State*, GrBatch*) override;
|
| Cmd* recordStencilPath(const GrPipelineBuilder&,
|
| const GrPathProcessor*,
|
| const GrPath*,
|
| const GrScissorState&,
|
| - const GrStencilSettings&) override;
|
| + const GrStencilSettings&) override {
|
| + SkFAIL("Unsupported\n");
|
| + return NULL;
|
| + }
|
| +
|
| Cmd* recordDrawPath(State*,
|
| const GrPathProcessor*,
|
| const GrPath*,
|
| - const GrStencilSettings&) override;
|
| + const GrStencilSettings&) override {
|
| + SkFAIL("Unsupported\n");
|
| + return NULL;
|
| + }
|
| +
|
| Cmd* recordDrawPaths(State*,
|
| GrInOrderDrawBuffer*,
|
| const GrPathProcessor*,
|
| @@ -37,7 +45,10 @@ public:
|
| GrDrawTarget::PathTransformType ,
|
| int,
|
| const GrStencilSettings&,
|
| - const GrDrawTarget::PipelineInfo&) override;
|
| + const GrDrawTarget::PipelineInfo&) override {
|
| + SkFAIL("Unsupported\n");
|
| + return NULL;
|
| + }
|
|
|
| private:
|
| typedef GrCommandBuilder INHERITED;
|
|
|