Index: src/gpu/glsl/GrGLSLFragmentProcessor.h |
diff --git a/src/gpu/glsl/GrGLSLFragmentProcessor.h b/src/gpu/glsl/GrGLSLFragmentProcessor.h |
index 43614f2279164e7e8ad53ad6e1943ec027f0e8e4..9fc4a8c43642c02170c0c718a39edd4818937164 100644 |
--- a/src/gpu/glsl/GrGLSLFragmentProcessor.h |
+++ b/src/gpu/glsl/GrGLSLFragmentProcessor.h |
@@ -31,7 +31,7 @@ |
} |
typedef GrGLSLProgramDataManager::UniformHandle UniformHandle; |
- typedef GrGLSLProgramDataManager::UniformHandle SamplerHandle; |
+ typedef GrGLSLSampler::SamplerArray SamplerArray; |
/** Called when the program stage should insert its code into the shaders. The code in each |
shader will be in its own block ({}) and so locally scoped names will not collide across |
@@ -60,8 +60,8 @@ |
const char* outputColor, |
const char* inputColor, |
const GrGLSLTransformedCoordsArray& coords, |
- const SamplerHandle* texSamplers, |
- const SamplerHandle* bufferSamplers) |
+ const SamplerArray& texSamplers, |
+ const SamplerArray& bufferSamplers) |
: fFragBuilder(fragBuilder) |
, fUniformHandler(uniformHandler) |
, fGLSLCaps(caps) |
@@ -78,8 +78,8 @@ |
const char* fOutputColor; |
const char* fInputColor; |
const GrGLSLTransformedCoordsArray& fCoords; |
- const SamplerHandle* fTexSamplers; |
- const SamplerHandle* fBufferSamplers; |
+ const SamplerArray& fTexSamplers; |
+ const SamplerArray& fBufferSamplers; |
}; |
virtual void emitCode(EmitArgs&) = 0; |