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 GrGLSLGeometryShaderBuilder_DEFINED 9 #define GrGLSLGeometryShaderBuilder_DEFINED 10 11 #include "GrGLSLShaderBuilder.h" 12 13 class GrGLSLVarying; 14 15 class GrGLSLGeometryBuilder : public GrGLSLShaderBuilder { 16 public: 17 GrGLSLGeometryBuilder(GrGLSLProgramBuilder* program); 18 19 private: 20 void onFinalize() override; 21 22 friend class GrGLProgramBuilder; 23 24 typedef GrGLSLShaderBuilder INHERITED; 25 }; 26 27 #endif 28