Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(184)

Side by Side Diff: src/gpu/glsl/GrGLSLGeometryShaderBuilder.h

Issue 1462123003: Create GrGLSLVaryingHandler class for program building (Closed) Base URL: https://skia.googlesource.com/skia.git@putCapsOnArgs
Patch Set: fix release builder Created 5 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/glsl/GrGLSLGeometryProcessor.cpp ('k') | src/gpu/glsl/GrGLSLGeometryShaderBuilder.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #ifndef GrGLSLGeometryShaderBuilder_DEFINED 8 #ifndef GrGLSLGeometryShaderBuilder_DEFINED
9 #define GrGLSLGeometryShaderBuilder_DEFINED 9 #define GrGLSLGeometryShaderBuilder_DEFINED
10 10
11 #include "GrGLSLShaderBuilder.h" 11 #include "GrGLSLShaderBuilder.h"
12 12
13 class GrGLSLVarying; 13 class GrGLSLVarying;
14 14
15 class GrGLSLGeometryBuilder : public GrGLSLShaderBuilder { 15 class GrGLSLGeometryBuilder : public GrGLSLShaderBuilder {
16 public: 16 public:
17 GrGLSLGeometryBuilder(GrGLSLProgramBuilder* program); 17 GrGLSLGeometryBuilder(GrGLSLProgramBuilder* program);
18 18
19 private: 19 private:
20 /* 20 void onFinalize() override;
21 * an internal call for GrGLFullProgramBuilder to add varyings
22 */
23 void addVarying(const char* name, GrSLPrecision precision, GrGLSLVarying*);
24
25 void onFinalize() override {}
26 21
27 friend class GrGLProgramBuilder; 22 friend class GrGLProgramBuilder;
28 23
29 typedef GrGLSLShaderBuilder INHERITED; 24 typedef GrGLSLShaderBuilder INHERITED;
30 }; 25 };
31 26
32 #endif 27 #endif
OLDNEW
« no previous file with comments | « src/gpu/glsl/GrGLSLGeometryProcessor.cpp ('k') | src/gpu/glsl/GrGLSLGeometryShaderBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698