Index: src/gpu/effects/GrXfermodeFragmentProcessor.cpp |
diff --git a/src/gpu/effects/GrXfermodeFragmentProcessor.cpp b/src/gpu/effects/GrXfermodeFragmentProcessor.cpp |
index 73343e75c4c531c3b41ed71f2ee1a849b0a8cc76..0dbb6eb5346b98542fad49ed4d2567a946f4de6f 100644 |
--- a/src/gpu/effects/GrXfermodeFragmentProcessor.cpp |
+++ b/src/gpu/effects/GrXfermodeFragmentProcessor.cpp |
@@ -11,7 +11,8 @@ |
#include "effects/GrConstColorProcessor.h" |
#include "gl/GrGLFragmentProcessor.h" |
#include "gl/GrGLSLBlend.h" |
-#include "gl/builders/GrGLProgramBuilder.h" |
+#include "glsl/GrGLSLFragmentShaderBuilder.h" |
+#include "glsl/GrGLSLProgramBuilder.h" |
#include "SkGrPriv.h" |
class ComposeTwoFragmentProcessor : public GrFragmentProcessor { |
@@ -88,7 +89,7 @@ GrGLFragmentProcessor* ComposeTwoFragmentProcessor::onCreateGLInstance() const{ |
void GLComposeTwoFragmentProcessor::emitCode(EmitArgs& args) { |
- GrGLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder(); |
+ GrGLSLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder(); |
const ComposeTwoFragmentProcessor& cs = args.fFp.cast<ComposeTwoFragmentProcessor>(); |
const char* inputColor = nullptr; |
@@ -218,7 +219,7 @@ public: |
GLComposeOneFragmentProcessor(const GrProcessor& processor) {} |
void emitCode(EmitArgs& args) override { |
- GrGLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder(); |
+ GrGLSLFragmentBuilder* fsBuilder = args.fBuilder->getFragmentShaderBuilder(); |
SkXfermode::Mode mode = args.fFp.cast<ComposeOneFragmentProcessor>().mode(); |
ComposeOneFragmentProcessor::Child child = |
args.fFp.cast<ComposeOneFragmentProcessor>().child(); |