Index: src/gpu/effects/GrOvalEffect.cpp |
diff --git a/src/gpu/effects/GrOvalEffect.cpp b/src/gpu/effects/GrOvalEffect.cpp |
index 1bc6589a3eecdcc53ac0029749a2f620d00cd387..d34edbb7268393693dbc4630db5c41bf2da65574 100644 |
--- a/src/gpu/effects/GrOvalEffect.cpp |
+++ b/src/gpu/effects/GrOvalEffect.cpp |
@@ -11,7 +11,8 @@ |
#include "GrInvariantOutput.h" |
#include "SkRect.h" |
#include "gl/GrGLFragmentProcessor.h" |
-#include "gl/builders/GrGLProgramBuilder.h" |
+#include "glsl/GrGLSLFragmentShaderBuilder.h" |
+#include "glsl/GrGLSLProgramBuilder.h" |
#include "glsl/GrGLSLProgramDataManager.h" |
////////////////////////////////////////////////////////////////////////////// |
@@ -118,12 +119,12 @@ void GLCircleEffect::emitCode(EmitArgs& args) { |
const char *circleName; |
// The circle uniform is (center.x, center.y, radius + 0.5, 1 / (radius + 0.5)) for regular |
// fills and (..., radius - 0.5, 1 / (radius - 0.5)) for inverse fills. |
- fCircleUniform = args.fBuilder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
+ fCircleUniform = args.fBuilder->addUniform(GrGLSLProgramBuilder::kFragment_Visibility, |
kVec4f_GrSLType, kDefault_GrSLPrecision, |
"circle", |
&circleName); |
- GrGLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder(); |
+ GrGLSLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder(); |
const char* fragmentPos = fsBuilder->fragmentPosition(); |
SkASSERT(kHairlineAA_GrProcessorEdgeType != ce.getEdgeType()); |
@@ -290,12 +291,12 @@ void GLEllipseEffect::emitCode(EmitArgs& args) { |
const char *ellipseName; |
// The ellipse uniform is (center.x, center.y, 1 / rx^2, 1 / ry^2) |
// The last two terms can underflow on mediump, so we use highp. |
- fEllipseUniform = args.fBuilder->addUniform(GrGLProgramBuilder::kFragment_Visibility, |
+ fEllipseUniform = args.fBuilder->addUniform(GrGLSLProgramBuilder::kFragment_Visibility, |
kVec4f_GrSLType, kHigh_GrSLPrecision, |
"ellipse", |
&ellipseName); |
- GrGLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder(); |
+ GrGLSLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder(); |
const char* fragmentPos = fsBuilder->fragmentPosition(); |
// d is the offset to the ellipse center |