37 std::unique_ptr<GrGeometryProcessor::ProgramImpl> gpImpl,
38 std::unique_ptr<GrXferProcessor::ProgramImpl> xpImpl,
39 std::vector<std::unique_ptr<GrFragmentProcessor::ProgramImpl>> fpImpls,
41 size_t instanceStride);
68 struct RenderTargetState {
72 RenderTargetState() { this->invalidate(); }
74 fRenderTargetSize.
fWidth = -1;
87 RenderTargetState fRenderTargetState;
91 std::unique_ptr<GrGeometryProcessor::ProgramImpl> fGPImpl;
92 std::unique_ptr<GrXferProcessor::ProgramImpl> fXPImpl;
93 std::vector<std::unique_ptr<GrFragmentProcessor::ProgramImpl>> fFPImpls;
97 unsigned int fNumSamplers;
99 size_t fInstanceStride;