1 /* 2 * Copyright 2015 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 GrGLVaryingHandler_DEFINED 9 #define GrGLVaryingHandler_DEFINED 10 11 #include "include/private/GrTypesPriv.h" 12 #include "src/gpu/gl/GrGLProgramDataManager.h" 13 #include "src/gpu/glsl/GrGLSLVarying.h" 14 15 class GrGLVaryingHandler : public GrGLSLVaryingHandler { 16 public: GrGLVaryingHandler(GrGLSLProgramBuilder * program)17 GrGLVaryingHandler(GrGLSLProgramBuilder* program) : INHERITED(program) {} 18 19 private: onFinalize()20 void onFinalize() override {} 21 22 friend class GrGLProgramBuilder; 23 24 using INHERITED = GrGLSLVaryingHandler; 25 }; 26 27 #endif 28