| Index: src/gpu/GrPendingFragmentStage.h
|
| diff --git a/src/gpu/GrPendingFragmentStage.h b/src/gpu/GrPendingFragmentStage.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dfa56886633fb0b5c3623b4237fed0c44f26951b
|
| --- /dev/null
|
| +++ b/src/gpu/GrPendingFragmentStage.h
|
| @@ -0,0 +1,27 @@
|
| +/*
|
| + * Copyright 2014 Google Inc.
|
| + *
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +
|
| +#ifndef GrPendingFragmentStage_DEFINED
|
| +#define GrPendingFragmentStage_DEFINED
|
| +
|
| +#include "GrStagedProcessor.h"
|
| +#include "GrPendingProgramElement.h"
|
| +
|
| +/**
|
| + * This a baked variant of GrFragmentStage, as recorded in GrPipeline
|
| + */
|
| +class GrPendingFragmentStage : public GrStagedProcessor<GrPendingProgramElement> {
|
| +public:
|
| + GrPendingFragmentStage(const GrFragmentStage& stage) {
|
| + INHERITED::fProc.reset(stage.processor());
|
| + }
|
| +
|
| +private:
|
| + typedef GrStagedProcessor<GrPendingProgramElement> INHERITED;
|
| +};
|
| +
|
| +#endif
|
|
|