2 * Copyright 2014 Google Inc.
4 * Use of this source code is governed by a BSD-style license that can be
5 * found in the LICENSE file.
8 #ifndef GrGLLegacyNvprProgramBuilder_DEFINED
9 #define GrGLLegacyNvprProgramBuilder_DEFINED
11 #include "GrGLProgramBuilder.h"
13 class GrGLLegacyNvprProgramBuilder : public GrGLProgramBuilder {
15 GrGLLegacyNvprProgramBuilder(GrGpuGL*, const GrOptDrawState&);
17 virtual GrGLProgram* createProgram(GrGLuint programID);
20 int addTexCoordSets(int count);
21 void emitTransforms(const GrFragmentStage&,
22 GrGLProcessor::TransformedCoordsArray* outCoords,
23 GrGLInstalledFragProc*);
27 typedef GrGLProgramBuilder INHERITED;