blob: f5e09f11a2ef3f24d82e55109ca06316aad9f401 [file] [log] [blame]
joshualitt30ba4362014-08-21 20:18:45 -07001/*
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
egdaniel2d721d32015-11-11 13:06:05 -08008#ifndef GrGLSLGeometryShaderBuilder_DEFINED
9#define GrGLSLGeometryShaderBuilder_DEFINED
joshualitt30ba4362014-08-21 20:18:45 -070010
egdaniel2d721d32015-11-11 13:06:05 -080011#include "GrGLSLShaderBuilder.h"
joshualitt30ba4362014-08-21 20:18:45 -070012
egdaniel8dcdedc2015-11-11 06:27:20 -080013class GrGLSLVarying;
joshualitt74077b92014-10-24 11:26:03 -070014
egdaniel2d721d32015-11-11 13:06:05 -080015class GrGLSLGeometryBuilder : public GrGLSLShaderBuilder {
joshualitt30ba4362014-08-21 20:18:45 -070016public:
egdaniel2d721d32015-11-11 13:06:05 -080017 GrGLSLGeometryBuilder(GrGLSLProgramBuilder* program);
joshualitt74077b92014-10-24 11:26:03 -070018
19private:
egdaniel0eafe792015-11-20 14:01:22 -080020 void onFinalize() override;
joshualitt30ba4362014-08-21 20:18:45 -070021
joshualitt74077b92014-10-24 11:26:03 -070022 friend class GrGLProgramBuilder;
23
egdaniel2d721d32015-11-11 13:06:05 -080024 typedef GrGLSLShaderBuilder INHERITED;
joshualitt30ba4362014-08-21 20:18:45 -070025};
26
27#endif