Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(113)

Side by Side Diff: src/gpu/gl/builders/GrGLProgramBuilder.cpp

Issue 1896013003: Revert of Refactor how we store and use samplers in Ganesh (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « src/gpu/gl/GrGLUniformHandler.cpp ('k') | src/gpu/glsl/GrGLSLFragmentProcessor.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « src/gpu/gl/GrGLUniformHandler.cpp ('k') | src/gpu/glsl/GrGLSLFragmentProcessor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698