| Index: src/gpu/glsl/GrGLSLXferProcessor.cpp
|
| diff --git a/src/gpu/gl/GrGLXferProcessor.cpp b/src/gpu/glsl/GrGLSLXferProcessor.cpp
|
| similarity index 95%
|
| rename from src/gpu/gl/GrGLXferProcessor.cpp
|
| rename to src/gpu/glsl/GrGLSLXferProcessor.cpp
|
| index bf333bb3178fc4efce33836db58e75ee660e258b..38f2e6a131d9acffec2e8d84b3e72626d3ee75d1 100644
|
| --- a/src/gpu/gl/GrGLXferProcessor.cpp
|
| +++ b/src/gpu/glsl/GrGLSLXferProcessor.cpp
|
| @@ -5,14 +5,14 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -#include "gl/GrGLXferProcessor.h"
|
| +#include "glsl/GrGLSLXferProcessor.h"
|
|
|
| #include "GrXferProcessor.h"
|
| #include "glsl/GrGLSLFragmentShaderBuilder.h"
|
| #include "glsl/GrGLSLProgramBuilder.h"
|
| #include "glsl/GrGLSLProgramDataManager.h"
|
|
|
| -void GrGLXferProcessor::emitCode(const EmitArgs& args) {
|
| +void GrGLSLXferProcessor::emitCode(const EmitArgs& args) {
|
| if (!args.fXP.willReadDstColor()) {
|
| this->emitOutputsForBlendState(args);
|
| return;
|
| @@ -78,7 +78,7 @@ void GrGLXferProcessor::emitCode(const EmitArgs& args) {
|
| }
|
| }
|
|
|
| -void GrGLXferProcessor::setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp) {
|
| +void GrGLSLXferProcessor::setData(const GrGLSLProgramDataManager& pdm, const GrXferProcessor& xp) {
|
| if (xp.getDstTexture()) {
|
| if (fDstTopLeftUni.isValid()) {
|
| pdm.set2f(fDstTopLeftUni, static_cast<float>(xp.dstTextureOffset().fX),
|
|
|