Index: src/gpu/gl/builders/GrGLProgramBuilder.cpp |
diff --git a/src/gpu/gl/builders/GrGLProgramBuilder.cpp b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
index 84e4a99be2c2bc12ed783919af632bb728d06b9f..8b1843c6cb52fb1d16851775b1dd73f7dd53905e 100644 |
--- a/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
+++ b/src/gpu/gl/builders/GrGLProgramBuilder.cpp |
@@ -7,14 +7,6 @@ |
#include "GrGLProgramBuilder.h" |
-#include "gl/GrGLGeometryProcessor.h" |
-#include "gl/GrGLGpu.h" |
-#include "gl/GrGLPathProcessor.h" |
-#include "gl/GrGLProgram.h" |
-#include "gl/GrGLSLPrettyPrint.h" |
-#include "gl/GrGLUniformHandle.h" |
-#include "gl/GrGLXferProcessor.h" |
-#include "glsl/GrGLSLCaps.h" |
#include "GrAutoLocaleSetter.h" |
#include "GrCoordTransform.h" |
#include "GrGLPathProgramBuilder.h" |
@@ -22,6 +14,13 @@ |
#include "GrTexture.h" |
#include "SkRTConf.h" |
#include "SkTraceEvent.h" |
+#include "gl/GrGLGeometryProcessor.h" |
+#include "gl/GrGLGpu.h" |
+#include "gl/GrGLPathProcessor.h" |
+#include "gl/GrGLProgram.h" |
+#include "gl/GrGLSLPrettyPrint.h" |
+#include "gl/GrGLXferProcessor.h" |
+#include "glsl/GrGLSLCaps.h" |
#define GL_CALL(X) GR_GL_CALL(this->gpu()->glInterface(), X) |
#define GL_CALL_RET(R, X) GR_GL_CALL_RET(this->gpu()->glInterface(), R, X) |
@@ -162,7 +161,7 @@ GrGLProgramDataManager::UniformHandle GrGLProgramBuilder::addUniformArray( |
if (outName) { |
*outName = uni.fVariable.c_str(); |
} |
- return GrGLProgramDataManager::UniformHandle::CreateFromUniformIndex(fUniforms.count() - 1); |
+ return GrGLProgramDataManager::UniformHandle(fUniforms.count() - 1); |
} |
void GrGLProgramBuilder::appendUniformDecls(ShaderVisibility visibility, |