Index: src/gpu/gl/GrGLEffect.h |
diff --git a/src/gpu/gl/GrGLEffect.h b/src/gpu/gl/GrGLEffect.h |
index 1cc3df24b09f8294c4757e1c55f74786ac86598c..0727372e62ddc7e7f7e082328f398185164d3b28 100644 |
--- a/src/gpu/gl/GrGLEffect.h |
+++ b/src/gpu/gl/GrGLEffect.h |
@@ -10,10 +10,11 @@ |
#include "GrBackendEffectFactory.h" |
#include "GrGLProgramEffects.h" |
-#include "GrGLShaderBuilder.h" |
#include "GrGLShaderVar.h" |
#include "GrGLSL.h" |
+class GrGLShaderBuilder; |
+ |
/** @file |
This file contains specializations for OpenGL of the shader stages declared in |
include/gpu/GrEffect.h. Objects of type GrGLEffect are responsible for emitting the |
@@ -43,12 +44,6 @@ public: |
typedef GrGLProgramEffects::TextureSampler TextureSampler; |
typedef GrGLProgramEffects::TextureSamplerArray TextureSamplerArray; |
- enum { |
- kNoEffectKey = GrBackendEffectFactory::kNoEffectKey, |
- // the number of bits in EffectKey available to GenKey |
- kEffectKeyBits = GrBackendEffectFactory::kEffectKeyBits, |
- }; |
- |
GrGLEffect(const GrBackendEffectFactory& factory) |
: fFactory(factory) |
, fIsVertexEffect(false) { |