OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "GrGLSLGeometryShaderBuilder.h" | 8 #include "GrGLSLGeometryShaderBuilder.h" |
9 #include "GrGLSLProgramBuilder.h" | 9 #include "GrGLSLProgramBuilder.h" |
10 #include "GrGLSLVarying.h" | 10 #include "GrGLSLVarying.h" |
11 | 11 |
12 GrGLSLGeometryBuilder::GrGLSLGeometryBuilder(GrGLSLProgramBuilder* program) | 12 GrGLSLGeometryBuilder::GrGLSLGeometryBuilder(GrGLSLProgramBuilder* program) |
13 : INHERITED(program) { | 13 : INHERITED(program) { |
14 | 14 |
15 } | 15 } |
16 | 16 |
17 void GrGLSLGeometryBuilder::onFinalize() { | 17 void GrGLSLGeometryBuilder::onFinalize() { |
18 fProgramBuilder->varyingHandler()->getGeomDecls(&this->inputs(), &this->outp
uts()); | 18 fProgramBuilder->varyingHandler()->getGeomDecls(&this->inputs(), &this->outp
uts()); |
19 } | 19 } |
20 | |
OLD | NEW |