| OLD | NEW |
| (Empty) |
| 1 /* | |
| 2 * Copyright 2014 Google Inc. | |
| 3 * | |
| 4 * Use of this source code is governed by a BSD-style license that can be | |
| 5 * found in the LICENSE file. | |
| 6 */ | |
| 7 | |
| 8 #ifndef GrPendingFragmentStage_DEFINED | |
| 9 #define GrPendingFragmentStage_DEFINED | |
| 10 | |
| 11 #include "GrStagedProcessor.h" | |
| 12 #include "GrPendingProgramElement.h" | |
| 13 | |
| 14 /** | |
| 15 * This a baked variant of GrFragmentStage, as recorded in GrPipeline | |
| 16 */ | |
| 17 class GrPendingFragmentStage : public GrStagedProcessor<GrPendingProgramElement>
{ | |
| 18 public: | |
| 19 GrPendingFragmentStage(const GrFragmentStage& stage) { | |
| 20 INHERITED::fProc.reset(stage.processor()); | |
| 21 } | |
| 22 | |
| 23 private: | |
| 24 typedef GrStagedProcessor<GrPendingProgramElement> INHERITED; | |
| 25 }; | |
| 26 | |
| 27 #endif | |
| OLD | NEW |