| Index: src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp
|
| diff --git a/src/gpu/gl/GrGLPrimitiveProcessor.cpp b/src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp
|
| similarity index 77%
|
| rename from src/gpu/gl/GrGLPrimitiveProcessor.cpp
|
| rename to src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp
|
| index 66d3892559dc16dde862f3e11f691deac8746d0b..abb3abcb0d10d467fe9f9dc374c7ce5466ca6557 100644
|
| --- a/src/gpu/gl/GrGLPrimitiveProcessor.cpp
|
| +++ b/src/gpu/glsl/GrGLSLPrimitiveProcessor.cpp
|
| @@ -5,13 +5,13 @@
|
| * found in the LICENSE file.
|
| */
|
|
|
| -#include "GrGLPrimitiveProcessor.h"
|
| +#include "GrGLSLPrimitiveProcessor.h"
|
|
|
| #include "glsl/GrGLSLProgramBuilder.h"
|
| #include "glsl/GrGLSLFragmentShaderBuilder.h"
|
|
|
| -SkMatrix GrGLPrimitiveProcessor::GetTransformMatrix(const SkMatrix& localMatrix,
|
| - const GrCoordTransform& coordTransform) {
|
| +SkMatrix GrGLSLPrimitiveProcessor::GetTransformMatrix(const SkMatrix& localMatrix,
|
| + const GrCoordTransform& coordTransform) {
|
| SkMatrix combined;
|
| // We only apply the localmatrix to localcoords
|
| if (kLocal_GrCoordSet == coordTransform.sourceCoords()) {
|
| @@ -32,9 +32,9 @@ SkMatrix GrGLPrimitiveProcessor::GetTransformMatrix(const SkMatrix& localMatrix,
|
| return combined;
|
| }
|
|
|
| -void GrGLPrimitiveProcessor::setupUniformColor(GrGLSLGPBuilder* pb,
|
| - const char* outputName,
|
| - UniformHandle* colorUniform) {
|
| +void GrGLSLPrimitiveProcessor::setupUniformColor(GrGLSLGPBuilder* pb,
|
| + const char* outputName,
|
| + UniformHandle* colorUniform) {
|
| GrGLSLFragmentBuilder* fs = pb->getFragmentShaderBuilder();
|
| SkASSERT(colorUniform);
|
| const char* stagedLocalVarName;
|
|
|