| 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 GrGLLegacyNvprProgramBuilder_DEFINED | |
| 9 #define GrGLLegacyNvprProgramBuilder_DEFINED | |
| 10 | |
| 11 #include "GrGLProgramBuilder.h" | |
| 12 | |
| 13 class GrGLLegacyNvprProgramBuilder : public GrGLProgramBuilder { | |
| 14 public: | |
| 15 GrGLLegacyNvprProgramBuilder(GrGpuGL*, const GrOptDrawState&, const GrGLProg
ramDesc&); | |
| 16 | |
| 17 virtual GrGLProgram* createProgram(GrGLuint programID); | |
| 18 | |
| 19 private: | |
| 20 int addTexCoordSets(int count); | |
| 21 void emitTransforms(const GrProcessorStage&, | |
| 22 GrGLProcessor::TransformedCoordsArray* outCoords, | |
| 23 GrGLInstalledProcessors*); | |
| 24 | |
| 25 int fTexCoordSetCnt; | |
| 26 | |
| 27 typedef GrGLProgramBuilder INHERITED; | |
| 28 }; | |
| 29 | |
| 30 #endif | |
| OLD | NEW |