OLD | NEW |
1 /* | 1 /* |
2 * Copyright 2014 Google Inc. | 2 * Copyright 2014 Google Inc. |
3 * | 3 * |
4 * Use of this source code is governed by a BSD-style license that can be | 4 * Use of this source code is governed by a BSD-style license that can be |
5 * found in the LICENSE file. | 5 * found in the LICENSE file. |
6 */ | 6 */ |
7 | 7 |
8 #include "GrGLProgramBuilder.h" | 8 #include "GrGLProgramBuilder.h" |
9 | 9 |
10 #include "GrAutoLocaleSetter.h" | 10 #include "GrAutoLocaleSetter.h" |
(...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
226 GL_CALL(DeleteShader(shaderIDs[i])); | 226 GL_CALL(DeleteShader(shaderIDs[i])); |
227 } | 227 } |
228 } | 228 } |
229 | 229 |
230 GrGLProgram* GrGLProgramBuilder::createProgram(GrGLuint programID) { | 230 GrGLProgram* GrGLProgramBuilder::createProgram(GrGLuint programID) { |
231 return new GrGLProgram(fGpu, | 231 return new GrGLProgram(fGpu, |
232 this->desc(), | 232 this->desc(), |
233 fUniformHandles, | 233 fUniformHandles, |
234 programID, | 234 programID, |
235 fUniformHandler.fUniforms, | 235 fUniformHandler.fUniforms, |
236 fUniformHandler.fSamplers, | |
237 fVaryingHandler.fPathProcVaryingInfos, | 236 fVaryingHandler.fPathProcVaryingInfos, |
238 fGeometryProcessor, | 237 fGeometryProcessor, |
239 fXferProcessor, | 238 fXferProcessor, |
240 fFragmentProcessors); | 239 fFragmentProcessors, |
| 240 &fSamplerUniforms); |
241 } | 241 } |
OLD | NEW |