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

Unified Diff: src/gpu/gl/builders/GrGLGeometryShaderBuilder.h

Issue 611653002: Cleanup of shader building system (Closed) Base URL: https://skia.googlesource.com/skia.git@solo_gp
Patch Set: Created 6 years, 2 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/gpu/gl/builders/GrGLFullProgramBuilder.cpp ('k') | src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/gpu/gl/builders/GrGLGeometryShaderBuilder.h
diff --git a/src/gpu/gl/builders/GrGLGeometryShaderBuilder.h b/src/gpu/gl/builders/GrGLGeometryShaderBuilder.h
index 833d31774f82f7f0a69d0921a4a98b95d9181b66..aa27f23f03f6d402900cf30736a8f171dc4771fc 100644
--- a/src/gpu/gl/builders/GrGLGeometryShaderBuilder.h
+++ b/src/gpu/gl/builders/GrGLGeometryShaderBuilder.h
@@ -10,12 +10,9 @@
#include "GrGLShaderBuilder.h"
-class GrGLProgramBuilder;
-
-class GrGLGeometryShaderBuilder : public GrGLFullShaderBuilder {
+class GrGLGeometryBuilder : public GrGLShaderBuilder {
public:
- GrGLGeometryShaderBuilder(GrGLFullProgramBuilder* program);
-private:
+ GrGLGeometryBuilder(GrGLProgramBuilder* program);
/*
* an internal call for GrGLFullProgramBuilder to add varyings
*/
@@ -25,8 +22,7 @@ private:
bool compileAndAttachShaders(GrGLuint programId, SkTDArray<GrGLuint>* shaderIds) const;
- friend class GrGLFullProgramBuilder;
- typedef GrGLFullShaderBuilder INHERITED;
+ typedef GrGLShaderBuilder INHERITED;
};
#endif
« no previous file with comments | « src/gpu/gl/builders/GrGLFullProgramBuilder.cpp ('k') | src/gpu/gl/builders/GrGLGeometryShaderBuilder.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698